Wido den Hollander
bba9801cf7
CLOUDSTACK-4423: Do not always append .qcow2 to volume names when copying
...
Disk images are not always in the QCOW2 format, so don't assume that the
filename will always and in .qcow2
(cherry picked from commit 93b40b0ca6 )
Signed-off-by: animesh <animesh@apache.org>
2013-08-27 12:55:51 -07:00
Bharat Kumar
fa6da31e15
CLOUDSTACK-4498 we should not reserve memory and cpu for vmware VMs if the vmware.reserve.cpu and vmware.reserve.mem are set to false.
...
Conflicts:
plugins/hypervisors/vmware/src/com/cloud/hypervisor/vmware/resource/VmwareResource.java
Signed-off-by: Jayapal <jayapal@apache.org>
(cherry picked from commit f701831713 )
Signed-off-by: animesh <animesh@apache.org>
2013-08-27 12:55:14 -07:00
Kelven Yang
21f631f13d
CLOUDSTACK-3237: add disk chain sync logic to handle out-of-band chain changes that could happen in storage live migration and VM snapshot operations
2013-08-27 12:53:20 -07:00
Dave Cahill
a55c75bbd2
CLOUDSTACK-4466: Fix DHCP capability breaks in 4.2 for MidoNet
...
A recent code change in NetworkManager causes NullPointerExceptions when DHCP
capability list is null.
The commit which made the NetworkManager change also changed the VirtualRouter
to not use null for the capabilitylist, but didn't make this change for other
network devices, causing DHCP to fail on MidoNet.
This change also updates the MidoNet plugin to use the most recent MidoNet API.
Signed-off-by: Sheng Yang <sheng.yang@citrix.com>
2013-08-27 12:08:04 -07:00
Kelven Yang
8099a6e200
CLOUDSTACK-4522: check before we do dynamic casting
2013-08-27 11:38:31 -07:00
Wido den Hollander
93b40b0ca6
CLOUDSTACK-4423: Do not always append .qcow2 to volume names when copying
...
Disk images are not always in the QCOW2 format, so don't assume that the
filename will always and in .qcow2
2013-08-27 18:35:23 +02:00
Bharat Kumar
f701831713
CLOUDSTACK-4498 we should not reserve memory and cpu for vmware VMs if the vmware.reserve.cpu and vmware.reserve.mem are set to false.
...
Conflicts:
plugins/hypervisors/vmware/src/com/cloud/hypervisor/vmware/resource/VmwareResource.java
Signed-off-by: Jayapal <jayapal@apache.org>
2013-08-27 19:42:07 +05:30
Kelven Yang
046a8a889a
CLOUDSTACK-3237: add disk chain sync logic to handle out-of-band chain changes that could happen in storage live migration and VM snapshot operations
2013-08-26 18:11:22 -07:00
Edison Su
816772a001
CLOUDSTACK-4459:
...
Libvirt reports:
org.libvirt.LibvirtException: Storage volume not found: no storage vol
with matching name
in some cases, if the volume is created on one kvm host, while accessed
from other host.
It's possible due to concurrent access(read/write) storage.
The current fix is to try serveral times, and wait for 30 seconds for
each retry.
If the issue still there, then need to sync the storage pool access
2013-08-26 18:11:25 -07:00
Edison Su
5878607970
CLOUDSTACK-4459:
...
Libvirt reports:
org.libvirt.LibvirtException: Storage volume not found: no storage vol
with matching name
in some cases, if the volume is created on one kvm host, while accessed
from other host.
It's possible due to concurrent access(read/write) storage.
The current fix is to try serveral times, and wait for 30 seconds for
each retry.
If the issue still there, then need to sync the storage pool access
2013-08-26 18:07:18 -07:00
Edison Su
a23322bf20
Merge branch '4.2-forward' into 4.2
2013-08-26 16:18:12 -07:00
Mike Tutkowski
13a415fe8a
Not everyone wants to use Mutual CHAP with VMware - make it optional.
2013-08-26 15:33:39 -06:00
Edison Su
38d8a84ebc
CLOUDSTACK-4436: in case of older kvm host, we'd better try serveral times to make sure we passed cmdline parameters to system vms
2013-08-26 14:00:24 -07:00
Min Chen
f0000814bd
CLOUDSTACK-4468:template created from snapshot is destroyed once we
...
restart management server.
2013-08-26 11:54:05 -07:00
Edison Su
3c69710778
CLOUDSTACK-4459: need to sychronize create storage pool, otherwise, we can create the same pool with the same uuid in parallel
2013-08-26 11:15:30 -07:00
Kelven Yang
834fdc8859
CLOUDSTACK-3237: acknowledge the behind-back VMDK disk consolidation happend in vCenter after storage live migration
2013-08-23 17:38:34 -07:00
Min Chen
c6928f2f53
CLOUDSTACK-4480: Handle DestroyCommand in VmwareResource to evict
...
unused template from primary storage pool.
2013-08-23 14:36:11 -07:00
Wido den Hollander
829dbaccb4
CLOUDSTACK-4424: Download RBD volume created from snapshot
...
This failed due to a RAW -> QCOW2 conversion (again).
The current code still makes to much assumptions about everything always
being QCOW2 while that is not always true.
2013-08-23 16:23:17 +02:00
frank
8ae3de5331
CloudStack CLOUDSTACK-1365
...
UI support for baremetal PXE server
CloudStack CLOUDSTACK-1364
UI support for baremetal DHCP server
2013-08-22 17:27:27 -07:00
Animesh Chaturvedi
06f28722b6
Updating pom.xml version numbers for release 4.2.0
...
Signed-off-by: Animesh Chaturvedi <animesh@Animesh-LinuxDev.citrite.net>
2013-08-22 17:15:42 -07:00
frank
667776a9e4
CloudStack CLOUDSTACK-1365
...
UI support for baremetal PXE server
CloudStack CLOUDSTACK-1364
UI support for baremetal DHCP server
2013-08-22 16:31:31 -07:00
Edison Su
a49d39fe4d
CLOUDSTACK-4456:
...
CLOUDSTACK-4457:
CLOUDSTACK-4459:
harden kvm getvolume. It's possible that one volume created on other kvm host, won't show up on another host, try more times to refresh storage pool if volume won't shown up
(cherry picked from commit a0de0d0177 )
Signed-off-by: animesh <animesh@apache.org>
2013-08-22 15:51:38 -07:00
Edison Su
a0de0d0177
CLOUDSTACK-4456:
...
CLOUDSTACK-4457:
CLOUDSTACK-4459:
harden kvm getvolume. It's possible that one volume created on other kvm host, won't show up on another host, try more times to refresh storage pool if volume won't shown up
2013-08-22 15:10:50 -07:00
Min Chen
71bd669cb0
CLOUDSTACK-4433:[VMware]Registration of template using the downloaded
...
template URL is failing.
(cherry picked from commit 885a161b62 )
Signed-off-by: animesh <animesh@apache.org>
2013-08-22 00:15:57 -07:00
Min Chen
885a161b62
CLOUDSTACK-4433:[VMware]Registration of template using the downloaded
...
template URL is failing.
2013-08-21 17:34:03 -07:00
Edison Su
9cfd434640
CLOUDSTACK-2729: another try to solve libvirt storage pool missing issue: if the storage pool is missing, then recreate it
2013-08-21 17:17:06 -07:00
Edison Su
42e4b74402
CLOUDSTACK-2729: another try to solve libvirt storage pool missing issue: if the storage pool is missing, then recreate it
2013-08-21 16:33:57 -07:00
Sateesh Chodapuneedi
9d49fe8c0f
CLOUDSTACK-4414
...
Fixing detection of failure in cluster discovery before cleanup vsm device.
Signed-off-by: Sateesh Chodapuneedi <sateesh@apache.org>
2013-08-21 07:58:13 +05:30
Edison Su
dfa81da53a
delete snapshot_store_ref if the snapshot is in error state
2013-08-20 15:33:24 -07:00
Min Chen
e3d3a8cb7e
CLOUDSTACK-4412: NPE while trying to force delete zone wide primary
...
storage when volumes are present.
2013-08-20 14:56:36 -07:00
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
Rajesh Battala
a03c5f5b1b
CLOUDSTACK-4237 [Autoscale] Account deletion doesn't delete all autoscaled LB rules created by the account
2013-08-17 14:26:58 +05:30
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
Rajesh Battala
7281593758
CLOUDSTACK-3369 Autoscaling: Deleting an isolated network of an account deletes also the autoscaling rule for a network associated with another account
2013-08-13 22:21:36 +05:30
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
Prachi Damle
3ad0008c89
CLOUDSTACK-4276 Dedicated Resources: Private Zone functionality issues
...
Changes:
createZone API:
- This API takes in domainid, set it to the zone record in the data_center table
updateZone API:
- This API uses 'isPublic' flag to set a private zone to public - if this flag is set and the zone is dedicated, release the dedication and remove the domainid from the data_center table
listZone API:
- This API already has 'domainid' parameter. We should allow list zones by domain for Root admin.
DedicateZone API:
- set domainid in the data_center table
ReleaseDedicatedZone API:
- remove zoneid from the data_center table
2013-08-12 17:34:38 -07: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
Prachi Damle
04abb82786
CLOUDSTACK-4222: [VMWare] NPE: VM Failed to start after Volume Migration
...
- ExplicitDedicationProcessor should process only if group of this type is used!
2013-08-12 12:16:36 -07:00
Prachi Damle
12b05cfbc3
CLOUDSTACK-4259 Dedicated Resources: createAffinityGroup API should not allow admin to create the group of this type through API
...
Changes:
- Block API from creating this type of group
2013-08-12 12:06:06 -07:00
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
Prachi Damle
61bd96cb3e
CLOUDSTACK-4234:Dedicated Resources: When multiple dedication groups are chosen for VM deployment, dedicated resources belonging to both groups should be considered
...
Changes:
- Do not add the dedicated resource to avoid list if it is present in the list of resources to consider for the deployment.
2013-08-10 12:14:07 -07:00
Prachi Damle
b0947c9572
CLOUDSTACK-4221: Dedicated Resources: changes to associate the dedicated resource with the 'ExplicitDedication' affinity group
...
Changes:
- Adding mocks in unit tests for new injected components
2013-08-10 11:03:03 -07:00
Prachi Damle
fac54d2334
CLOUDSTACK-4221: Dedicated Resources: changes to associate the dedicated resource with the 'ExplicitDedication' affinity group
...
Changes:
- Implict creation of the 'ExplicitDedication' Affinity group during resource dedication
- Only one group per account or per domain will be present
- ListDedicatedResources by affinityGroup
- Deployment should consider dedicated resources associated to the group only
- Deleting affinity group should release the dedicated resouces
- Releasing the dedicated resources should remove the group associated if there are no more resources.
2013-08-10 11:02:57 -07:00
Prachi Damle
b965032b57
CLOUDSTACK-4168 Root Admin should be able to create 'ExplicitDedication' affinity group at domain level and make it available for all accounts in the domain
...
Changes:
- 'ExcplicitDedication' type of group can be created/deleted by Root admin only
- Users can no longer create this type of affinity group
- RootAdmin can create this type of affinitygroup at domain level. Such a domain level group is available for all accounts in that domain for listing and for use during deployVM.
- The domain level affinitygroup should be visible to the users in that domain, domain admins and Root admin.
2013-08-10 11:02:42 -07: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
Dave Cahill
b1a5b63d9e
Update Maven repo location for MidoNet dependencies
...
The existing Maven repo in the POM will be unavailable soon, so I have
changed it to cs-maven.midokura.com.
Signed-off-by: Prasanna Santhanam <tsp@apache.org>
(cherry picked from commit c12d87e3b650bd1ab0e12b97f5ab8501979949a7)
2013-08-08 16:56:10 +05:30
Alex Huang
cea7363bde
Fixed a compile error caused by eclipse
2013-08-07 19:52:53 -07:00
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
6951e77ed9
CLOUDSTACK-3869: make new folder structure to work with Snapshop commands
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
Alex Huang
7ec469f081
Disabled the authenticator test. It doesn't always pass due to timing issues
2013-08-07 17:01:06 -07:00
Rajesh Battala
c21fd69df9
[PATCH] CLOUDSTACK-3887 [KVM] [PrimaryStorage] deleteStoragePool is not removing the storage pool information from KVM
...
agent/host
Signed-off-by: Edison Su <sudison@gmail.com>
2013-08-07 15:04:25 -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
Amogh Vasekar
c917e3884b
CLOUDSTACK-2312, CLOUDSTACK-2314 : SHA256 timing attack and brute force attack fix
...
Signed-off-by: Chiradeep Vittal <chiradeep@apache.org>
2013-08-07 12:18:10 -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
Sateesh Chodapuneedi
10c550e8ca
CLOUDSTACK-4157 Failure to add zone wide primary storage pool is leaving storage pool in database
...
Signed-off-by: Sateesh Chodapuneedi <sateesh@apache.org>
2013-08-07 17:40:57 +05:30
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
frank
a473e49b72
CLOUDSTACK-4093
...
UCS:API: Need delete UCS_manager API
2013-08-06 17:59:20 -07:00
Min Chen
923c4fd60f
CLOUDSTACK-4116: Volume operations fail: InvocationTargetException when
...
invoking RPC callback for command: createVolumeCallback
2013-08-06 15:21:56 -07:00
Marcus Sorensen
016fe3ecb8
Summary: Quiet erroneous stopVM failures on kvm
...
Detail: Cloudstack tries to stop VMs all the time, for all sorts of reasons,
but usually just to get into a known state. Libvirt throws an exception of
'Domain not found' when attempting to stop a VM that doesn't exist. This causes
problems for troubleshooting real issues. Domain not found should equate
to success if trying to stop.
BUG-ID: CLOUDSTACK-4011
Bugfix-for: 4.2
Signed-off-by: Marcus Sorensen <marcus@betterservers.com> 1375825281 -0600
2013-08-06 15:44:23 -06:00
Edison Su
fe9f02c372
fix simulator
2013-08-06 13:30:52 -07:00
Wei Zhou
c229244dab
CLOUDSTACK-2729: move unlock to finally block to handle failed libvirt operations
...
(cherry picked from commit 5cb090ed40 )
2013-08-06 12:40:32 +02:00
Edison Su
333b272120
CLOUDSTACK-4073: fix s3 on vmware
2013-08-05 20:20:31 -07:00
Edison Su
ab9ce67e19
CLOUDSTACK-4074: if hypervisor doesn't return size of volume/template, don't update it into db
2013-08-05 16:21:36 -07:00
Kelven Yang
68974a0d0e
CLOUDSTACK-3869: Move VMware datastore folder structure policy management to central place
2013-08-05 13:40:57 -07:00
Wei Zhou
0f539b4ce1
CLOUDSTACK-2729: use file lock to prevent concurrent refreshPool/deleteVolume on KVM shared storage pool
...
Signed-off-by: Edison Su <sudison@gmail.com>
2013-08-05 11:21:00 -07:00
frank
001ff45a76
CloudStack CLOUDSTACK-3307
...
UCS:DB: Same UCS manager can be added multiple times
2013-08-05 11:09:51 -07:00
Wido den Hollander
78b745f7cd
rbd: Move some logic from LibvirtComputingResource into KVMStorageProcessor
...
All this logic was in LibvirtComputingResource but seems redundant. Move it
into the KVMStorageProcessor
2013-08-05 17:35:32 +02:00
Murali Reddy
cb6ff00ef6
CLOUDSTACK-4048:[GSLB] Failed to assign more than one LB rule to a GSLB rule that is
...
created with gslbmethod=leastconn
Netscaler nitro api to add gslb virtual servers fails for some reason if
both netmask and round robin methods are specified. So working around
with settign netmask to be null while updating vserver.
2013-08-05 19:33:35 +05:30
Wido den Hollander
59b23fe1f4
CLOUDSTACK-4004: Fix attaching a newly allocated RBD image to an Instance
...
Signed-off-by: Wido den Hollander <wido@42on.com>
2013-08-02 13:21:23 +02:00
JijunLiu
725d281cb2
Add cpu model for kvm guest.Now all the kvm guest's cpu model is 'QEMU Virtual CPU version xxx'. This will affect the activation of Windows OS and low performance. I add three mode for user to indicate the guest cpu model.add libvirt version check
...
Signed-off-by: Wei Zhou <w.zhou@leaseweb.com>
(cherry picked from commit 2903bb5fd9 )
2013-08-02 11:59:02 +02:00
Anthony Xu
17511b6a35
CLOUDSTACK-4017:
...
try to remove VDI host lock before start the VM which is using this VDI
2013-08-01 15:31:26 -07:00
frank
ad9be8046f
CloudStack CLOUDSTACK-3986
...
baremetal - create basic zone for baremetal fail - Dhcp service provider for this network does not support the dhcp across multiple subnets
2013-08-01 14:55:46 -07:00
Edison Su
5384cbc41d
CLOUDSTACK-4008: return virtual size of volume in KVM
2013-08-01 13:22:46 -07:00
Sanjay Tripathi
47803c21fb
CLOUDSTACK-4001: Unable to deploy Windows server 2012 64 bit VM on xenserver 6.2
...
Signed-off-by: Abhinandan Prateek <aprateek@apache.org>
2013-08-01 21:05:50 +05:30
Bharat Kumar
087b1dcfc3
Cloudstack-3299 incorrect arguments sent to the script createIpalias in case of vmware, Cloudstack-3240 corrected a mistake in the script name.
...
Signed-off-by: Abhinandan Prateek <aprateek@apache.org>
2013-08-01 17:00:40 +05:30
Wido den Hollander
698253576a
rbd: Enable snapshotting of RBD images
...
Signed-off-by: Wido den Hollander <wido@42on.com>
2013-08-01 09:57:13 +02:00
John Burwell
1162b87f14
- CLOUDSTACK-3229: Attempt to adjust snapshot source path to new cache
...
filesystem layout
2013-08-01 03:48:52 -04:00
John Burwell
af631c3e0e
- CLOUDSTACK-3229: Works around Introspector bug that does not recognize
...
Boolean typed accessor methods by manualy populating the https value.
A generic implementation will be investigated when time permits.
2013-08-01 01:46:41 -04:00
John Burwell
9cd4e089a5
- CLOUDSTACK-3229: Fixes a think-o in the handling of unmodifiable
...
collections and adds a rail in s3xen to raise an exception if the file being
put does not exist
2013-08-01 00:11:40 -04:00
John Burwell
59492fae10
- CLOUDSTACK-3229: Properly serialize the https property to the s3Xen
...
plugin
- Extracts the duplicated serializeProperties methods to
ReflectUtils#flattenProperties
- Adds unit tests for ReflectUtils#flattenProperties
2013-07-31 23:16:21 -04:00
Min Chen
2e25f3075e
CLOUDSTACK-3987: Setting extract.url.expiration.interval is not honored
...
for S3 generated url, which is hard-coded to 1 hour.
2013-07-31 16:28:03 -07:00
Murali Reddy
b4770f1e01
CLOUDSTACK-3731: [GSLB] deleteGlobalLoadBalancerRule fails with the
...
java.lang.NumberFormatException
While deleting LB monitor and GSLB service binding Nitro API fails
with wierd NumberFormatException. Adding a workaround to delete the LB
monitor after GSLB service is delted (which ensures intenrally LB
monitor is delted).
2013-08-01 04:49:58 +05:30
John Burwell
3cf09f337f
- CLOUDSTACK-3229: Passes the bucket name as "bucket" into the s3xen
...
plugin
2013-07-31 09:57:07 -04:00
Rajesh Battala
91bf54652e
CLOUDSTACK-3924 NPE while internal LB vm is getting created
2013-07-31 10:22:47 +05:30
Marcus Sorensen
5a2fd3e2a4
Summary: Move Xen vmdata to new, non-ssh method
...
Detail: KVM recently got a patch that did away with a few dozen ssh calls
when programming virtual router (CLOUDSTACK-3163), saving several seconds
for each vm served by the virtual router when the router is rebooted. This
patch updates Xen to use the same method, and cleans up the old script refs.
Reviewed-by: Sheng Yang, Prasanna Santhanam
2013-07-30 21:41:11 -06:00
Kelven Yang
065ae7a497
Correct DAO usage in VmwareDatacenterVO, relax assertion conditions to work with stack calling frame that is not wrapped with @DB injection
2013-07-30 18:05:38 -07:00
Toshiaki Hatano
a310815aac
CLOUDSTACK-3959: [KVM] agent setup failed when physical interface name is in pXpY format
...
Add handling.
Signed-off-by: Edison Su <sudison@gmail.com>
2013-07-30 16:14:38 -07:00
Edison Su
b3576cac27
add note on vmwarweguru->getCommandHostDelegation
2013-07-30 11:37:14 -07:00
Edison Su
d9ba83f0a4
CLOUDSTACK-3944: fix regression for vmware
2013-07-30 11:34:40 -07:00