Commit Graph

741 Commits

Author SHA1 Message Date
Wido den Hollander 97cad491ac CLOUDSTACK-4278: Fix resizing RBD volumes
Although libvirt supports resizing RBD volumes (and other formats) the
Java bindings (libvirt-java) don't.

Right now we use the Java bindings for librbd to handle the resizing for us,
but in the future this should be done by libvirt rather then these
Java bindings.
2013-08-14 16:17:37 +02:00
Sateesh Chodapuneedi 507f742213 CLOUDSTACK-4326 Adding VMware DC to legacy zone should not be allowed by API
Signed-off-by: Sateesh Chodapuneedi <sateesh@apache.org>
2013-08-14 12:51:01 +05:30
Wido den Hollander 5d9ce82f7d rbd: When the template is a RAW image, do not use a temp file when deploying 2013-08-14 13:28:21 +02:00
Vijayendra Bhamidipati c850f0a0e3 CLOUDSTACK-4139: [VMWARE][ZWPS] Failed to resize the volumes which are created from snapshot
Description:

    Support offline volume resize on ESX by creating a worker VM
    to attach the unattached volume to and then resize it.
2013-08-13 12:46:35 -07:00
Wei Zhou 7f63128061 Remove unused method deleteVbdByPath from KVM storage classes
(cherry picked from commit c3bc9d65dd)
2013-08-13 23:51:48 +02:00
Wido den Hollander 8a49f5a1a9 CLOUDSTACK-4114: Use RAW disk images for RBD instead of QCOW2 2013-08-13 16:26:02 +02:00
Prasanna Santhanam 0c294a50a8 CLOUDSTACK-4285: configure simulator API not discovered
- ManagementServerSimulatorImpl is not injected by default context.
configureSimulatorCmd API was loaded as part of it. Use
SimulatorManagerImpl as PluggableService to inject configureSimulator
API.
- Remove unused ManagementServerSimulatorImpl.
- Rename ConfigureSimulator to ConfigureSimulatorCmd for uniformity with
  all API Cmds

Signed-off-by: Prasanna Santhanam <tsp@apache.org>
2013-08-13 18:02:18 +05:30
Mike Tutkowski b04a2b561b CLOUDSTACK-4264 2013-08-12 21:57:55 -06:00
Kelven Yang edaa1c8927 CLOUDSTACK-3568: Refactore CloudStack/vCenter API session management facility to avoid the situation that multiple API requests are sharing with the same vCenter API session 2013-08-12 16:24:57 -07:00
Sateesh Chodapuneedi 2c9f073249 CLOUDSTACK-3905 [VMWARE]Can not add Standard/DVSwitch when Nexus global config is set to true
Make VSM specific input paramters optional while adding VMware cluster where no traffic chosen to use Nexus 1000v dvSwitch when cloud level vSwitch is Nexus 1000v.

Signed-off-by: Sateesh Chodapuneedi <sateesh@apache.org>
2013-08-12 22:41:38 +05:30
frank a6c9d699bc CLOUDSTACK-4224
UCS:UI: Delete UCS returns unknown API
2013-08-12 12:09:19 -07:00
Edison Su 73c57bf0b2 CLOUDSTACK-4253: add more logs for vmware storage related operations 2013-08-12 11:29:29 -07:00
Edison Su 8e5406f5ba CLOUDSTACK-4253: change the log message if copy template from secondary storage to primary storage failed 2013-08-12 11:01:56 -07:00
JijunLiu df1756b619 add doc for kvm cpu model
Signed-off-by: Wei Zhou <w.zhou@leaseweb.com>
(cherry picked from commit 8d53887cec)
2013-08-12 15:35:01 +02:00
Sateesh Chodapuneedi 32fd0c94a2 CLOUDSTACK-4246 VM deployment fails with global configuration parameter "vmware.nested.virtualization" enabled.
Signed-off-by: Sateesh Chodapuneedi <sateesh@apache.org>
2013-08-12 09:51:41 +05:30
Sateesh Chodapuneedi e4f9c2ac44 CLOUDSTACK-4155 [VMWARE] Failed to deploy VM with NPE when vmware.nested.virtualization is enabled to true
Signed-off-by: Sateesh Chodapuneedi <sateesh@apache.org>
2013-08-12 07:45:15 +05:30
Harikrishna Patnala a7dea8eecd CLOUDSTACK-3850: CPU cap should be per VM not per VCPU
Signed-off-by: Koushik Das <koushik@apache.org>
2013-08-12 08:37:37 +05:30
Mike Tutkowski 48cf866219 CLOUDSTACK-4235 2013-08-10 16:56:40 -06:00
Mike Tutkowski 8d36a4d80e CLOUDSTACK-4235 2013-08-10 16:54:33 -06:00
Edison Su 9f9cf2a7fc CLOUDSTACK-4216: fix extract volume for kvm 2013-08-09 20:52:08 -07:00
Edison Su 4cd76b5a99 CLOUDSTACK-4211: fix s3 on kvm 2013-08-09 19:43:45 -07:00
Kelven Yang 17715d7e77 CLOUDSTACK-3237: pass disk file name instead of full datastore path when setting up storage relocation specin order to safely locate the disk device 2013-08-09 17:28:35 -07:00
anthony f399372233 CLOUDSTACK-3495
CS used to access vnc server in xenserver dom0 to get VM console, now CS moves to use XenServer console API. getvncport plugin is not needed any more.
        remove the code related to getvncport in XenServer
2013-08-09 17:21:56 -07:00
Sanjay Tripathi f168df3472 CLOUDSTACK-2448: XenServer Guest OS Mapping Corrections. 2013-08-09 18:23:35 +05:30
Sanjay Tripathi c184925096 CLOUDSTACK-4187: 2.2.1 - 4.2 Upgrade: Few Guest OS Types information is inconsistent on the Upgraded Setup when compared with the fresh 4.2 Installation. 2013-08-09 15:01:41 +05:30
Wei Zhou dacc4e1a4f CLOUDSTACK-2729: increase waiting timeout for global file lock to 300 seconds
(cherry picked from commit 6d86af85ba)
2013-08-09 08:59:34 +02:00
Kelven Yang 4e7b1de45a CLOUDSTACK-3778: serialize configuration of port group at per-host level to prevent run-time race condition 2013-08-08 17:41:45 -07:00
Edison Su 2b32477aca CLOUDSTACK-3538: if passcmdline succeed, don't need to retry again, and increase the retry to 5 minutes at most 2013-08-08 17:19:34 -07:00
Min Chen 605376dc4d CLOUDSTACK-4190:[Object_store_refactor] volume should be deleted from
staging storage after successfule volume migration .
2013-08-08 16:08:50 -07:00
frank 89fa7a58ae CloudStack CLOUDSTACK-4160
listUcsManagers API needs to be able to take in id parameter
2013-08-08 14:55:15 -07:00
Edison Su 784a9d45d0 CLOUDSTACK-4106: fix volume related operations on vmware&s3 2013-08-08 12:34:54 -07:00
Wei Zhou ea50c6663f CLOUDSTACK-2729: use spd.getTargetPath instead of mount path to fix issue on local storage
(cherry picked from commit b2ed632396)
2013-08-08 16:43:23 +02:00
Sateesh Chodapuneedi caa9d27822 CLOUDSTACK-2558 Nexus configuration cleanup is not done when there is a failure while adding the Nexus enabled VMWARE cluster which is causing for NPE while readding the cluster with same configuration details
If cluster addition fails then cleaning up the Nexus VSM related to the cluster.

Signed-off-by: Sateesh Chodapuneedi <sateesh@apache.org>
2013-08-08 13:46:59 +05:30
Edison Su f6b66b94f0 CLOUDSTACK-4108: fix create template from snapshot for vmware& s3 2013-08-07 19:11:28 -07:00
Edison Su 26a5b76ee6 CLOUDSTACK-4109: fix upload volume to s3 for vmware 2013-08-07 18:25:59 -07:00
Kelven Yang ec5f2c1512 CLOUDSTACK-3869: fix merge conflicts 2013-08-07 17:44:40 -07:00
Kelven Yang 1d939930de CLOUDSTACK-3869: make new folder structure to work with Create/Delete/Attach/Detach commands 2013-08-07 17:44:40 -07:00
Min Chen ecfedf00bf CLOUDSTACK-4135: [Object_store_refactor] ISO attached to the guest vm
has wrong mount path.
2013-08-07 17:26:42 -07:00
Edison Su 6766c01fc6 CLOUDSTACK-3535: still maintain stop agent wont trigger HA 2013-08-07 14:42:04 -07:00
frank 8c46b13366 CloudStack CLOUDSTACK-4160
listUcsManagers API needs to be able to take in id parameter
2013-08-07 14:44:49 -07:00
Min Chen e87b1679cd CLOUDSTACK-3568: [Automation]Parallel deployment - Vmware - When
deploying 30 parallel Vms , we see ~15 Vms fail in
org.apache.cloudstack.storage.command.CopyCommand.
2013-08-07 11:13:56 -07:00
Kelven Yang 059e4b2ae0 CLOUDSTACK-3886: check in for review request https://reviews.apache.org/r/13008/ 2013-08-07 10:29:18 -07:00
Sateesh Chodapuneedi aa3558d103 CLOUDSTACK-3616 [VMware] Failed to create template from volume (volume is created from snapshot of data volume)
Signed-off-by: Sateesh Chodapuneedi <sateesh@apache.org>
2013-08-07 14:49:32 +05:30
Sateesh Chodapuneedi 30e12c289e CLOUDSTACK-3782 Data disk size is modified to KB from GB after it is attached to the instance
Signed-off-by: Sateesh Chodapuneedi <sateesh@apache.org>
2013-08-07 08:07:32 +05:30
Sanjay Tripathi 23aaeafd21 CLOUDSTACK-3723: System VM Template for XenServer has wrong guest OS type Information on the Database
Also added the debian 7 to debian 6 mapping in CitrixHelper file
to support the debian 7 template in XS 6.0, 6.0.2, 6,1 etc.
2013-08-07 12:23:44 +05:30
Wei Zhou 9ec8d48945 Revert "CLOUDSTACK-2729: don't refresh storage pool when accessing libvirt storage pool"
This reverts commit b50060be0c.

Signed-off-by: Wei Zhou <w.zhou@leaseweb.com>
2013-08-07 08:11:15 +02:00
Sateesh Chodapuneedi ffdde5cc2e CLOUDSTACK-4041 [ZWPSFailed to migrate a ROOT volume created on zone wide primary storage
While finding endpoint to send the migrate volume command, in case of zone wide storage pool, storage engine is picking a host among all connected hosts randomly. Hence a host may be from different cluster t

Signed-off-by: Sateesh Chodapuneedi <sateesh@apache.org>
2013-08-07 05:27:17 +05:30
Prasanna Santhanam 9d8152546d Squeak.
Signed-off-by: Prasanna Santhanam <tsp@apache.org>
2013-08-07 10:41:33 +05:30
Marcus Sorensen 3b2e62dbfa Revert "Summary: Use hypervisor as clock source for system vms"
removing due to CLOUDSTACK-2872, ubuntu 12.04's libvirt isn't new enough

This reverts commit c7ebcb4e8c.
2013-08-06 23:10:04 -06:00
Edison Su 33d06d25b8 CLOUDSTACK-3535: add kvminvestigator to investirage kvm host 2013-08-06 18:50:33 -07:00