Commit Graph

1845 Commits

Author SHA1 Message Date
Anthony Xu d814383265 destroy event when the task is done 2014-04-15 17:04:37 -07:00
Chris Suich 47208dc23d CLOUDSTACK-6422: Fixed errors with simulator VM snapshot delete and revert 2014-04-15 17:23:21 -04:00
Anthony Xu 46f6b26d49 disable XAPI event 2014-04-15 11:42:53 -07:00
Anshul Gangwar b78aee8f11 CLOUDSTACK-6401: [hyper-v] fixed correct host state, if host is up and hyper-v agent is down then the host state will be shown as up(actual host state) in cloudstack 2014-04-15 12:24:57 +05:30
Anshul Gangwar d45ee3ef21 CLOUDSTACK-6400: [hyper-v] [vmsync] fixed occasionally VM is not deleted from back-end when it is stopped from Hyper-V manager and then destroyed-expunged from CS and returning only power VMs for vmsync 2014-04-15 12:24:38 +05:30
Anshul Gangwar 36103633c2 CLOUDSTACK-6398:[hyper-v] changed auto shutdown and startup actions of VMs to shutdown and nothingauto shutdown and startup actions of VMs to shutdown and nothing so that they are consistent with cloudstack auto shudown and startup behavior 2014-04-15 12:24:13 +05:30
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
Koushik Das aa3cb3f041 CLOUDSTACK-6363: [Automation] jetty server is going OOM for simulator 2014-04-14 09:18:55 +05:30
Anthony Xu 3854e5b106 add log and comment 2014-04-11 16:16:49 -07:00
Wido den Hollander 8764692b27 rbd: Use qemu-img to backup up a RBD snapshot to Secondary Storage
This reduces the amount of time and storage it takes dramatically. We no longer
do a full copy, but a sparse copy. The destination image is still in RAW
format, but we only copy over used blocks.

Qemu is also better in doing this then us doing it in Java code.
2014-04-11 15:20:49 +02:00
Wido den Hollander 95f6f65312 rbd: Use qemu-img to convert from QCOW2 templates to RBD directly.
This saves the step of writing to a temporary image in /tmp first before
writing to RBD.

This is possible due to a new version in librbd. With the rbd_default_format
setting we can now force qemu-img to create format 2 RBD images.

This is available since Ceph version 0.67.5 (Dumpling).
2014-04-11 15:20:34 +02:00
Anthony Xu 1c10d00ec9 avoid to create same FileSR on host more than once 2014-04-10 17:47:27 -07:00
Wido den Hollander 75792bf08e CLOUDSTACK-4665: Check if a snapshot is protected before trying to unprotect
Otherwise a RBDException will be thrown with the message that the snapshot
isn't protected.

Conflicts:

	plugins/hypervisors/kvm/src/com/cloud/hypervisor/kvm/storage/LibvirtStorageAdaptor.java
2014-04-10 15:59:12 +02:00
Kishan Kavala 295fa84d4d CLOUDSTACK-6371: Set snapshot size in copycommand answer during snapshot backup 2014-04-10 15:28:48 +05:30
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
Harikrishna Patnala 68c80e28c0 CLOUDSTACK-6253: Optimizing VR alerts getting algorithm In addition to this a new configuration parameter is added router.alerts.check.interval defaulted to 30minutes to check for alerts in Virtual Router 2014-04-09 18:11:24 +05:30
Murali Reddy 2ad98da095 CLOUDSTACK-6365: support virtual host and ssl in rabbitMQ event bus
with this fix, virtual host on the AMQP server can be specified. Also
SSL can be used for connection between management server and AMQP
servers.
2014-04-09 17:33:48 +05:30
Anshul Gangwar fb9c2cc2d4 CLOUDSTACK-6262: Fixed network throttling in hyper-v, Now network rate parameter is honored in hyper-v. Network rate parameter now set the max bandwidth of nic on hyper-v 2014-04-09 11:23:42 +05:30
Anthony Xu 73c4e83ace make sure volumeUuid is not full path 2014-04-08 16:35:31 -07:00
Anthony Xu 7cd4319eed Destroy unplugged VIFs before creating a VIF for a VM 2014-04-08 16:13:58 -07:00
Frank.Zhang 68cf2ba0ef BUG-ID: CS-19152
[upgrade] Baremetal 4.2.0 -> 4.3. After upgrade, destroy baremetal instance fail

BUG-ID: CS-19150
[upgrade] Baremetal 4.2.0 -> 4.3. After upgrade, unable to start baremetal instance

BUG-ID: CS-19149
[upgrade] Baremetal 4.2.0 -> 4.3. After upgrade, baremetal host remain in Disconnected state. But instance associated with baremetal host is running.

BUG-ID: CS-19151
[upgrade] Baremetal 4.2.0 -> 4.3. After upgrade, unable to reboot baremetal instance

BUG-ID: CS-19156
[upgrade] Baremetal 4.2.0 -> 4.3. After upgrade, unable to stop baremetal instance

reviewed-by: edison
(cherry picked from commit 3787579d29)

Signed-off-by: Animesh Chaturvedi <animesh@apache.org>

Conflicts:

	plugins/hypervisors/baremetal/src/com/cloud/baremetal/manager/BareMetalDiscoverer.java
	plugins/hypervisors/baremetal/src/com/cloud/baremetal/networkservice/BareMetalResourceBase.java
	plugins/hypervisors/baremetal/src/com/cloud/baremetal/networkservice/BaremetalPxeManagerImpl.java
	server/src/com/cloud/deploy/DeploymentPlanningManagerImpl.java
2014-04-08 15:31:24 -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
Anshul Gangwar 6dacfa9efd CLOUDSTACK-6289: fixed storage migration failing in case of hyper-v if there are multiple disks attached to VM 2014-04-08 14:58:02 +05:30
Anshul Gangwar 9bc19bc241 CLOUDSTACK-6326: fixed password visible in plain text in some of commands in Hyper-v Agent logs 2014-04-08 14:17:38 +05:30
Anshul Gangwar 3f84cc6c60 CLOUDSTACK-6325: [hyper-v] fixed cleaning of bin and obj directories when building with mono, they were not cleaning up and resulting in use of stale dlls in some cases 2014-04-08 14:17:27 +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
sbalineni 00f0d9b3c8 internal lb support for contrail vpc
Signed-off-by: Alena Prokharchyk <alena.prokharchyk@citrix.com>
2014-04-04 15:35:58 -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
Koushik Das 00a4e6ada9 CLOUDSTACK-6286: [Automation] VM deployment is failing in simulator
Added AggregationContolCommand to simulator
2014-04-03 11:48:06 +05:30
Abhinandan Prateek 8ad6b3c7e9 Revert "CLOUDSTACK-6286: added FinishAggregationCommand and StartAggregationCommand to simulator"
This reverts commit 9ddfbe1128. REverting as the dependency is not there in git.
2014-04-03 10:23:42 +05:30
Alex Huang 1439c69b7e Applied Tina's patches for removing the xapi jar 2014-04-02 13:59:43 -07:00
Abhinandan Prateek 1586f419dc CLOUDSTACK-6286: added FinishAggregationCommand and StartAggregationCommand to simulator 2014-04-02 20:42:49 +05:30
Min Chen 4367d1406b Change AccountManagerImpl.checkAccess to invoke SecurityChecker
interface that takes multiple controlled entities.
2014-04-01 17:31:56 -07:00
Min Chen c89eb73304 Remove usage of sameOwner checkAccess invocation, and convert to
OperateEntry IAM check.
2014-04-01 17:31:56 -07:00
Anshul Gangwar 90117f09e8 CLOUDSTACK-6288: Changing default ImageFormat to vhdx for hyper-v and allowing registration of vhdx format templates.
Signed-off-by: Devdeep Singh <devdeep@gmail.com>
2014-04-01 13:40:21 +05:30
Mike Tutkowski e7724e90ba CLOUDSTACK-6170 (VMware root-disk support for managed storage) 2014-04-01 00:05:34 -06:00
Mike Tutkowski ac352388b0 CLOUDSTACK-6170 (VMware root-disk support for managed storage) 2014-03-31 21:17:11 -06:00
Sheng Yang c388afc8cd CLOUDSTACK-6309: Fix timeout in KVM when execute VR commands
Timeout is in seconds rather than milliseconds.
2014-03-31 11:29:02 -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
Mike Tutkowski 553630b1b9 CLOUDSTACK-6170 (VMware root-disk support for managed storage) 2014-03-28 12:52:56 -06: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
Hugo Trippaers 2ade6b9188 Fix pom relative path
(cherry picked from commit 15b6860c68)
2014-03-28 09:36:21 +01:00
Edison Su 392dc817af fix build 2014-03-27 17:38:42 -07:00