Commit Graph

398 Commits

Author SHA1 Message Date
Amogh Vasekar 7bbad0491f CLOUDSTACK-6671: Fixing NPE when a mapping is missing
Adding missing KVM mappings

Testing Done:
Local testing with removing CentOS mapping and launch a VM.

Signed-off-by: Nitin Mehta <nitin.mehta@citrix.com>
2014-05-21 08:27:27 -07:00
Murali Reddy 4c01d81d80 CLOUDSTACK-6668: OVS distributed routing: ensure bridge is deleted when
last VM from the VPC is deleted on a host

OVS distributed routing: ensure bridge is deleted when last VM from the
VPC is deleted on a host. This fix ensures that bridge is
destroyed.
2014-05-14 16:39:55 +05:30
Sanjay Tripathi e7e1ae254a CLOUDSTACK-6649: CS is not giving the system-wide capacity for GPU reosurce. 2014-05-14 15:02:59 +05:30
Sheng Yang 4adee0a55e CLOUDSTACK-6607: Correct the result of VpcNetworkUsage
Blank or not shouldn't be used to indicate command is failure or not.
2014-05-12 18:25:18 -07:00
Harikrishna Patnala f784f274be CLOUDSTACK-6551: [Automation] Failed to revert vm snapshot in xen 2014-05-08 16:35:19 +05:30
Amogh Vasekar 8f37841eb4 CLOUDSTACK-6358: As a part of supporting dynamic guest OS defined by user, removing the hard-coded dependencies.
This patch is for XenServer.

1. Local testing on XenServer 6.0.2
2. Successfully got up system VMs
3. Successfully created a CentOS VM
4. Created VM snapshot and reverted to snapshot
5. Manipulated guest_os_hypervisor table for mapping, and checked for correct propagation of platform emulator.

Signed off by :- Nitin Mehta<nitin.mehta@citrix.com>
2014-05-07 14:55:35 -07:00
Jayapal 99f75db1eb Fixed vpc private gateway backend issues 2014-05-07 16:17:22 +05:30
Anthony Xu 1b74f3f3c8 disable XS event 2014-04-29 11:48:12 -07:00
Mike Tutkowski 934056097a CLOUDSTACK-6170 Needed to add logic for XS 6.2 + XS62ESP1 + XS62ESP1004 2014-04-28 23:31:08 -06:00
Sanjay Tripathi 5a49bb2db7 Fix log messages for vgpu creation. 2014-04-26 17:26:37 +05:30
Sanjay Tripathi 0f755ee4fc CLOUDSTACK-6452: Failed to Live Migrate VM across clusters with Xenserver 6.2.5. 2014-04-25 16:38:03 +05:30
Murali Reddy 771d1346d1 CLOUDSTACK-6505: XenServer bridge for the OVS tunnel network gets reset
on the hosts in the xenserver cluster

this fix ensures that brige is created only once so that openflow rules
configured on the bridge are not lost.
2014-04-25 14:46:25 +05:30
Anthony Xu 3f74cb2feb enable event on XS 6.2 + FOX 2014-04-21 14:26:40 -07:00
Sheng Yang 3578c7137f CLOUDSTACK-6047: Make aggregation command timeout configurable
In case some environments has different performance or we found some commands
would took too long to execute, one global configuration item is introduced to
specify "time out in seconds per one command in aggregation commands".

By default it's 3 seconds. If admin feel it's too long, it can be adjust to as
low as 1 seconds, which runs still well in my machine.
2014-04-18 23:27:12 -07:00
Murali Reddy 192856fdcc add support for sequence numner in the VPC topology updates and VPC
routing policy updates
2014-04-18 18:14:13 +05:30
Anthony Xu d814383265 destroy event when the task is done 2014-04-15 17:04:37 -07:00
Anthony Xu 46f6b26d49 disable XAPI event 2014-04-15 11:42:53 -07:00
Koushik Das 800e9dbac5 CLOUDSTACK-6402: Fix StopCommand so that VMs are not removed accidentally as part of vmsync
Added a new flag 'checkBeforeCleanup' to StopCommand based on which check is done to see if VM is running in HV host.
If VM is running then in this case it is not stopped and the operation bails out.
Also modified the MS code to call the StopCommand with appropriate value for the flag based on the context.
Currently it is only set to 'true' when called from the new vmsync logic based on powerstate of VM. For rest it
is set to 'false' meaning no change in behaviour.
2014-04-14 16:12:35 +05:30
Anthony Xu 3854e5b106 add log and comment 2014-04-11 16:16:49 -07:00
Anthony Xu 1c10d00ec9 avoid to create same FileSR on host more than once 2014-04-10 17:47:27 -07:00
Anthony Xu 9f44909e63 use event instead of poll for xapi async call in XS 6.2 and above to reduce the pressure on XAPI 2014-04-09 13:45:04 -07:00
Sanjay Tripathi 127196e95d CLOUDSTACK-6366: add vgpuTypes details in vgpu_types table. 2014-04-09 18:22:06 +05:30
Anthony Xu 7cd4319eed Destroy unplugged VIFs before creating a VIF for a VM 2014-04-08 16:13:58 -07:00
Murali Reddy faf52530cc CLOUDSTACK-6356: OVS: tunnel networks does not work across the XenServer
clusers

across the poll members an internal network created is visible to al the
members but bridge is not necessariliy created. This fix enables
plugging a temp VIF connected to internal network to dom0 and then
unplug-it. this action creates a bridge on the host of the network.
2014-04-08 19:06:15 +05:30
Alex Huang ec102ec960 Revert "Applied Tina's patches for removing the xapi jar"
This reverts commit 1439c69b7e.
2014-04-08 00:03:18 -07:00
Sheng Yang f29e4e21eb CLOUDSTACK-6314: Use SSH commands for Xen VR execution
Instead of XAPI, which would make XenServer unnecessary busy.
2014-04-07 11:22:30 -07:00
Anthony Xu 3ae9b57131 clean up xenserver resource code 2014-04-04 16:02:17 -07:00
Anthony Xu 7ada9b2b1b clean up xenserver resource code 2014-04-04 14:08:23 -07:00
Sanjay Tripathi 38fc91801b CLOUDSTACK-6339: Getting exception while adding XenServer625 host. 2014-04-04 12:32:56 +05:30
Sanjay Tripathi 0d77094141 CLOUDSTACK-6268: Unable to get GPU stats, You tried to call a method that does not exist. 2014-04-04 11:28:28 +05:30
Alex Huang 1439c69b7e Applied Tina's patches for removing the xapi jar 2014-04-02 13:59:43 -07:00
Mike Tutkowski fe0c9768cf CLOUDSTACK-6170 (VMware root-disk support for managed storage) 2014-03-31 00:10:49 -06:00
Anthony Xu 36fa355f0b Add support for XS6.2 Fox hotfix 2014-03-28 16:54:18 -07:00
Anthony Xu 60563d395f Revert "change below file names for consistency"
This reverts commit 9493b4d65c.
2014-03-28 12:15:02 -07:00
Anthony Xu 9493b4d65c change below file names for consistency
Xenserver625Resource.java  ->  XenServer625Resource.java
Xenserver625StorageProcessor.java  ->  XenServer625StorageProcessor.java
2014-03-28 11:46:26 -07:00
Edison Su 392dc817af fix build 2014-03-27 17:38:42 -07:00
Edison Su f1ff060bb9 fix devcloud reboot issue: should not start heartbeat for devcloud
Conflicts:

	plugins/hypervisors/xen/src/com/cloud/hypervisor/xen/resource/CitrixResourceBase.java
2014-03-27 17:38:41 -07:00
edison a4af8ece8a CLOUDSTACK-5370: delete snapshot on primary storage in case of backup snapshot failed. 2014-03-27 17:38:38 -07:00
Edison Su a3736f26f1 CLOUDSTACK-5264: add delta snapshot for existing xenserver
Conflicts:

	plugins/hypervisors/xen/src/com/cloud/hypervisor/xen/resource/XenServerStorageProcessor.java
2014-03-27 17:38:37 -07:00
Edison Su 810e090ad4 CLOUDSTACK-5395: mark snapshot_store_ref as destroyed in case of backup snapshot failed
Conflicts:

	plugins/hypervisors/xen/src/com/cloud/hypervisor/xen/resource/XenServerStorageProcessor.java
2014-03-27 17:38:37 -07:00
Edison Su fc3e413584 fix devcloud: after devcloud vm itself reboot, local storage's name label is changed to orignal 2014-03-27 17:38:36 -07:00
Edison Su 5b16ccb50e fix devcloud: user template's guest os type is changed
Conflicts:

	plugins/hypervisors/xen/src/com/cloud/hypervisor/xen/resource/XcpOssResource.java
2014-03-27 17:38:36 -07:00
Edison Su 3d0b739950 fix devcloud router start
Conflicts:

	plugins/hypervisors/xen/src/com/cloud/hypervisor/xen/resource/XcpOssResource.java
2014-03-27 17:38:36 -07:00
Edison Su f84fc12d26 fix devcloud: get back whatever we have before
Conflicts:

	plugins/hypervisors/xen/src/com/cloud/hypervisor/xen/resource/XcpOssResource.java
	scripts/vm/hypervisor/xenserver/xcposs/patch
2014-03-27 17:38:36 -07:00
Anthony Xu bdc4ffc010 add more log for creating XS pool network 2014-03-27 15:32:48 -07:00
Anthony Xu 91a3365184 Fixed a typo 2014-03-27 10:46:03 -07:00
Anthony Xu b4d3aac74d get rrd through http directly instead of xapi plugins 2014-03-26 18:02:52 -07:00
Anthony Xu 15d798d882 in XS, joining a host to a XS pool may not work as expected, especially when there are multiple nics, binding devices.
admin needs to check if the right nics are binded togather, if network are propagated to the new host correctly before adding this host to CS.
2014-03-26 16:42:17 -07:00
Anthony Xu cb61d35ad0 set nosubdir for NFS SR 2014-03-26 14:57:39 -07:00
Anthony Xu 296dc861bc in XenServer, host eject may fail due to diffent reasons, it's hard for CS to handle all failure.
in CS, removing a host means CS will not manage the host, admin needs to eject the host from XS pool outside of CS
2014-03-26 14:21:28 -07:00