20311 Commits

Author SHA1 Message Date
Sateesh Chodapuneedi
cc18ca79fc CLOUDSTACK-3851 [VMWare] VM start fails with NPE while trying to retrieve cores per socket
If VMware host version is ESXi 4.1 and vCenter version is 5.0 or later, number of cores per socket of a VM running on ESXi 4.1 host would be undefined as it's not supported for versions prior to 5.0.
Hence expecting undefined/null value for that and handling it.

Signed-off-by: Sateesh Chodapuneedi <sateesh@apache.org>
2013-08-20 13:29:49 +05:30
Jayapal
a5ada3f363 CLOUDSTACK-4199 Fixed redundant router fail over
When master router down, the back up router is entered into FAIL state
but it supposed to enter into master.
This issue is happening because the the enable_pubip.sh script triying to
ifdown and ifup the eth2 interface. Which is failed. So master.sh script got
failed. Fixed by doing ifdown force
2013-08-20 17:33:22 +05:30
Gaurav Aradhye
ac77660864 CLOUDSTACK-4356: Added code for checking empty host, skip the test if no empty host found
Signed-off-by: Prasanna Santhanam <tsp@apache.org>
2013-08-20 17:31:24 +05:30
Prasanna Santhanam
9ed5083f9b CLOUDSTACK-4257: Additional asserts for storage migration test
Test whether valid storage pools are listed and at least one pool is
available for migration.

Signed-off-by: Prasanna Santhanam <tsp@apache.org>
(cherry picked from commit a82f66e0fa8c9e20b0468aae82871c46a9f8b67e)
2013-08-20 17:28:41 +05:30
Saksham Srivastava
ed745d3489 CLOUDSTACK-4257: [Automation] test_storage_motion test cases failed during with unexpected result in listStoragePool API call
Signed-off-by: Prasanna Santhanam <tsp@apache.org>
(cherry picked from commit a9e45bf7766728c8439fcc0e3a1a6e3af074b2b7)
2013-08-20 17:28:41 +05:30
Jessica
c1b157565c CLOUDSTACK-2402. DOC. Incorporate review comments on volume snapshot enhancements for VMware. 2013-08-20 02:48:32 -07:00
Jessica
450f8172ff CLOUDSTACK-867. DOC. Incorporate reviewer comments on dynamic CPU and RAM scaling for running VMs. 2013-08-20 02:18:25 -07:00
radhikap
da4d306da3 CLOUDSTACK-4245 upgrade section in the release notes 2013-08-20 13:46:14 +05:30
radhikap
1108aa7d4c added a new chapter for 4.2 2013-08-20 13:42:03 +05:30
Jessica
7cc27e8879 CLOUDSTACK-1559. DOC. Mention new Windows 8 and Windows Server guest VM support in 4.2 Release Notes. 2013-08-20 00:40:22 -07:00
Edison Su
45b35aaeef CLOUDSTACK-4398: get physical size of template if the template is stored in S3 2013-08-19 17:52:28 -07:00
Min Chen
c4f41f4a53 CLOUDSTACK-4395:[Object_store_refactor] Default template is not
available for use to deploy vm in case of multi zone environment.
2013-08-19 17:37:33 -07:00
Edison Su
4fd09cb344 CLOUDSTACK-4324: delete snapshot_store_ref, if create snapshot failed on primary storage 2013-08-19 15:26:18 -07:00
Edison Su
d89667ed47 fix unit test 2013-08-19 15:26:11 -07:00
Edison Su
3c098c0876 CLOUDSTACK-4338: fix NPE if create volume failed 2013-08-19 15:25:46 -07:00
Edison Su
0040c4adef CLOUDSTACK-4363: fix possible NPE, if copy volume failed. 2013-08-19 15:25:20 -07:00
Edison Su
1c96898ae1 CLOUDSTACK-3229: if delete snapshots on staging area failed, still treat backup snapshot as succeed. And modify snapshot delete logic on devcloud 2013-08-19 15:25:11 -07:00
Edison Su
77e7ccbbe1 CLOUDSTACK-4325: add more test cases for zone wide storage pool allocator 2013-08-19 15:25:04 -07:00
Edison Su
a7f3e1ec97 CLOUDSTACK-4300: possible fix: cputune feature is only available after 0.9.0, so start vm can fail on rhel 6.1 2013-08-19 15:24:56 -07:00
rayeesn
c09bbd316c CLOUDSTACK-4370 - Upgrade failing due to depenency with cloudstack-agent, changed remove dependency from cloud-agent to cloud-common 2013-08-19 15:13:23 -07:00
Min Chen
3937a7b5a5 CLOUDSTACK-4400:[object_store_refactor] Three entries for one template
in template_store_ref when MS was restarting during template download.
2013-08-19 15:01:57 -07:00
Alex Huang
494ea5052f Made IpAddressManager a manager 2013-08-19 14:13:31 -07:00
Alex Huang
f23f1530e7 Removed missing class from application context 2013-08-19 14:13:31 -07:00
Alex Huang
9f62df580e Fixed up the unit tests 2013-08-19 14:13:30 -07:00
Alex Huang
45d239882b Added missing files 2013-08-19 14:13:30 -07:00
Alex Huang
092e20204a Divided NetworkManagerImpl into two files: NetworkManagerImpl and IpAddressManagerImpl 2013-08-19 14:13:29 -07:00
Alex Huang
564502abd7 Moved the virtualmachine implementation into engine/orchestration 2013-08-19 14:13:28 -07:00
Alex Huang
4ba359c3fe Moved VirtualMachineManager into engine 2013-08-19 14:13:28 -07:00
Jessica Wang
9064acbb07 CLOUDSTACK-3464: UI > VPC > Router > Public IP Addresses > detailView - fix associated network name. 2013-08-19 11:39:52 -07:00
Chip Childers
1f69ad1159 Removing apache RAT plugin version spec, so that we can use version 0.10 2013-08-19 14:31:06 -04:00
Min Chen
5d3bc5339e CLOUDSTACK-4399:[Templates] template entries are deleted from
template_store_ref when downloadTemplate times out.
2013-08-19 11:27:16 -07:00
Sheng Yang
3c1b6c69be Automation: Disable TestVMLifeCycleSharedNwVPC test suite
Rather than TestVMLifeCycleVPC.

Shared network's setup is wrong.
2013-08-19 11:25:37 -07:00
Alena Prokharchyk
f1c63df665 CLOUDSTACK-4403: vmInstanceDao - initialize the SearchBuilder in init() method instead of the search dao method which wasn't thread safe, and could cause NPEs during search builder initializing. 2013-08-19 10:28:23 -07:00
Sateesh Chodapuneedi
17b6f1c570 CLOUDSTACK-4294 After upgrade of CloudStack to 4.2, support old vswitch type in existing clusters if user changes the vswitch backend to another type of vSwitch
While upgrading to 4.2, the type of vswitch being used by each cluster is persisted to cluster_details table. This helps if user want to change the type of vswitch used in a zone or entire cloud later on but leave existing cluster continue to use old vswitches. Hence even after modifying the type of vswitch at cloud level (by modifying global configuration parameters) or modifying the type vswitch at zone level (by modifying the traffic label) would not disturb operation of existing clusters.

Signed-off-by: Sateesh Chodapuneedi <sateesh@apache.org>
2013-08-19 16:32:14 +05:30
Nitin Mehta
9de7e0af18 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:04:12 +05:30
Prasanna Santhanam
0eb1690872 CLOUDSTACK-4340: Add more debug logging
VM (id) moves from host (id) to host (id)

Signed-off-by: Prasanna Santhanam <tsp@apache.org>
(cherry picked from commit da0bb630057550cb5707a39cddb58a86a24850dd)
2013-08-19 15:42:37 +05:30
Prasanna Santhanam
aec34865ea 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>
(cherry picked from commit 8576b1ddc983d74caef77c3bac51103ab26cfc8c)
2013-08-19 15:18:04 +05:30
Prasanna Santhanam
f13a6a0deb CLOUDSTACK-4225: Fix template references in setUpClass
Signed-off-by: Prasanna Santhanam <tsp@apache.org>
(cherry picked from commit 7768613edc4f9ae0787e555f2bf4bd2fb42a4c6e)
2013-08-19 15:00:21 +05:30
Prasanna Santhanam
12380835b5 CLOUDSTACK-4394: remove cleanups for offerings
offerings do not need to be cleaned up

Signed-off-by: Prasanna Santhanam <tsp@apache.org>
(cherry picked from commit b9c2471cfc5e051db4478783c6928f6e0c5a1f7a)
2013-08-19 14:39:43 +05:30
radhikap
6d90371db8 Revert "CLOUDSTACK-4393 typo fixed"
This reverts commit b9f029857bdf709bb3b3b50d75b028b0760dc598.
2013-08-19 14:18:53 +05:30
radhikap
b9f029857b CLOUDSTACK-4393 typo fixed 2013-08-19 13:59:44 +05:30
radhikap
a2e615c441 CLOUDSTACK-1316 some minor edits 2013-08-19 13:02:42 +05:30
Sateesh Chodapuneedi
41f2c75aee 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:55:17 +05:30
Bharat Kumar
66d7615065 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:15:06 +05:30
radhikap
921f783a86 CLOUDSTACK-1316 location of cloud-set-guest-password updated 2013-08-19 11:06:58 +05:30
Prasanna Santhanam
35b5df61c0 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>
(cherry picked from commit 3d39716c8fed2b27edbd4475a7e0915b1200123c)
2013-08-19 10:40:55 +05:30
Jessica
c9e42b462d 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:59:37 -07:00
Rajesh Battala
bb26b854fb CLOUDSTACK-4237 [Autoscale] Account deletion doesn't delete all autoscaled LB rules created by the account 2013-08-17 14:32:17 +05:30
Marcus Sorensen
1b52a298e8 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:25:14 -06:00
Mike Tutkowski
9f4889a868 CLOUDSTACK-3291: Document changes in CloudStack primary storage and document SolidFire plug-in 2013-08-16 22:54:23 -06:00