Commit Graph

19475 Commits

Author SHA1 Message Date
Prasanna Santhanam 26044101b6 CLOUDSTACK-3698: Ensure VM is accessible before stopping VR
Signed-off-by: Prasanna Santhanam <tsp@apache.org>
(cherry picked from commit 368f32fa25)
2013-07-24 18:04:49 +05:30
Koushik Das 58b981bd03 CLOUDSTACK-3777: IndexOutOfBoundsException while adding Cisco VNMc provider on a upgraded setup
Isolation methods may not always be present for a physical network. So not using it while adding VNMC appliance
2013-07-24 17:45:03 +05:30
Jayapal ce8a869a92 CLOUDSTACK-3623 Enabled rps, rfs on vpc VR 2013-07-24 16:55:36 +05:30
Prasanna Santhanam 8e30ee3f1a Revert "CLOUDSTACK-3696: Test case test_project_limits.TestResourceLimitsProject.test_06_volumes_per_project failed due to volume usage exceeded for project."
Despite the patch the test fails. Removing the patch applied for testing
locally.

This reverts commit 605a31eb70.
2013-07-24 16:52:59 +05:30
Girish Shilamkar 4a7f5d59d6 CLOUDSTACK-3594: Fix regression in Affinity Groups tests
One of the patches introduced a regression where account
and domainid parameters were changed. Therefore Affinity
Groups for those accounts were not found and tests failed.

Signed-off-by: Prasanna Santhanam <tsp@apache.org>
2013-07-24 16:52:45 +05:30
Prasanna Santhanam 74ac8575b0 CLOUDSTACK-3724: optimizing cleanup
Signed-off-by: Prasanna Santhanam <tsp@apache.org>
2013-07-24 16:52:45 +05:30
Sanjay Tripathi 605a31eb70 CLOUDSTACK-3696: Test case test_project_limits.TestResourceLimitsProject.test_06_volumes_per_project failed due to volume usage exceeded for project.
Signed-off-by: Prasanna Santhanam <tsp@apache.org>
2013-07-24 16:52:45 +05:30
Wido den Hollander 722266378f CLOUDSTACK-3776: Mount SSVM root filesystem with sync and noatime 2013-07-24 11:32:12 +02:00
Sheng Yang 26f3427b66 CLOUDSTACK-3533: Add space after IP for dhcp_release
To prevent use the wrong mac of the IP with same prefix.

Thanks to Wei Zhou's comment!
2013-07-24 00:51:58 -07:00
Sheng Yang 730021c107 CLOUDSTACK-3533: Fix missing parameter of dhcp_release 2013-07-24 00:03:14 -07:00
Likitha Shetty 127b0d7cd9 CLOUDSTACK-3743. test_tags.py:TestResourceTags not tearing down the account. 2013-07-24 11:16:00 +05:30
Sheng Yang 839ccf389f Automation: Add sleep for RvR state checking
Because the mgmt server would update RvR state only every 30 seconds by default.
2013-07-23 22:35:10 -07:00
Sheng Yang e473e9aa66 Automation: Fix clean up in tearDown
We shouldn't clean up class-scope resources(_cleanup). We should create local
ones(cleanup) then clean it.

So:
cls._cleanup would be used for class-scope resources.
self.cleanup would be used for each unit.
2013-07-23 21:19:32 -07:00
Sateesh Chodapuneedi c5131af658 CLOUDSTACK-3758 [Vmware][ZWPS] Failed to create volume from snapshot
Signed-off-by: Sateesh Chodapuneedi <sateesh@apache.org>
2013-07-24 03:57:05 +05:30
Mice Xia 9ca72536c3 CLOUDSTACK-3601 add vmsnapshots related global setting to upgrade sql 2013-07-24 09:22:38 +08:00
Sheng Yang 3af96338dc CLOUDSTACK-3533: Fix dhcp_release for IPv6
dhcp_release doesn't support IPv6, though it won't return failure(that's a bug
that has been fixed in recent release). So if it's IPv6, we would still use the
old way(restart dnsmasq) to refresh the lease.
2013-07-23 18:08:44 -07:00
Min Chen ae248afc57 CLOUDSTACK-3639:Unable to create template from snapshot when there are
multiple secondary storages in the zone.
2013-07-23 16:55:26 -07:00
John Burwell 040292d606 - CLOUDSTACK-2583: PEP-8 compliance for s3xen 2013-07-23 18:40:26 -04:00
Sheng Yang e06f867bdd CLOUDSTACK-3250: Add PvlanSetupCommand into maintenance mode allowed command list
Then the rule in the old host can be cleared.
2013-07-23 15:18:55 -07:00
Brian Federle c1102fcc79 Add disallowSpecialCharacters to some fields 2013-07-23 15:13:19 -07:00
Jessica Wang fcf111d80a CLOUDSTACK-2569: UI > Infrastructure menu > zone > physical network > network service provider > Cisco VNMC > Cisco VNMC Provider - display State as Absent if Cisco VNMC provider doesn't exist. 2013-07-23 15:11:28 -07:00
John Burwell c1c1e75663 - CLOUDSTACK-2583: Backports the s3xen plugin to Python 2.4 2013-07-23 18:06:54 -04:00
Anthony Xu 121f947f62 when create local link netowrk fails for xenserver, adding host should fail 2013-07-23 15:04:25 -07:00
Min Chen e13959afc3 CLOUDSTACK-3716: State of expunged volumes are not consistent in volumes
table and volume_store_ref.
2013-07-23 14:56:15 -07:00
Jessica Wang 24af02e5b5 CLOUDSTACK-2569: UI > Infrastructure menu > zone > physical network > network service providers > Cisco VNMC > If Cisco VNMC provider doesn't exist, show Add action and hide enable, disable action. 2013-07-23 14:52:55 -07:00
Alena Prokharchyk 8d1a670026 CLOUDSTACK-3478: fixed volume destroy. #1 - don't call destroy() when the volume is in Expunged/Expunging/Destroy state. #2 - added state transition for Expunged state 2013-07-23 14:40:30 -07:00
Sowmya Krishnan 7551d8b1a9 CLOUDSTACK-3693 Fix more account objects 2013-07-23 13:58:02 -07:00
Sowmya Krishnan cfffe63afb CLOUDSTACK-3697 LB rule clean up already done in cleanup project 2013-07-23 13:56:39 -07:00
Sheng Yang 9c0620f71e Automation: Fix different names for cleanup 2013-07-23 13:14:34 -07:00
Sheng Yang a7359708a3 Automation: Fix typo in test_redundant_network_rules
It result in failed to setUp and clean up.
2013-07-23 12:23:24 -07:00
Sheng Yang 49b44e4cd7 Automation: Fix enormous missing tearDown() for test cases
This result in countless test case failure because many test case units didn't
clean up after it.

The regression test result should be improved quite a bit after this change.
2013-07-23 12:10:48 -07:00
Jessica Wang 09b898adbc CLOUDSTACK-2760: UI > Infrastructure menu > System VMs > fix a bug that Agent State was not mapped correctly between systemVMs and hosts. 2013-07-23 11:38:44 -07:00
Alena Prokharchyk 682652865e CLOUDSTACK-3733: fixed migrateVm - no need to cast vm to user vm to retrieve the iso information. Extract iso information from VirtualMachineProfile object passed to the method. 2013-07-23 10:56:39 -07:00
Milamber 50557ba1e2 Update L10N strings from Transifex to repo. Remove 3 new lines in Japanese translation (fix on Transifex) 2013-07-23 16:39:53 +00:00
Milamber fc274ab619 Update L10N strings from Transifex to repo 2013-07-23 16:16:02 +00:00
Sowmya Krishnan 1cd435e25a Fixed account objects CLOUDSTACK-3726
Signed-off-by: Prasanna Santhanam <tsp@apache.org>
2013-07-23 20:51:03 +05:30
Sanjay Tripathi a06b3f40eb CLOUDSTACK-3724: Test case "test_vpc_vms_deployment.py" failed to find network offering.
Signed-off-by: Prasanna Santhanam <tsp@apache.org>
2013-07-23 20:32:48 +05:30
Sanjay Tripathi e2e3b9a288 CLOUDSTACK-3727: Resource Count calculation happens for deleted accounts on restart of managment server.
Signed-off-by: Prasanna Santhanam <tsp@apache.org>
(cherry picked from commit a7084b2dac)
2013-07-23 20:25:41 +05:30
Likitha Shetty 79209c1330 CLOUDSTACK-3526. When volume upload is in progress the state of the volume is UploadError.
Update volume_view to join volumes table with volume_store_ref table instead of volume_host_ref table.
2013-07-23 18:41:20 +05:30
Sanjay Tripathi 6b2c9bf3ae CLOUDSTACK-3689: Test case test_accounts.TesttemplateHierarchy.test_01_template_hierarchy failed during ListTemplate call.
Signed-off-by: Prasanna Santhanam <tsp@apache.org>
2013-07-23 18:01:42 +05:30
Prasanna Santhanam c44fa2cc20 CLOUDSTACK-3678: Multiple fixes to shared network tests
- No need to cleanup offerings as they are lightweight entities
- Cleanup order changed to clean accounts, networks and then the domains

Signed-off-by: Prasanna Santhanam <tsp@apache.org>
2013-07-23 18:00:23 +05:30
Prasanna Santhanam f05118b5b0 CLOUDSTACK-3728: same issue as CLOUDSTACK-3719
Make the size explicit parameter to random_gen() for snapshot data

Signed-off-by: Prasanna Santhanam <tsp@apache.org>
2013-07-23 18:00:23 +05:30
Saksham Srivastava e2f2bc5f0b CLOUDSTACK-3382. Alert should be raised if a vm is migrated from dedicated to non-dedicated resource and vice versa.
Alerts are generated for VM migration between:
1) Source host is dedicated and destination host is not.
2) Source host is not dedicated and destination host is dedicated.
3) Both hosts are dedicated to different accounts/domains
2013-07-23 13:22:44 +05:30
Prasanna Santhanam c319ba3ba7 CLOUDSTACK-3719: wrong declaration of random_gen call
since random_gen can take an id to prepend a testcase identifier to the
created cloud resource, we need to explicitly specify the size param. In
vmsnapshot test create the random_data string of size (100)

Signed-off-by: Prasanna Santhanam <tsp@apache.org>
2013-07-23 11:39:36 +05:30
Radhika PC 73e896fd3c CLOUDSTACK-3546, CLOUDSTACK-3548, CLOUDSTACK-3549 2013-07-23 11:38:51 +05:30
Devdeep Singh 0760a5197b CLOUDSTACK-3708, Migration of a volume attached to a running instance isn't working (Storage motion).
The request to migrate was coming till ancient data motion strategy but wasn't worked on and forwarded
to the resource. The code probably got removed by a bad merge. Bringing it back.
2013-07-23 10:37:10 +05:30
Sheng Yang ec3466b276 CLOUDSTACK-3643: Automation: Fix VPC test cases
Also add a timeout for network connection testings.

Ideally this timeout should be around 30s or even less, but keep it at 60s for
now for safe.
2013-07-22 18:45:09 -07:00
Min Chen 24bf9b8552 CLOUDSTACK-3716:NPE triggered in DownloadListener. 2013-07-22 17:24:09 -07:00
Min Chen c70881645e CLOUDSTACK-3716:NPE triggered in DownloadListener 2013-07-22 17:12:23 -07:00
Brian Federle 2eae870335 CLOUDSTACK-3660: Add isdynamicallyscalable field
Add isdynamicallyscalable field to storage -> create template dialog
2013-07-22 16:52:50 -07:00