Commit Graph

813 Commits

Author SHA1 Message Date
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