Commit Graph

19882 Commits

Author SHA1 Message Date
Prasanna Santhanam 79cd3df6fb Fix snapshot limit tests
Signed-off-by: Prasanna Santhanam <tsp@apache.org>
2013-08-07 15:09:31 +05:30
Prasanna Santhanam 2d4e17e8d4 remove local path in cloud-set-guest-password script
Signed-off-by: Prasanna Santhanam <tsp@apache.org>
2013-08-07 14:47:50 +05:30
Prasanna Santhanam b0ffc88baa Fix snapshot GC test
Changes to object store removes SecondaryStorage host from the host
table. This affects the test where we identify the secondary storage nfs
host to login to where we verify if the snapshot is present on the
physical resource.

* added base classes for imagestore/stagingstore operations
* fixed the test to check only if NFS is used as backing store

TODO: Fix for s3 based storage layer

Signed-off-by: Prasanna Santhanam <tsp@apache.org>
2013-08-07 14:34:51 +05:30
Radhika PC add0251cf0 CLOUDSTACK-2685 2013-08-07 14:15:29 +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
Likitha Shetty 74293f77e0 CLOUDSTACK-4025. NPE observed during VM start.
NPE was hit during VM start because the network it was to be deployed in didn't get implemented - Handling this failure.
2013-08-07 13:24:50 +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
Min Chen 54f85043f0 CLOUDSTACK-4125: [Upgrade] after upgrade 3.0.7 GA -> 4.2 deploy guest VM
fail.
2013-08-06 22:30:58 -07: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
Radhika PC 39042f9099 cloudstack-804 2013-08-07 10:49:58 +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
Marcus Sorensen 7fced6460f Summary: CLOUDSTACK-4121 fix local storage volume deployment
Detail: Fix hypervisor type lookup for local storage volumes by
adding in a statement for the 'HOST' storage scope.

Reviewed-by: Rajesh Battala
2013-08-06 21:34:22 -06:00
Edison Su 33d06d25b8 CLOUDSTACK-3535: add kvminvestigator to investirage kvm host 2013-08-06 18:50:33 -07:00
Sateesh Chodapuneedi 38a3da8974 CLOUDSTACK-4047 [sM][VMWare][ZWPS]: no need of storage migration while migrating VM when the root volume is on zone wide primary storage
Introduced check for zone wide pools while listing hosts for migration.

Signed-off-by: Sateesh Chodapuneedi <sateesh@apache.org>
2013-08-07 01:06:38 +05:30
frank a473e49b72 CLOUDSTACK-4093
UCS:API: Need delete UCS_manager API
2013-08-06 17:59:20 -07:00
Min Chen 0243f043cb CLOUDSTACK-4116: don't update db if hypervisor storage processor does
not return volume size.
2013-08-06 15:21:56 -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
Min Chen 4d43fe13ce CLOUDSTACK-4002: We should use backup_snap_id in snapshots table to
construct snapshot install_path in snapshot_store_ref for pre-4.2.0
snapshot.
2013-08-06 14:38:52 -07:00
Edison Su fe9f02c372 fix simulator 2013-08-06 13:30:52 -07:00
Rajesh Battala d284fd9894 CLOUDSTACK-3781 Unable to resize disk with Zone wide storage 2013-08-06 12:57:10 -07:00
Alena Prokharchyk ef839427c7 CLOUDSTACK-4120: fixed automation script for resource tags 2013-08-06 12:54:27 -07:00
Min Chen bd6005dac5 CLOUDSTACK-4003: We should not delete a READY data object from object
store ref table in case of any operation failure related to this data
object.
2013-08-06 11:41:18 -07:00
Min Chen 8d3d41a834 CLOUDSTACK-4002:Fix snapshot install path for upgraded snapshots. 2013-08-06 11:40:09 -07:00
rayeesn 6ea000d4d9 updated interface in netscaler config test script
Signed-off-by: Prasanna Santhanam <tsp@apache.org>
2013-08-06 22:02:55 +05:30
Prasanna Santhanam 12be2221ed Add missing sleep
Signed-off-by: Prasanna Santhanam <tsp@apache.org>
2013-08-06 19:55:41 +05:30
Wido den Hollander 9e1c0ddaec config: Fix a typo in the configuration option
Conflicts:

	server/src/com/cloud/storage/snapshot/SnapshotManagerImpl.java
2013-08-06 15:31:12 +02:00
SrikanteswaraRao Talluri 64591e65be CLOUDSTACK-4098: Fix the test which deploys a VM from password enabled template.
Signed-off-by: Prasanna Santhanam <tsp@apache.org>
2013-08-06 18:46:29 +05:30
Wei Zhou fa094a5d2c CLOUDSTACK-4110: update user_ip_address.dnat_vmip field in 410to420 upgrade 2013-08-06 14:44:15 +02:00
Bharat Kumar 5dcded229f Cloudstack-4015 No error logged when deleteing all the valns when there are allocateed vnets. Alos not updating the vnet range in physicalnetworks table in the above case.
Signed-off-by: Jayapal <jayapal@apache.org>
2013-08-06 17:29:07 +05:30
Harikrishna Patnala c0e7186166 CLOUDSTACK-4070: upgrade from 2.2.14 to 4.2 is failing with 4.0 VMware SystemVm template not found. Cannot upgrade system Vms
System template upgrade is not required during 4.0 upgrade since we handle the same during 4.2 upgrade. So removing the system template update during 4.0 upgrade.
2013-08-06 17:18:10 +05:30
Murali Reddy 86e4d6f80c CLOUDSTACK-4013: [PortableIP] [MultiplePhysicalNetworks] Associate
portable IP is trying to insert network id as physical network id

ensuring network id, physical network id, source network id are properly
set for portable ip in user_ip_address and vlan tables
2013-08-06 17:15:50 +05:30
Nitin Mehta 1970a0ddff CLOUDSTACK-4043
Introduced new column format for volumes as per the hypervisor by joining the storage pool and cluster table. Since pre 4.2 storage pool will always have cluster id populated.
Signed off by : nitin mehta<nitin.mehta@citrix.com>
2013-08-06 17:14:29 +05:30
Prasanna Santhanam fab45b5180 add cleanup list
Signed-off-by: Prasanna Santhanam <tsp@apache.org>
2013-08-06 16:57:54 +05:30
Jayapal ff7527fc87 CLOUDSTACK-4084 Fixed the static nat vm ip address in public ip address table in external network gc
In external network after network GC the network n/w cidr changes.
In this case the static nat enable vm ip also chagnes. So updated the new
vm ip address in user_ip_address table.
2013-08-06 16:34:33 +05:30
Devdeep Singh 41f7820709 CLOUDSTACK-3774: NPE while creating template from snapshot on a upgraded setup.
After upgrade the SSVM was staying in connecting/alert state. This was because
while handling the processConnect command for ssvm the management server was
trying to template sync. For resource limit calculation it was trying to get the
remote size of the template. If the template was no longer available a number
format exception was thrown. The process connect wasn't getting completed and
the ssvm used to stay in connecting/alert state. While creating template from
snapshot cloudstack looks for up and enabled ssvms and because there wasn't
any available (as the ssvm was in coonecting/alert state) it used to pick the
wrong resource (LocalNfs*Resource) instead of the NfsSecondaryStorageResource.

Fixed the issue by making sure number format exceptions are avoided so that
SSVM moves to the right state.
2013-08-06 16:19:35 +05:30
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
Likitha Shetty fd7b9c44bc CLOUDSTACK-4038. State of the DATA volumes remains in Allocated state if they are deleted before using them.
If a volume is in Allocated state i.e. not present in primary or secondary mark the volume as removed.
2013-08-06 16:00:48 +05:30
Murali Reddy 8447b66b38 CLOUDSTACK-2955: [PortableIPrange deletePortableIpRange fails because of
UI firing an incorrect API

adding 'portableiprange' tag to the job result of
CreatePortableIpRangeCmd api job response
2013-08-06 15:59:22 +05:30
Prasanna Santhanam 2f34fef7b9 Fix egress rules offering - rvr not required
Signed-off-by: Prasanna Santhanam <tsp@apache.org>
2013-08-06 15:56:12 +05:30
Wei Zhou 2b980ef88f CLOUDSTACK-3947: Fix similar issues related to getSyncObjType / getSyncObjId
(cherry picked from commit 5cfc69a7aa)
2013-08-06 10:49:12 +02:00
Thomas O'Dowd 7fd71d708a CLOUDSTACK-3211: Add help docs to S3 secondary storage configuration.
When adding an S3 secondary storage, the administrator will
now be shown help for each input field making it friendlier
to use.

Signed-off-by: Prasanna Santhanam <tsp@apache.org>
2013-08-06 13:23:36 +05:30
Prasanna Santhanam cc107377a2 Egress Rules: Corrections to few areas
1. correcting the log_test_exceptions decorator so nose testrunner can
detect and document the running test
2. correct the wait for network cleanup -> network.gc
3. Remove commented skips
4. Sanitize host passwords

Signed-off-by: Prasanna Santhanam <tsp@apache.org>
(cherry picked from commit 04df5d289ca9394c7f647fb94e5289160a2d3467)
2013-08-06 13:23:36 +05:30
ashutoshkelkar b70c35a01e Adding Tests for Egress Firewall rules advance zone. Code review changes and added tests for RVR and DB table value checks
Signed-off-by: Prasanna Santhanam <tsp@apache.org>
(cherry picked from commit 13869f1a9b3c404184aaa58a378fb87bfce2fa44)
2013-08-06 13:23:36 +05:30
Radhika PC 247ccb7b45 CLOUDSTACK-3181 and CLOUDSTACK-847 2013-08-06 13:13:53 +05:30
Sateesh Chodapuneedi a3c2b23a07 CLOUDSTACK-4006 [VMWAREDVS] vmware.use.dvswitch global config is missing after upgrade
Signed-off-by: Sateesh Chodapuneedi <sateesh@apache.org>
2013-08-06 07:30:55 +05:30
Sateesh Chodapuneedi b0e61f9d79 CLOUDSTACK-4097 2 optional parameters of addCluster API are not declared correctly
Signed-off-by: Sateesh Chodapuneedi <sateesh@apache.org>
2013-08-06 06:30:39 +05:30
Prasanna Santhanam 3a41c53bd3 CLOUDSTACK-4064: Missed renaming the config for KVM snapshots
KVM.snapshot.enabled is lowercased by f025db95 to keep the configs
uniformly lower-case. But it missed the upgrade script and the
references in SnapshotManagerImpl. This commit will fix the issue in all
locations

Signed-off-by: Prasanna Santhanam <tsp@apache.org>
2013-08-06 10:39:26 +05:30