Commit Graph

20185 Commits

Author SHA1 Message Date
Prasanna Santhanam da0bb63005 CLOUDSTACK-4340: Add more debug logging
VM (id) moves from host (id) to host (id)

Signed-off-by: Prasanna Santhanam <tsp@apache.org>
2013-08-19 15:42:12 +05:30
Prasanna Santhanam 8576b1ddc9 CLOUDSTACK-4396: Invalid case comparison leaves egress rule unprogrammed
Thereby failing the wget for the cloud-setup-guest-password script which
in turn fails the test.
Signed-off-by: Prasanna Santhanam <tsp@apache.org>
2013-08-19 15:17:30 +05:30
Prasanna Santhanam 7768613edc CLOUDSTACK-4225: Fix template references in setUpClass
Signed-off-by: Prasanna Santhanam <tsp@apache.org>
2013-08-19 14:59:34 +05:30
Prasanna Santhanam 52f6317f79 CLOUDSTACK-4394: remove cleanups for offerings
offerings do not need to be cleaned up

Signed-off-by: Prasanna Santhanam <tsp@apache.org>
2013-08-19 14:40:34 +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
Bharat Kumar 8babd390d6 CLOUDSTACK-4132 current dnsmasq config does not allow guest virtual machines(clients) to update its hostnames with a DNS server
Introducing the option dhcp-client-update fails if the dnsmasq version is less than 2.6 (like in older templates).
Added a check for the version in cloud-early-config. will add dhcp-client-update option in the config file only
if the dnsmasq version is 2.6 and above.

Signed-off-by: Jayapal <jayapal@apache.org>
2013-08-19 11:13:17 +05:30
radhikap 76d3cae248 CLOUDSTACK-1316 location of cloud-set-guest-password updated 2013-08-19 11:00:13 +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
Kelven Yang e6d7cdf70f CLOUDSTACK-4357: don't cache ServiceContent and rootFolder in memory, the cache semantics break session keep-alive mechanism 2013-08-17 23:06:42 -07:00
Edison Su e3a6657c93 CLOUDSTACK-4363: fix possible NPE, if copy volume failed. 2013-08-17 17:33:17 -07:00
Jessica bc584062fe CLOUDSTACK-1682. DOC. Fix parameter name in overview doc for reset volume on VM reboot. Add cross-reference to the detailed how-to section. 2013-08-17 14:57:34 -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
Marcus Sorensen ca7f22062b CLOUDSTACK-4379: Reset VM states when host is removed from cluster
If you shut down the agent while VMs are running, the management
server assumes that the VMs are continuing to run. You can then
delete the host while it is in 'disconnected' state, and those VMs
will be unusable, forever in running state. They can't change state
because the host no longer exists. This patch checks for any VMs
that may have been tied to the removed host and resets their state
so that cloudstack can continue to manage them.
2013-08-17 00:24:33 -06:00
Mike Tutkowski ef4becfadc CLOUDSTACK-3291: Document changes in CloudStack primary storage and document SolidFire plug-in 2013-08-16 22:43:38 -06:00
Abhinandan Prateek af71fb2ab3 Revert "CLOUDSTACK-4132 Added the dnsmasq setting update-dhcp-clent to enable clients to update DNS records"
This reverts commit 76990612f5.
2013-08-17 08:34:18 +05:30
Jessica Wang 64ab85069d CLOUDSTACK-3950: UI > template/ISO page > hide CopyTemplate/CopyISO action when it's region-wide (i.e. zoneid is null) 2013-08-16 19:50:16 -07:00
Prachi Damle c0d2e3253b CLOUDSTACK-4369 [UPGRADE]Upgrade failed from 307 to 4.2
Changes:
- Do not consider removed zones
- Create affinity group per domain
2013-08-16 13:30:49 -07:00
Min Chen 016faeaf28 CLOUDSTACK-3274: guard a null string case in case of string match. 2013-08-16 10:51:25 -07:00
Min Chen 71b36e8ff7 CLOUDSTACK-3274: Remove duplicate cleanString calls in logging api for
performance improvement.
2013-08-16 10:46:36 -07:00
Jessica Wang 4f8fe9c062 CLOUDSTACK-4355: UI > Infrastructure > clusters > add cluster dialog > show Public Traffic vSwitch Type/Name when Override Public Traffic is checked; show Guest Traffic vSwitch Type/Name when Override Guest Traffic is checked. 2013-08-16 10:43:17 -07:00
Anthony Xu 524e73c63e allow overlapped subnet in shared network 2013-08-16 10:02:45 -07:00
Sateesh Chodapuneedi a21ec81db9 Fix build issue. 2013-08-16 15:58:14 +05:30
Sateesh Chodapuneedi e8d00451b9 CLOUDSTACK-4265 [VMWARE] clustered Management server Unable to perform VM live migration among vmware clusters
This is due to a VM on zone wide primary storage not requiring storage migration while migrating across clster.
Detecting the storage pool type before allowing normal migration (without storage live migration) of VM across cluster.

Signed-off-by: Sateesh Chodapuneedi <sateesh@apache.org>
2013-08-16 13:59:28 +05:30
Radhika PC d88ed29a49 CLOUDSTACK--2169 Rest ASA 1000v to factory settings 2013-08-16 16:32:34 +05:30
Radhika PC 29165190ff CLOUDSTACK--2169 Rest ASA 1000v to factory settings 2013-08-16 16:17:22 +05:30
Bharat Kumar c6e2e465ed CLOUDSTACK-4068 scaling up user vm and system vm is failing with NPE if current service offering is deleted
Nitin Mehta <nitin.mehta@citrix.com>
2013-08-16 15:10:36 +05:30
Radhika PC 81b4966a71 CLOUDSTACK-4245 known issues section updated with removing the fixed issues, upgrade section updated with CentOS 5.5 issue with upgrading usage server 2013-08-16 14:42:18 +05:30
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
Nitin Mehta 25f15bd355 CLOUDSTACK-4313
Wrong error message is throwing on failure of dynamic scale up operation. Fix it.
Signed off by : nitin mehta<nitin.mehta@citrix.com>
2013-08-16 12:57:14 +05:30
Radhika PC aae860a661 CLOUDSTACK-4361 sourceNat per zone is not supported with VR in shared network 2013-08-16 12:16:01 +05:30
Bharat Kumar 76990612f5 CLOUDSTACK-4132 Added the dnsmasq setting update-dhcp-clent to enable clients to update DNS records
Signed-off-by: Abhinandan Prateek <aprateek@apache.org>
2013-08-16 11:12:18 +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
Prachi Damle 3eacdb1547 CLOUDSTACK-3047 java.lang.NullPointerException encountered when executing capacityChecker thread.
Changes:
- Added null check around clusterId, since its possible to have null clusterId for storagepool and host records

Conflicts:

	server/src/com/cloud/capacity/CapacityManagerImpl.java
2013-08-15 17:44:07 -07:00
Min Chen 80dd1e263f CLOUDSTACK-4277:listTemplate should return empty list without any zone
configuration.
2013-08-15 16:34:11 -07:00
Jessica Wang 63e73ca94e CLOUDSTACK-2989: UI > Networks menu > Add Isolated Network dialog > network offering dropdown > populate network offerings whose specifyvlan=false to normal user. 2013-08-15 14:26:29 -07:00
Min Chen a3e0863344 CLOUDSTACK-4287: Template sync should remove template_store_ref entry
for corrupted template.
2013-08-15 14:23:52 -07:00
Jessica Wang 2d4609a8df CLOUDSTACK-4308: UI > volume page > if hypervisor is KVM, show/hide takeSnapshot, recurringSnapshot action upon KVMsnapshotenabled property returned by listCapabilities API. 2013-08-15 10:27:02 -07:00
Bharat Kumar 16deb39352 CLOUDSTACK-4317 make the regular expressions in dnsmasq.sh more tighter to avoid matching of ip6dns
Signed-off-by: Jayapal <jayapal@apache.org>
2013-08-15 10:52:38 +05:30
Ashutosh K 85318977c2 Additional tests for custom_hostname
- vm with existing displayname
- change display name post deploy
- deploy with unsupported chars in display name
- vm.instancename.flag = true and deploy vm
- vm.instancename.flag = false and deploy vm

Signed-off-by: Prasanna Santhanam <tsp@apache.org>
(cherry picked from commit d5203b19e0)
2013-08-15 10:48:50 +05:30
Ashutosh K 84e81df2a3 Removed Invalid test from TestRemoveUserFromAccount see -> http://markmail.org/message/vk7wyl3b57cltj44
Signed-off-by: Prasanna Santhanam <tsp@apache.org>
2013-08-15 10:44:23 +05:30
Ashutosh K 682e995a4a CLOUDSTACK-3594: New affinity group tests
- list all vms in affinity group
- delete an affinity group by id
- admin deletes affinity groups
- list affinity groups as admin
- list affinity groups by accountid/domainid
- list affinity groups by group id
- user deletes his affinity group

Signed-off-by: Prasanna Santhanam <tsp@apache.org>
2013-08-15 10:36:36 +05:30
Edison Su a467c45bf6 CLOUDSTACK-4338: catch up exception in case of deleting volume in parallel: it's possible that two threads can delete one volume at the same time, if the volume state is in Expunging 2013-08-14 18:14:20 -07:00
Min Chen 9a9ef3112c CLOUDSTACK-4318:[Object_Store_Refactor] Failed to delete snapshot copied
to Staging storage during snapshot creation.
2013-08-14 18:01:09 -07:00