Commit Graph

1079 Commits

Author SHA1 Message Date
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
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
Min Chen 140dfaaa5b CLOUDSTACK-3862: Remove S3/Swift-backed Secondary Storage Code. 2013-07-29 14:04:52 -07:00
Nitin Mehta 1bfe9eb0a4 CLOUDSTACK-3892
Implement the download url expiration functionality for templates. Also persist the template download urls after their creation
Signed off by : nitin mehta<nitin.mehta@citrix.com>
2013-07-29 19:47:45 +05:30
Devdeep Singh df07f68514 CLOUDSTACK-3890. Delting the storage pool is not getting from xenserver. The
storage pool entry was removed from the db but the pool wasn't unmounted from
the host. There was a check that if the pool is not in UP state then the entry
can just be removed. That is wrong. A pool can only be removed if it is in
maintenance state. So after putting the pool in maintenance state if admin
tries to delete the pool we just remove the db entry without un-mounting the
storage pool from the host. Removed the incorrect check.
2013-07-29 17:20:56 +05:30