Commit Graph

19448 Commits

Author SHA1 Message Date
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
Brian Federle df3ae98054 CLOUDSTACK-3710: Remove over-commit ratio fields from edit cluster UI
Removes over-commit fields as editable. This also removes the 'edit
cluster' action, as there are no longer any fields to edit.
2013-07-22 16:20:17 -07:00
Anthony Xu 5d9fa5d42e throw exception if stopping VM fails, then UI can show the error message in stead of fails silently 2013-07-22 16:17:41 -07:00
Anthony Xu b77723df13 don't update VM state if the state doesn't really change. updating VM state increases the update count, which might cause real VM update fail 2013-07-22 16:17:41 -07:00
Min Chen 9f9f7d3ffd Remove CLOUDSTACK-3513 debugging messages. 2013-07-22 16:15:45 -07:00
Min Chen 5ccfc9df5a CLOUDSTACK-3513:[Automation] Failed to copy iso and template between
zones. Failed to pass generated copy url to DownloadCommand.
2013-07-22 16:15:45 -07:00
Brian Federle c2faa09068 CLOUDSTACK-2990: Before scape-up, present prompt to user if on VMware 2013-07-22 16:08:13 -07:00
Amogh Vasekar 6d5435e98f Adding encryption flag
CLOUDSTACK-3308
UCS:DB: UCS Manager password should not get stored in plain text.
2013-07-22 15:35:49 -07:00
Anthony Xu db9fa40bf9 correct the log message 2013-07-22 15:22:41 -07:00
Anthony Xu bdac0f8ebc in one zone, Admin should not be allowed to add a Shared Network with a subnet that is already associated with another Vlan. 2013-07-22 14:23:11 -07:00
Brian Federle eeb9b1e320 CLOUDSTACK-3391: Add missing action icons 2013-07-22 14:15:46 -07:00
Brian Federle 89a47abc1e CLOUDSTACK-3104: Fix view all button alignment in IE 2013-07-22 14:06:29 -07:00
Jessica Wang f39de1d791 CLOUDSTACK-3427: UI > UCS manager > implement listUcsManager API since it has been fixed at server-side. 2013-07-22 13:44:29 -07:00
Alena Prokharchyk 4e59c4daf9 CLOUDSTACK-3720: fixed API doc for listResourceLimits API 2013-07-22 13:24:17 -07:00
Brian Federle 3f405be8e0 CLOUDSTACK-2162: Fix missing provider field on secondary storage step 2013-07-22 11:20:37 -07:00
Alena Prokharchyk f328c7b1aa CLOUDSTACK-3711: return descriptive error message to the regular user when his resource limit has exceed. No harm in returning this info as the user aware of the resource limits/number of resources available for allocation, for his account 2013-07-22 10:25:39 -07:00
Girish Shilamkar b44c620850 CLOUDSTACK-3610: Fix regression test "test_accounts.TestUserLogin"
Now password is sent as clear text as per CLOUDSTACK-1734
So changed marvin to handle this. Plus domainid was not
passed in the testcase and marvin used "domainid" instead of
"domainId" as a parameter. Fixed these two errors.

Signed-off-by: Prasanna Santhanam <tsp@apache.org>
2013-07-22 22:53:09 +05:30
Sanjay Tripathi 7d6c091c05 CLOUDSTACK-3695: test_add_user_to_project failed with missing attribute "email".
Signed-off-by: Prasanna Santhanam <tsp@apache.org>
(cherry picked from commit 983b7c62a464af94aabf0686671c986025a19788)
2013-07-22 22:53:09 +05:30
Prasanna Santhanam a659d78905 CLOUDSTACK-3075: When only setUpClass() is creating account
Missed scenario for appending test case names to accounts when
setUpClass calls the account.creation integration library.

Signed-off-by: Prasanna Santhanam <tsp@apache.org>
2013-07-22 22:53:09 +05:30
Prasanna Santhanam d0695c1ffc CLOUDSTACK-3672: Multiple minor fixes to tags tests
- SourceHost is an id
- Invalid format in debug() message corrected

Signed-off-by: Prasanna Santhanam <tsp@apache.org>
2013-07-22 22:53:09 +05:30
Prasanna Santhanam 3ac0e95ffb Minor fixes to the test_accounts
when an account is deleted listAccounts raises an exception.

Signed-off-by: Prasanna Santhanam <tsp@apache.org>
2013-07-22 22:53:08 +05:30
Gaurav Aradhye 4f22561f69 CLOUDSTACK-3679: Added subsequent change that was needed after change in try_ssh function
Signed-off-by: Prasanna Santhanam <tsp@apache.org>
2013-07-22 22:53:08 +05:30
Wei Zhou cfc85eb68f ui change: Disk I/O polling statistics 2013-07-22 16:09:50 +02:00
Nitin Mehta c09d76077e CLOUDSTACK-3510
Persist the download url in the db for volume download.
Signed off by : nitin mehta<nitin.mehta@citrix.com>
2013-07-22 17:57:57 +05:30
Prasanna Santhanam fb75f51755 CLOUDSTACK-3075: Test names appended with <module>-<testname>
Prevent chained appending of the testclass/testnames to the accounnt
names.

Signed-off-by: Prasanna Santhanam <tsp@apache.org>
2013-07-22 12:49:42 +05:30
Prasanna Santhanam 77aa85d257 CLOUDSTACK-3075: append module/suite name
If the test doesn't create the account within the testXxx method we miss
the trail of the accountname because the setUpClass() created the
account. Append the module name in advance in such cases to identify the
account that was created in the suite before any tests were executed.

Signed-off-by: Prasanna Santhanam <tsp@apache.org>
2013-07-22 12:20:36 +05:30
Sheng Yang 8a257fb07c CLOUDSTACK-3699: Fix ARP broadcast of VPC router
Every new public IP should be send out ARP broadcast.
2013-07-21 22:21:17 -07:00
Sheng Yang d672272a77 CLOUDSTACK-3643: Automation: Fix test_vpc_network.py
1. Port 80 won't help on ICMP
2. RvR doesn't support VPC now.
2013-07-21 22:21:17 -07:00