Commit Graph

23090 Commits

Author SHA1 Message Date
rayeesn a5261cee3f CLOUDSTACK-6390: System vm failed to build with openssl installation error provided fix to skip interactive installation 2014-04-11 11:02:08 -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
Wido den Hollander f02c5fd47b debian: cloudstack-management requires libmysql-java for SQL connection 2014-04-11 09:03:00 +02:00
Wido den Hollander 545ba71d7f debian: Add JNA flag when starting agent
In some situations local JNA libraries might prevent the agent
from starting.
2014-04-11 09:02:59 +02:00
Chris Suich 68ec715d85 CLOUDSTACK-5785: VM display name cell not updated upon detaching volume from VM 2014-04-10 22:23:04 -04:00
Anthony Xu 1c10d00ec9 avoid to create same FileSR on host more than once 2014-04-10 17:47:27 -07:00
Jessica Wang fc8e79c17b CLOUDSTACK-6380: UI > hosts page > add new action "Disable Host", "Enable Host". 2014-04-10 13:57:21 -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
Wido den Hollander 4e9810dd51 CLOUDSTACK-4665: Depend on rados-java 0.1.4
This fixes the ArrayIndexOutOfBounds exception during the
removal of a RBD based volume
2014-04-10 15:58:45 +02:00
Kishan Kavala 6094e00797 CLOUDSTACK-6376: Return empty list when network tier has no ACL list associated. 2014-04-10 15:29:01 +05:30
Kishan Kavala 635b69676a CLOUDSTACK-6374: Remove entries from lb vm map when lb rule apply fails 2014-04-10 15:28:55 +05:30
Kishan Kavala 295fa84d4d CLOUDSTACK-6371: Set snapshot size in copycommand answer during snapshot backup 2014-04-10 15:28:48 +05:30
Sanjay Tripathi 5e9b25bad0 CLOUDSTACK-6373: listHost API response is not listing all the details of vgpuType. 2014-04-10 13:55:25 +05:30
Anthony Xu 87f6c6f88a remove unused code 2014-04-09 14:03:01 -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 0ae35ddbfd Fix for commented package error. 2014-04-09 21:50:16 +05:30
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
Jayapal a9accd331a CLOUDSTACK-6364 Added ip address validation
Also updated to assign vm primary ip to lb rule when vmid is passed virtualmachineid
and vm id ip details in vmidipmap
2014-04-09 17:42:16 +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
Ashutosh K 35b2bd50e0 CLOUDSTACK-6147: Adding automation tests for Dynamic Compute
Offering
2014-04-09 15:15:19 +05:30
Koushik Das e0a2fcabcc CLOUDSTACK-6362: Parallel VM deployment - direct.agent.thread.cap needs to default to 1.0 (currently 0.1) to allow for parallel Vm deployments. 2014-04-09 11:41:43 +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
rayeesn c2b74c4534 updating cloud-usage.rc file to start cloudstack-usage server with java 1.7 2014-04-08 16:07:43 -07:00
rayeesn 1ec77ec4b8 CLOUDSTACK-6360: adding mysql-connector to class path and it will be loaded while starting cloudstack-usage 2014-04-08 16:07:20 -07:00
Jessica Wang a512b7847a CLOUDSTACK-6342: UI - Load Balancing page - LB rules - VM + IP Address - fix a bug that vmidipmap was not sent to API. 2014-04-08 15:36:49 -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
Frank.Zhang 1b8df426e2 CLOUDSTACK-6155
Baremetal agent RPM missing in spec file
(cherry picked from commit 20efa0c8a6)

Signed-off-by: Animesh Chaturvedi <animesh@apache.org>
2014-04-08 15:31:24 -07:00
Frank.Zhang e082059050 CLOUDSTACK-6155
Baremetal agent RPM missing in spec file
(cherry picked from commit c1806bd873)

Signed-off-by: Animesh Chaturvedi <animesh@apache.org>
2014-04-08 15:31:24 -07:00
Jessica Wang 588acac769 CLOUDSTACK-6342: UI - Load Balancing page - LB rules - VM + IP Address - remove action - pass vmidipmap instead of virtualmachineids to removeFromLoadBalancerRule API where IP Address is specified for this VM under this LB rule. 2014-04-08 14:04:30 -07:00
Jessica Wang 220309c649 CLOUDSTACK-6342: UI - Load Balancing - LB rule listing - pass lbvmips=true to listLoadBalancerRuleInstances API and display "VM + IP Address" under each LB rule. 2014-04-08 11:12:10 -07:00
Sanjay Tripathi 156fb7ebd3 CLOUDSTACK-6357: Not able to select GPU card in case of GPU-passthrough. 2014-04-08 22:08:17 +05:30
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
Jayapal bea7305bb0 CLOUDSTACK-6353 Fixed listing vm ip details for lb rule 2014-04-08 12:54:07 +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
Min Chen 3661e67fd1 CLOUDSTACK-6350: IAM - Listing of VM using uuid when owner account of
this Vm is deleted results is VM not being returned.But list VM with
listAll=true is able to return this VM.
2014-04-07 22:23:21 -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
Murali Reddy c312078aac fix typos in xenserver scripts to setup OVS tunnel network 2014-04-07 17:27:55 +05:30
Jayapal 83c13ce1b9 CLOUDSTACK-6327 updated uuid to id mapping 2014-04-07 16:30:11 +05:30
Sanjay Tripathi ce966c8b38 CLOUDSTACK-6345: Non gpu enabled VMs are getting deployed in gpu enabled Hosts. 2014-04-07 16:05:58 +05:30
Marcus Sorensen df4a21ae3d add conntrackd logrotate for systemvms, dont start conntrackd on logrotate if it isnt running 2014-04-05 00:34:09 -06:00
Min Chen ffd877595d Fix RoleBasedQuerySelector to handle new listAll semantics. If
listAll=true, show all resources that caller (or impersonater) has
ListEntry access type; otherwise, show all resources that caller (or
impersonater) has UseEntry access type.
2014-04-04 18:44:59 -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