Commit Graph

680 Commits

Author SHA1 Message Date
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
John Burwell 3cf09f337f - CLOUDSTACK-3229: Passes the bucket name as "bucket" into the s3xen
plugin
2013-07-31 09:57:07 -04:00
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
Koushik Das 73ec4ede66 CLOUDSTACK-3937: Attaching uploaded volume is failing
The method getCommandHostDelegation(long hostId, Command cmid) got overidden in VmwareGuru.java as part of
commit bfe30cd2e3. Earlier there was no HV specific implementation and copy
volume from secondary to primary worked fine. With the Vmware specific change the code was getting hit even
in case of XS and other hypervisors and failed with NPE.
Now there is a check in the Vmware implementation to check if the HV is of type Vmware.
2013-07-30 16:34:28 +05:30
Edison Su 6533e6559b CLOUDSTACK-3107: fix attach upload volume 2013-07-29 18:59:10 -07:00
Edison Su 734aa1d510 CLOUDSTACK-3908: fix extract path 2013-07-29 16:57:44 -07:00
frank 6a21a71e71 CLOUDSTACK-3918
com.cloud.ucs.manager.UcsManagerImpl cannot parse default config
2013-07-29 15:29:10 -07:00
Kishan Kavala 6154c52242 CLOUDSTACK-3849: Set volume size in CopyAnswer for Vmware when cloning volume from bas template 2013-07-29 16:34:15 +05:30
Mice Xia acd2396660 fix CLOUDSTACK-3591 add usage recording for VM snapshots 2013-07-29 17:57:20 +08:00
Harikrishna Patnala 4d35d92208 CLOUDSTACK-3779: Support System vm scaling on VMWare
Marked the system template new system template as dynamicallyScalable
   - handled upgrade case
   - moved "dynamicallyScalable" flag to vm_instance table from user_vm_details to support dynamic scaling of system vm
Signed off by : Nitin Mehta<nitin.mehta@citrix.com>
2013-07-29 14:12:24 +05:30
Harikrishna Patnala 2b42a27177 CLOUDSTACK-3669: Bringing down the dynamic scalable check (for VM whether it has xstools or vmware tools in it) to the management layer. 2013-07-29 14:07:06 +05:30
Sateesh Chodapuneedi 7ba5d9910b CLOUDSTACK-3468 Failed to Deploy Instances with multiple VMWARE clusters when DVS is enabled at the Zone level
Fixing cluster level override of zone level specified vSwitch settings.

Signed-off-by: Sateesh Chodapuneedi <sateesh@apache.org>
2013-07-29 03:09:09 +05:30
Prasanna Santhanam 908df7aabd Fix simulator and marvin
- Remove additional parantheses in marvin VirtualMachine.create(
- Implement createEntityExtractUrl command for simulator

Signed-off-by: Prasanna Santhanam <tsp@apache.org>
2013-07-28 10:20:16 +05:30
Sateesh Chodapuneedi 9b7bee0e85 CLOUDSTACK-3879 [VMware] NPE while attempting to create template from volume
Signed-off-by: Sateesh Chodapuneedi <sateesh@apache.org>
2013-07-27 16:59:26 +05:30
Sateesh Chodapuneedi 2aa2f47519 COUDSTACK-3053 Template creation from snapshot is failing on VMware setup
Fixed snapshot vmdk file path while copying snapshot files to template path.

Signed-off-by: Sateesh Chodapuneedi <sateesh@apache.org>
2013-07-27 16:54:49 +05:30
Edison Su ed46a64add CLOUDSTACK-3852: fix upload volume 2013-07-26 18:05:10 -07:00
Min Chen 1305697eaa CLOUDSTACK-3818: NFS Cache Improperly Named. 2013-07-26 14:36:00 -07:00
frank c544f34f70 make UCS api name better 2013-07-26 11:29:37 -07:00
Sanjay Tripathi c0eec551fe CLOUDSTACK-3544: Xen 6.2 hosts are tagged with Xen 6.1.
This commit will add the new xenserverresource file to support XenServer 6.2.
Also add the guest OS list supported by xenserver 6.2
2013-07-26 15:33:37 +05:30
Devdeep Singh b466729008 CLOUDSTACK-3501. Cannot create instances on XenServer with multiple cores in a socket. If
details has information on cores per socket, create an instance accordingly. The vm record
is populated with information on how many cores should be allowed in a socket.
2013-07-26 14:47:14 +05:30
Devdeep Singh 1b340e0544 CLOUDSTACK-3590. Adding new xenserver host to cluster fails in first attempt. While adding
a host to the pool it may take a little longer to join the pool. Increased the time the
resource waits and checks to make sure the host has joined as slave to the pool.
2013-07-26 10:57:37 +05:30
frank 4191f157c1 change associatesUcsProfileToBlade to async api 2013-07-25 15:25:29 -07:00
Min Chen 6b9ea47711 CLOUDSTACK-3667:[Object_Store_Refactor][VMWare] System VMs StartCommand
failed due to Exception: java.lang.Exception Message: secondary storage
for dc 3 is not ready yet?
2013-07-25 10:56:01 -07:00
Jayapal 34f75b0a5d CLOUDSTACK-2933 Added vpc load balancing changes for vmware 2013-07-25 17:40:21 +05:30
Prasanna Santhanam 0b90fa369e Fix the simulator
Include the createTemplateFromSnapshot in the storageprocessor.

Signed-off-by: Prasanna Santhanam <tsp@apache.org>
2013-07-25 14:15:03 +05:30
Edison Su ca474d0e09 CLOUDSTACK-2304: fix migrate volume for vmware 2013-07-24 18:59:46 -07:00
Min Chen 9f23b1c0c1 CLOUDSTACK-3665:KVM specific issue in create volume from snapshot. 2013-07-24 18:34:59 -07:00
Edison Su bfe30cd2e3 CLOUDSTACK-3681: fix bunch of bugs related to vmware, regarding to snapshot 2013-07-24 15:54:36 -07:00
Bharat Kumar 42346cdf47 Cloudstack-3694 Dnsmasq rewrite in bash
(Sheng: Fix typo, fix log and error message, remove 'set -x' in script)

Signed-off-by: Sheng Yang <sheng.yang@citrix.com>
2013-07-24 13:59:58 -07:00
Harikrishna Patnala 820a5e09dc Fix file name in DnsMasqConfigCommand
Signed-off-by: Abhinandan Prateek <aprateek@apache.org>
2013-07-24 13:59:58 -07:00
Harikrishna Patnala d09a088093 CLOUDSTACK-3302: [Multiple_IP_Ranges][VmWare] VM deployement failed due to dnsmasq configuration issue in case of multiple subnets in a vlan
Signed-off-by: Abhinandan Prateek <aprateek@apache.org>
2013-07-24 13:59:58 -07:00
Bharat Kumar 3673db26b0 Cloudstack-3302 VM deployement failed in VMWare due to dnsmasq configuration issue in case of multiple subnets in a vlan
Signed-off-by: Abhinandan Prateek <aprateek@apache.org>
2013-07-24 13:59:57 -07:00
Amogh Vasekar 25c566f04b Adding HTTPS support for UCS, refactored code for o.a.c.httpclient.contrib
CLOUDSTACK-3285
UCS: Need support for HTTP redirects and HTTPS Certificate handling
2013-07-24 13:49:16 -07:00
Anthony Xu 121f947f62 when create local link netowrk fails for xenserver, adding host should fail 2013-07-23 15:04:25 -07:00
Amogh Vasekar 6d5435e98f Adding encryption flag
CLOUDSTACK-3308
UCS:DB: UCS Manager password should not get stored in plain text.
2013-07-22 15:35:49 -07:00