Commit Graph

762 Commits

Author SHA1 Message Date
Anthony Xu e2710f8bc5 CLOUDSTACK-4176
hot unplug NIC in VR when there is no ips on this NIC
Author:  Jayapal Reddy Uradi <jayapalreddy.uradi@citrix.com>

Reviewed-by: Anthony
2013-08-19 11:09:46 -07:00
Edison Su a2951b57b1 fix unit test 2013-08-19 10:29:21 -07:00
Rajesh Battala 6c593b0b16 fix for kvm test failure 2013-08-19 17:46:09 +05:30
Nitin Mehta 836ee4b139 CLOUDSTACK-4386
KVM - Create template from volume
Vmware - Create template from volume / Create template from snapshot
send the physical size in the copycommand which accordingly will populate template store ref and the usage_event tables with the right physical size
Signed off by : nitin mehta<nitin.mehta@citrix.com>
2013-08-19 17:16:38 +05:30
Nitin Mehta a22d92f1bb CLOUDSTACK-4386
XS Creating templates from volume - send the physical size in the copycommand which accordingly will populate template store ref and the usage_event tables with the right physical size
Signed off by : nitin mehta<nitin.mehta@citrix.com>
2013-08-19 16:03:03 +05:30
Mice Xia 8b6eeedaae fix CLOUDSTACK-3234 modify the logics of retrieving Vmsnapshot volume path 2013-08-19 15:29:09 +08:00
Kelven Yang b73c449914 CLOUDSTACK-4390, CLOUDSTACK-4358: Enable full-clone deployment by default for VMware. Apply keep-alive kick for all outstanding vCenter sessions 2013-08-18 23:13:00 -07:00
Sateesh Chodapuneedi e280d24d18 Merge branch '4.2' of https://git-wip-us.apache.org/repos/asf/cloudstack into 4.2 2013-08-19 05:54:01 +05:30
Prasanna Santhanam 3d39716c8f CLOUDSTACK-4384: Switch back to CLOUD_DB after simulator processing
Simulator should revert back to CLOUD_DB after its operations on
SIMULATOR_DB or the cloudstack connections go to the simulator instead
of cloud.

Signed-off-by: Prasanna Santhanam <tsp@apache.org>
2013-08-19 10:39:54 +05:30
Sateesh Chodapuneedi dd5ea8f2aa CLOUDSTACK-4385 : [ZWPS]Across the cluster live migration of VM on zone wide primary storage pool fails
If all the VM's volumes are on zone wide primary storage pool then live migration of the VM would not involve storage migration. Hence MigrateVM API would be called against MigrateVMWithVolume. So far PrepareForMigrationCommand handled scenarios of VM moving across hosts within a cluster, but with zone wide primary storage in picture this command need to handle scenarios of VM moving across clusters. Try to find the VM in datacenter if not found within cluster.

Signed-off-by: Sateesh Chodapuneedi <sateesh@apache.org>
2013-08-19 05:52:13 +05:30
Edison Su 3c40e8bb3f CLOUDSTACK-4338: fix NPE if create volume failed 2013-08-18 16:26:08 -07:00
Edison Su 4277bcf8f4 CLOUDSTACK-3229: if delete snapshots on staging area failed, still treat backup snapshot as succeed. And modify snapshot delete logic on devcloud 2013-08-17 13:20:58 -07:00
Edison Su b359152679 CLOUDSTACK-4325: add more test cases for zone wide storage pool allocator 2013-08-17 12:37:49 -07:00
Edison Su ca678a8742 CLOUDSTACK-4300: possible fix: cputune feature is only available after 0.9.0, so start vm can fail on rhel 6.1 2013-08-17 00:19:03 -07:00
Likitha Shetty 2e0ad8e573 CLOUDSTACK-4352. In VMWare, to resize an offline volume we create a worker vm. When a volume is being shrinked or when it is resized to the same size delete the vm before returning. 2013-08-16 14:36:32 +05:30
Min Chen f856c359eb CLOUDSTACK-3229: deleteSnapshotBackup failed on devcloud due to
different SR mount point on devcloud hypervisor.
2013-08-15 17:52:44 -07:00
Min Chen f197a7b79f CLOUDSTACK-2583: [Object_Store_Refactor] Failed to create snapshot from
root disk of a guest VM.
2013-08-14 18:01:09 -07:00
Edison Su a247be70d8 CLOUDSTACK-4315: add code to clean up libvirt data structure after plug/unplug, that's the only thing I can do to fix this kind of libvirt issue 2013-08-14 16:57:14 -07:00
Kelven Yang 950672ef8c CLOUDSTACK-4288: Fix the way that VmwareClient is using vSphere 5.1 SDK which caused huge memory footprint 2013-08-14 15:00:07 -07:00
Edison Su 6abc3da828 CLOUDSTACK-4318: clean up snapshot stored in staging area, after backup snapshot to object store 2013-08-14 14:58:01 -07:00
Edison Su 1451b8b642 CLOUDSTACK-4324: need to clean up snapshot_store_ref, if creating snapshot failed. 2013-08-14 14:18:22 -07:00
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