anthony
1660ae3890
bug 11800: update DB for upgrade
2011-11-07 14:50:02 -08:00
anthony
067e3f9fbf
bug 11903: create local link when host is connected
...
status 11903: resolved fixed
2011-11-04 12:00:35 -07:00
Abhinandan Prateek
8ff85363a8
removing some debug statements
2011-11-04 18:14:19 +05:30
Abhinandan Prateek
7144ebcaef
bug 11800: checking for null value
2011-11-04 18:14:19 +05:30
Abhinandan Prateek
28a44b3d64
bug 11791: added different flavours of windows 2003
2011-11-04 13:35:31 +05:30
root
55b5a5c5cd
Revert "bug 11791: adding Hypervisor type to list os API"
...
This reverts commit 78e01c3061795e5d3d80db8a147b5f1c8a836a3c.
2011-11-03 14:53:32 +05:30
keshav
9f72703ad2
Account for high-order/low-order integers being signed.
2011-11-01 15:52:03 -07:00
Abhinandan Prateek
e54fc08862
bug 11791: adding Hypervisor type to list os API
2011-11-01 17:56:28 +05:30
keshav
d245a4f188
Changed F5 usage code to work with iControl API's high-order/low-order integers.
2011-10-31 16:22:44 -07:00
keshav
6534620208
When deleting proxy ARP entries, first check that no static/source/destination NAT rules use them
2011-10-27 15:09:28 -07:00
Abhinandan Prateek
edbce41065
bug 11701: cleanup, and vm host sync on delta
2011-10-27 16:23:04 +05:30
Kelven Yang
9ad7c23074
bug 9614: let root volume use IDE disk controller by default to ensure backwards compatibility with existing CloudStack deployments
2011-10-24 15:28:10 -07:00
Kelven Yang
231640f279
bug 9614: enable SCSI device controller for root disk.(default root disk controller type can be conifgured through global configuration)
2011-10-21 18:44:21 -07:00
Abhinandan Prateek
2f5adb0baf
bug 11701: cleanup of spurious message
2011-10-19 13:44:05 +05:30
Abhinandan Prateek
aead68e544
bug 11701: removed host sync from startup, now only cluster sync happens from master during startup
2011-10-18 14:58:15 +05:30
Abhinandan Prateek
b15b0ddd0f
bug 11701: separating vm sync from ping and doing it per cluster from pool master
2011-10-17 18:31:00 +05:30
Kelven Yang
faa3622187
bug 11716: save VMware local datastore info to local storage to support multiple local datastores per host situation
2011-10-14 17:13:22 -07:00
Abhinandan Prateek
7f3a4c700c
bug 11701: additional classes for VM sync detached from ping
2011-10-14 13:49:42 +05:30
Abhinandan Prateek
438b01344d
bug 11675: minor update
2011-10-14 12:27:39 +05:30
Abhinandan Prateek
b1de219cd9
bug 11675: enable RHEL 6 for XCP 1.1
2011-10-14 11:42:04 +05:30
Kelven Yang
4c6110e020
bug 11585: using pre-allocated NIC approach to support additional public interfaces for VMware
2011-10-11 15:13:55 -07:00
Chiradeep Vittal
668754b845
bug 11336: compression to allow number of cidrs to scale beyond 8k
2011-10-06 17:37:31 -07:00
anthony
c74f34eadd
bug 11552:
...
This bug also happens in XenServer 5.6 FP1, but this issue is hidden by bug 11564.
There are two issues here
1. in XenServer 5.6 FP1/SP2, when a slave host is down ( NIC is unplugged), and before master detect the slave is down( it takes about 10 minutes),
template.createClone doesn't work sometime, it complains can not contact slave host, looks like XenServer try to start VM on this slave host, we use VM.create instead, we can specify host in VM.create API, so it will not try to connect the slave
2. in XenServer 5.6 FP1/SP2, host tag is introduced into VDI, however in HA case, VM.reset_powerstate and VM.destory doesn't remove this host tag, when CloudStack try to start this VM on other host, XenServer complains this VDI is already used ( or mount as RW). CloudStack will manually remove the host tage in VDI in FenceCommand
status 11552: resolved fixed
2011-09-28 20:47:49 -07:00
anthony
59bb2e0289
bug 10579: disable pool vm sync and disable hostTrack for XenServer,
...
status 10579: resolved fixed
reviewed-by: alex
2011-09-28 20:47:49 -07:00
anthony
38015c879c
bug 11564,11569: when host is down, host.enable or pool.sync_db hangs, remove them from critical path.
...
after this fix, 11552 HA can be seen in XenServer 11552 FP1
This patch should fix 11569 as well
status 11564,11569: resolved fixed
2011-09-28 12:26:37 -07:00
Kelven Yang
6fdbd309c3
bug 10971: support vSphere 5
2011-09-26 12:15:26 -07:00
Edison Su
2615848b80
bug 11455: add vpn support in kvm
...
Reviewed-by:Murali.Reddy@citrix.com
2011-09-16 11:16:11 -07:00
Kelven Yang
c0f472b768
bug 11286: ensure VM is powered off before we tear down devices
2011-09-14 16:14:32 -07:00
Kelven Yang
8c56bfffbc
add VmwareInvestigator and VmwareFencer, use short worker VM name to avoid vCenter truncation
2011-09-14 15:14:36 -07:00
Nitin
cc1c6347da
bug 10856: On account delete the snapshots were not getting deleted from secondary storage. This was happenning because we were passing incorrect folder path of the snapshot.
2011-09-14 18:58:15 +05:30
Naredula Janardhana Reddy
01ac82d9d6
bug 11372:
...
Added two New values "all" and "default" to global config "network.loadbalancer.haproxy.stats.visibility" . With this change, it can take six possible value:
global - stats visible from public network.
guest-network - stats visible only to guestnetwork.
link-local - stats visible only to link local network(for xen and kvm).
disabled - stats disabled.
all - stats available on public,guest and link-local. (Newly added)
default - stats availble on the serving http port, this does need any specific http port.(Newly added)
Except default and disabled, all the rest of 4 need to configure the stats port.
2011-09-14 17:09:21 +05:30
Murali Reddy
17caf6ea25
bug 11023: recalcuate vmware template virtuali size while upgrate above 2.2.10
2011-09-14 15:39:41 +05:30
Sheng Yang
49031c5563
bug 11307: Mark router as to-be-stopped, rather than force stop it.
...
Force stop the router would release all the resources it used, but router may
still running. Add a column "stop_pending" in the database, and stop it when the
router come back.
Admin would able to choose to force destroy such router, then recover the
network using restartNetwork command with cleanup=false.
2011-09-14 03:05:09 -07:00
Sheng Yang
fb28c0a63a
bug 11307: Add BumpUpPriorityCommand
2011-09-14 03:04:26 -07:00
Sheng Yang
59eb1b0ba1
bug 11307: Add Bumped field for domain_router
...
Only used for redundant virtual router.
2011-09-14 03:03:47 -07:00
Sheng Yang
9e0ee10e9f
bug 11307: Let CheckRouterAnswer() parse the return result
2011-09-14 03:03:00 -07:00
anthony
bb44208ae3
bug 11275:
...
remove heartbeat entry for this Primary Storage, when put this Primary Storage into maintenance mode
create heartbeat entry for this Primary Storage, when cancal maintenance for this Primary Storage
status 11275: resolved fixed
2011-09-13 22:11:37 -07:00
Kelven Yang
9e45b74baa
bug 11380: taking VM snapshot is moved to do it at the same time when backup it to secondary storage, wait snapshot MOR really appears in vCenter until we continue.
2011-09-13 17:22:06 -07:00
Edison Su
44418a053c
fix firwall/nat rule
2011-09-13 15:06:14 -07:00
alena
0c127890ea
bug 11036: resource count update is refactored
...
status 11036: resolved fixed
1) Use row locks instead of global lock when update resource_count table. When update resource_count for account, make sure that we lock account+all related domains
2) Insert resource_count records for account/domain at the moment when account/domain is created.
3) As a part of DB upgrade, insert missing resource_count records for all non-removed accounts/domains
2011-09-13 10:47:55 -07:00
Kelven Yang
968c1d11ea
bug 11386: check host status before responding StartupCommand
2011-09-08 17:39:59 -07:00
Kelven Yang
bfdcf23939
bug 11384: deprecate vmware.guest.nic.device.type global configuration variable
2011-09-08 16:10:02 -07:00
anthony
a369885a0f
1. added timeout in Command Class, then each command can configure itself timeout, if timeout is not configed, use the default timeout , which is 30 minute
...
2. added following configurable timeout
PrimaryStorageDownloadWait("Storage", TemplateManager.class, Integer.class, "primary.storage.download.wait", "10800", "In second, timeout for download template to primary storage", null),
CreateVolumeFromSnapshotWait("Storage", StorageManager.class, Integer.class, "create.volume.from.snapshot.wait", "10800", "In second, timeout for create template from snapshot", null),
CopyVolumeWait("Storage", StorageManager.class, Integer.class, "copy.volume.wait", "10800", "In second, timeout for copy volume command", null),
CreatePrivateTemplateFromVolumeWait("Storage", UserVmManager.class, Integer.class, "create.private.template.from.volume.wait", "10800", "In second, timeout for CreatePrivateTemplateFromVolumeCommand", null),
CreatePrivateTemplateFromSnapshotWait("Storage", UserVmManager.class, Integer.class, "create.private.template.from.snapshot.wait", "10800", "In second, timeout for CreatePrivateTemplateFromSnapshotCommand", null),
BackupSnapshotWait("Storage", StorageManager.class, Integer.class, "backup.snapshot.wait", "10800", "In second, timeout for BackupSnapshotCommand", null),
2011-09-07 19:18:36 -07:00
Kelven Yang
36eb4651ce
Add explicit setting to VMware VM to allow device hot-plug
2011-09-07 18:23:37 -07:00
Kelven Yang
7ce4aa1d23
bug 11362: Make VM network adapter device type be selectable based on VM-specific details
2011-09-07 17:58:01 -07:00
Kelven Yang
a73f41e56c
bug 11360: make user_vm_details generic to all VMs instead of user-only VMs, VM details info will be carried down to hypervisor resource
2011-09-07 15:37:50 -07:00
keshav
37c74b35ab
Support for inline SRX/F5.
2011-09-07 14:18:42 -07:00
Chiradeep Vittal
2027049fd6
if the xenserver host cannot do bridge firewalling do not attempt to retry the security rule updat
2011-09-07 13:58:49 -07:00
Chiradeep Vittal
6465ccff1b
WIP : memory based queueing
2011-09-07 13:58:46 -07:00
anthony
9842a9aed3
bug 10078:
...
1. introduce migratewait in global configuration, the default value is 1 hour
2. use async xapi VM migration API
status 10078: resolved fixed
2011-09-07 12:40:30 -07:00
alena
e5ac59afbc
bug 10550: check if the network is configured properly on the backend before vm creation
...
status 10550: resolved fixed
2011-09-02 16:58:55 -07:00
Kelven Yang
30e6ab28e4
bug 11324: merge fix from branch 2.2.10
2011-09-02 15:36:35 -07:00
anthony
238ffd0a9b
put getConnection into try
2011-09-02 15:00:58 -07:00
Kelven Yang
d7a1af950a
bug 11296 : merge fix from 2.2.10
2011-09-01 11:56:17 -07:00
anthony
452957f653
try pingXenServer first before getConnect in getCurrentStatus
2011-09-01 11:48:53 -07:00
Edison Su
08713f46b0
add other linux guest support
2011-08-31 16:16:39 -07:00
alena
e1fb9e394c
Print exception stack trace when catch generic exception in CitrixResourceBase
2011-08-30 16:30:04 -07:00
Edison Su
de4e5ea02f
bug 10557: allow haproxy works on specific nic on vmware
...
status 10557: resolved,fixed
2011-08-26 16:24:31 -07:00
Naredula Janardhana Reddy
701ddbfc1d
bug 11253:
...
Added New value "link-local" to global config network.loadbalancer.haproxy.stats.visibility . With this change it can take new parameter "link-local" value apart from the existing 3 values global,guest-network,disabled.
global - stats visible from public network
guest-network - stats visible only to guestnetwork.
link-local - stats visible only to link local network
disabled - stats disabled.
2011-08-26 15:25:45 +05:30
Kelven Yang
7212f6ca39
bug 11269: merge fix from 2.2.10
2011-08-25 18:27:53 -07:00
Kelven Yang
80f5b9683f
bug 11162: merge fix from 2.2.10 premium
2011-08-25 15:37:26 -07:00
prachi
089b23f7a6
Bug 9921 - template tags
...
Changes:
- CreateTemplate and RegisterTemplate now support adding a template tag. It is a string value. This is root-admin only action - only admin can add template tags.
- ListTemplates will return the template tag in response.
- HostAllocator changed to use template tag along with the existing tag on service offering. If both tags are present, allocator now finds hosts satisfying both tags. If no hosts have both tags, allocation will fail.
- DB changes to add new column to vm_template table.
- DB upgrade changes for upgrade from 2.2.10 to 2.2.11
Conflicts:
server/src/com/cloud/api/ApiResponseHelper.java
server/src/com/cloud/template/TemplateAdapterBase.java
server/src/com/cloud/vm/UserVmManagerImpl.java
2011-08-25 15:18:18 -07:00
Nitin
d3c43178b2
bug 11076: Improve logging - dont login the password in the logs.
...
status 11076: resolved fixed
2011-08-25 16:23:46 +05:30
Nitin
a4fd7ebcac
bug 11077: Improve logging - put in the hostid and hostname on which the vm launches.
...
status 11077: resolved fixed
2011-08-25 16:00:45 +05:30
Kelven Yang
c3b6fd561c
bug 11230, 11229: merge fix from 2.2.10 branch, fix Eclipse project settings for premium-move
2011-08-24 15:16:59 -07:00
frank
ca7fb65ca2
full opensource
2011-08-23 19:23:49 -07:00
Alex Huang
f27dadd0f6
Added environment variables to not control pool master
2011-08-23 15:48:39 -07:00
Kelven Yang
98212299b5
Move VMware/Premium Secondary storage VM to opensource
2011-08-23 14:33:05 -07:00
alena
ac47c87c40
bug 11204: when search for domR/dhcp, include Role to the corresponding search to eliminate getting "LB" network element in the response
...
status 11204: resolved fixed
2011-08-23 12:00:50 -07:00
Alex Huang
b04e14425d
bug 11212: disable vlan network when vm fails to start. It is still possible for it leak. For example, if the VM object wasn't constructed and we already failed but those cases are less likely and it's not absolutely necessary to disable vlan.
2011-08-23 11:27:39 -07:00
frank
cbbf80cee3
Use class.getSimpleName in ResourceListener
2011-08-19 17:06:58 -07:00
frank
7091a8f00a
Introduce new resource life cycle listener
...
add files
2011-08-19 17:06:23 -07:00
frank
18f87c2108
Merge branch 'cvm' into 2.2.y
...
Conflicts:
api/src/com/cloud/api/BaseCmd.java
cloud.spec
core/src/com/cloud/storage/template/DownloadManagerImpl.java
server/src/com/cloud/agent/manager/AgentManagerImpl.java
server/src/com/cloud/configuration/DefaultComponentLibrary.java
server/src/com/cloud/deploy/FirstFitPlanner.java
server/src/com/cloud/host/dao/HostDao.java
server/src/com/cloud/network/security/SecurityGroupListener.java
server/src/com/cloud/storage/StorageManagerImpl.java
server/src/com/cloud/storage/listener/StoragePoolMonitor.java
server/src/com/cloud/vm/UserVmManagerImpl.java
server/src/com/cloud/vm/VirtualMachineManagerImpl.java
utils/src/com/cloud/utils/SerialVersionUID.java
2011-08-19 16:08:35 -07:00
alena
c82a373327
Defined missing length field for VO classes
2011-08-17 15:10:07 -07:00
alena
08a1809a49
bug 11133: field size should be declared in VO object explicitly if it's greater than 255
...
status 11133: resolved fixed
2011-08-16 14:38:49 -07:00
alena
d72200bbfc
If one of the static nat rules failed to apply on the backend, the end result should be false
2011-08-15 10:18:44 -07:00
anthony
02aec3b3ef
revert pool vm sync to host vm sync in startupcommand in 2.2.10.
...
then XenServer upgrade is supported in 2.2.10
2011-08-15 10:18:10 -07:00
alena
803255b0ba
bug 11029: db upgrade from 2.2.9 to 2.2.10 includes firewall_rule upgrade now
...
status 11029: resolved fixed
Commit also includes the following:
* map firewall rule to pf/lb/staticNat/vpn when the firewall rule is created as a part of pf/lb/staticNat/vpn rule creation
* when delete firewall rules, also delete related firewall rule
2011-08-15 10:18:09 -07:00
Nitin
5ef0c96e70
bug 11096: ExtractTemplate - For private template choose the correct sec storage host id since its not present in all the sec storage now.
2011-08-12 14:30:34 +05:30
Chiradeep Vittal
51af0db682
mass merge 2.2.10
2011-08-11 16:41:52 -07:00
alena
278f2a401f
bug 10561: intermediate checkin for enable/disableStaticNat.
...
1) On enableStaticNat command we actually send the command to the backend (we used to just upgrade the DB in the past). The backend command carries sourceIp and destIp, and creates IP to IP mapping on the domR.
2) On disableStaticNat for the Ip address in addition to cleaning up port ranges, we also delete IP to IP mapping on the domR.
2011-08-11 10:19:22 -07:00
Edison Su
58862d702c
Revert "bug 11064: add setfirewallrule for kvm"
...
This reverts commit c9f36c07c22dfe3073efc1dfc0cae290fc6e880a.
2011-08-10 17:59:13 -07:00
anthony
3a2790abdc
bug 10504: what is happening is, MS use vdi-copy to create template from volume, then get physical size from XAPI, the physical size might be wrong , SR-SCAN is needed before getting physical size to make XenServer pick the new physical size.
...
status 10504: resolved fixed
2011-08-10 17:46:48 -07:00
anthony
5639b5eab8
bug 10504: what is happening is, MS use vdi-copy to create template from volume, then get physical size from XAPI, the physical size might be wrong , SR-SCAN is needed before getting physical size to make XenServer pick the new physical size.
...
status 10504: resolved fixed
2011-08-10 17:45:46 -07:00
Edison Su
790af4dcb3
bug 11064: add setfirewallrule for kvm
2011-08-10 16:18:03 -07:00
Edison Su
fde6e7d801
bug 11064: add setfirewallrule for kvm
2011-08-10 16:17:00 -07:00
alena
fe3dd44bec
ICMP protocol is supported in createFirewallRule command only; throw an error if specified in createPF/StaticNat/LB rule
2011-08-10 12:56:25 -07:00
alena
32b53351ff
Fixed response processing in createFirewallRule command
2011-08-10 11:36:34 -07:00
Naredula Janardhana Reddy
f5011189c8
bug 10561: code cleanup
2011-08-10 18:15:07 +05:30
Naredula Janardhana Reddy
a9eb14c42e
bug 10561: backend added for CreateFirewallRule and deleteFirewallRule
2011-08-10 17:06:42 +05:30
anthony
bfe3fd2a8f
bug 11046: fixed a typo, otherwise Other PV doesn't work
...
status 11046: resolved fixed
2011-08-09 19:58:10 -07:00
anthony
e5e85d05e9
bug 10695: add XCP 1.0 support
...
status 10695: resolved fixed
Conflicts:
core/src/com/cloud/hypervisor/xen/resource/CitrixHelper.java
2011-08-09 19:51:32 -07:00
Abhinandan Prateek
cd94e6ac25
bug 10731: reverting changes for source cidr for portforwading and loadbalancing rules
2011-08-09 16:05:20 +05:30
Chiradeep Vittal
179368ea32
get lb working on advanced mode again
2011-08-09 01:02:58 -07:00
Chiradeep Vittal
924961d898
merge nectarine
2011-08-08 21:45:37 -07:00
alena
06d007337a
bug 10561: intermidiate checkin for FirewallRuleFeature
...
1) Added new apis: createFirewallRule, deleteFirewallRule, listFirewallRules
2) Modified existing apis - added boolean openFirewall parameter to createPortForwardingRule/createIpForwardingRule/createRemoteAccessVpn. If parameter is set to true, open firewall on the domR before creating an actual PF rule there
Modified backend calls appropriately.
3) Schema changes for firewall_rules table:
* startPort/endPort can be null now
* added icmp_type, icmp_code fields (can be not null only when protocol is icmp)
4) Added new manager - FirewallManagerImpl
2011-08-08 20:59:40 -07:00
Chiradeep Vittal
c5a999757a
get ELB working on 2.2.8
2011-08-08 17:58:35 -07:00
Chiradeep Vittal
8277584b8a
merge ELB / nectarine branch
2011-08-08 15:20:56 -07:00
frank
c6fba0fd42
Bug 8966 - Oracle VM (OVM) support
...
OCFS2 support -- prepare OCFS2 nodes
2011-08-05 17:46:29 -07:00
Kelven Yang
19567df49b
bug 10765: fix step 2 - programming VNC server to let it chose the right keyboard mapping to load into
2011-08-04 18:27:45 -07:00