Commit Graph

23476 Commits

Author SHA1 Message Date
Santhosh Edukulla 2eae404cf7 Fixed failing DatabaseAccessObject unit test cases
Signed-off-by: Daan Hoogland <daan@onecht.net>
(cherry picked from commit ff46258022)
2014-07-28 16:02:43 +02:00
Santhosh Edukulla eb16a4e9e3 Fixed Resource Leaks
Signed-off-by: Daan Hoogland <daan@onecht.net>
(cherry picked from commit c690320f0b)
2014-07-28 16:02:42 +02:00
Prachi Damle 20a457dd6e CLOUDSTACK-6941: Can't choose storage for the volume, when attaching uploaded data volume to VM
Changes:
- Only way to choose a certain storage pool is by using disk_offering_tags
- Added a parameter to take in a disk offering Id.
- Admin will have to create a custom sized disk offering and tag it as necessary for the user
- This custom offering Id should be passed during uploadVolume to associate the volume with this disk offering

(cherry picked from commit 13bd8beb91)
2014-07-28 16:02:41 +02:00
Min Chen 30b22ae275 CLOUDSTACK-6940:Templates cannot be downloaded from URLs without
matching file extensions.

(cherry picked from commit 008162a757)
2014-07-28 16:02:41 +02:00
Alena Prokharchyk 15ffec2632 CLOUDSTACK-6934: don't try to detach volume from host when volume was never allocated to a primary storage
(cherry picked from commit 92fea032da)
2014-07-28 16:02:40 +02:00
Jessica Wang e988c917c6 CLOUDSTACK-6936: UI - (1)dialog widget > dropdown field > provide a blank option if there is no data for option(s) in a dropdown field. (2) Add Primary Storage dialog - cluster dropdown field - still calls args.response.success() when there is no data for option(s).
(cherry picked from commit b8a2961583)
2014-07-28 16:02:40 +02:00
Gaurav Aradhye b56246c970 CLOUDSTACK-6906: Fixed volume resize BVT failure
(cherry picked from commit 8aea23a4e3)
2014-07-28 16:02:38 +02:00
Nitin Mehta 2422754d42 CLOUDSTACK-6929: HAPlanner (SkipHeuresticsPlanner) gets added into the list of regular planners currently, add it in the exclude list. Also create allocator order list
(cherry picked from commit 6fca4eb0f1)
2014-07-28 16:02:38 +02:00
Alena Prokharchyk 388af6c349 CLOUDSTACK-6919: don't attempt to restart user vms having no Root volume attached
(cherry picked from commit 146867eb07)
2014-07-28 16:02:36 +02:00
Jessica Wang b85efa6765 UI - modules - replace addExtraPropertiesIfDrModuleIncluded() with cloudStack.dr.sharedFunctions.addExtraProperties().
(cherry picked from commit 497042508a)
2014-07-28 16:02:35 +02:00
Jessica Wang 390f0fb68d CLOUDSTACK-6852: UI - modules - remove variable drModuleIncluded.
(cherry picked from commit 508a966aa1)
2014-07-28 16:02:34 +02:00
Alena Prokharchyk 31ed30af56 CLOUDSTACK-6907: lisVolumes - make a decision whether to set service or disk offering in the response, based on the DiskOfferingVO type entry, not the volume Type
(cherry picked from commit 43e479d238)
2014-07-28 16:02:33 +02:00
Rajani Karuturi 713572887c Fixed few coverity issues unused assignments, boxing and unboxing of values etc.
Signed-off-by: Koushik Das <koushik@apache.org>
(cherry picked from commit 32a7d5d387)
2014-07-28 16:02:33 +02:00
Girish Shilamkar 9a76b755b9 CLOUDSTACK-6777: Enable testcase as it looks to be env issue
(cherry picked from commit 79364afcf5)
2014-07-28 16:02:32 +02:00
Sheng Yang 463527940a Make CreateVpnGatewayCmd implements BaseAsyncCreateCmd
Instead of BaseAsyncCmd.

(cherry picked from commit 4c168bf9db)
2014-07-28 16:02:32 +02:00
Jessica Wang 20c3f1c0ed CLOUDSTACK-6889: UI - create network offering - to reduce API call size, not pass any parameter whose value entered on UI happens to be the same as its default value at server-side.
(cherry picked from commit 81857d0577)
2014-07-28 16:02:31 +02:00
Wei Zhou d0e0edca11 CLOUDSTACK-6893: fix enum ValueOf issue which causes systemvm fail to start
(cherry picked from commit 63ff5a7cbc)
2014-07-28 16:02:31 +02:00
Bharat Kumar 4dc62bd90e CLOUDSTACK-6879 Tagged the testcase test_vpc_site2site_vpn with the bugId
Signed-off-by: Abhinandan Prateek <aprateek@apache.org>
(cherry picked from commit 0684608251)
2014-07-28 16:02:30 +02:00
Bharat Kumar 6c85ff5cfa CLOUDSTACK-6875 Tagged the testcase with the bugId.
Signed-off-by: Abhinandan Prateek <aprateek@apache.org>
(cherry picked from commit e58cc98c74)
2014-07-28 16:02:30 +02:00
Bharat Kumar 5bbf287837 CLOUDSTACK-6878 Tagged the testcase test_01_snapshot_root_disk with the bugId
Signed-off-by: Abhinandan Prateek <aprateek@apache.org>
(cherry picked from commit 93c692ea28)
2014-07-28 16:02:30 +02:00
Bharat Kumar d5eef496cc CLOUDSTACK-6876 Tagged the test_deploy_vgpu_enabled_vm with the relavent bug id.
Signed-off-by: Abhinandan Prateek <aprateek@apache.org>
(cherry picked from commit c7013c2ca3)
2014-07-28 16:02:29 +02:00
Bharat Kumar 3d5a7abba9 CLOUDSTACK-6877 Tagged the testcase with the bugId
Signed-off-by: Abhinandan Prateek <aprateek@apache.org>
(cherry picked from commit 06bcc8d9ee)
2014-07-28 16:02:29 +02:00
Jessica Wang a3e85292ba CLOUDSTACK-6889: UI - create network offering - remove non-needed parameters from API call whose size might exceed limit in some cases.
(cherry picked from commit 64825549d2)
2014-07-28 16:02:29 +02:00
Jessica Wang dfb4d90937 CLOUDSTACK-6852: UI - modules - add DR fields to volume detailView, network detailView, zone detailView.
(cherry picked from commit 1641b28054)
2014-07-28 16:02:28 +02:00
Jessica Wang 6519a46d28 CLOUDSTACK-6852: UI - modules - (1) add new shared function addExtraPropertiesIfDrModuleIncluded(). (2) add DR fields to Instances detailView.
(cherry picked from commit e9ebe6e22e)
2014-07-28 16:02:27 +02:00
Jessica Wang 8a58bd3fed CLOUDSTACK-6858: UI - remove obsolete variable rootAccountId whose value is no longer 1.
(cherry picked from commit d991e37865)
2014-07-28 16:02:27 +02:00
Jessica Wang 4b2756ab9c CLOUDSTACK-6852: UI - modules - add global variable drModuleIncluded.
(cherry picked from commit c29ed73d4d)
2014-07-28 16:02:27 +02:00
Jessica Wang c9d4395bba CLOUDSTACK-6852: UI - attach volume action - VM dropdown - populate options based on whether module is included and whether service is enabled.
(cherry picked from commit 9b9154132d)
2014-07-28 16:02:26 +02:00
Jessica Wang f7697637cb CLOUDSTACK-6852: UI - add sharedFunction isModuleIncluded().
(cherry picked from commit 431ea8e9c2)
2014-07-28 16:02:25 +02:00
Bharat Kumar ebcb5a5514 CLOUDSTACK-6769 Test case failure in test_iso.py Disableing all the tests in this suite untill issues mentioned in the above ticket are resolved.
Signed-off-by: Abhinandan Prateek <aprateek@apache.org>
(cherry picked from commit b4cb969d9b)
2014-07-28 16:02:25 +02:00
Jessica Wang 90c50f0fa0 CLOUDSTACK-6805: UI > create account > fix a bug that account creation failed when password contains # character.
(cherry picked from commit 76c71c7bc1)
2014-07-28 16:02:24 +02:00
Gaurav Aradhye ae837e34c6 CLOUDSTACK-6782: Egress FW rules test cases - Format unicode to string before string matching
(cherry picked from commit 323de6823d)
2014-07-28 16:02:23 +02:00
Harikrishna Patnala c6a6b5b698 Disabling the failed test cases mentioned in the following tickets integration.smoke.test_iso - CLOUDSTACK-6769, CLOUDSTACK-6774
Signed-off-by: Abhinandan Prateek <aprateek@apache.org>
(cherry picked from commit 80b9849981)
2014-07-28 16:02:23 +02:00
Jessica Wang 97e1294eed CLOUDSTACK-6789: UI > User page > fix a bug that a domain-admin was unable to delete other domain-admin in the same domain.
(cherry picked from commit 3d1bbeb262)
2014-07-28 16:02:22 +02:00
Harikrishna Patnala 360e5a2770 Fixed Regression issues mentioned in following test failures
integration.smoke.test_iso - CLOUDSTACK-6774, CLOUDSTACK-6769
integration.smoke.test_non_contigiousvlan - CLOUDSTACK-6776
integration.smoke.test_primary_storage - CLOUDSTACK-6770
integration.smoke.test_secondary_storage – CLOUDSTACK-6777, CLOUDSTACK-6773
integration.smoke.test_scale_vm - CLOUDSTACK-6768

Signed-off-by: Abhinandan Prateek <aprateek@apache.org>
(cherry picked from commit 2a28a3c5a4)
2014-07-28 16:02:22 +02:00
Koushik Das 794e8a6907 CLOUDSTACK-6767: [Automation] integration.smoke.test_volumes.TestVolumes.test_07_resize_fail is failing on simulator
This test is not supported for simulator, updated tags from 'selfservice' to 'provisioning'

(cherry picked from commit 60b82abe20)
2014-07-28 16:02:21 +02:00
Gabor Apati-Nagy d260973747 CLOUDSTACK-6565: [UI] New Zones tab for Templates and ISOs
(cherry picked from commit 3f1dc2534f)
2014-07-28 16:02:18 +02:00
Koushik Das 007958150d CLOUDSTACK-6708: [Automation]: Few suites were failing on simulator run
Disabled test_deploy_vm_start_failure test case which is failing. This is based on the new simulator changes and would need to be executed sequentially.

(cherry picked from commit 917d7b8b72)
2014-07-28 16:02:18 +02:00
Doug Clark a83bfa57d0 Add the shrinkok flag to allow volume shrinking in resize tests
Signed-off-by: SrikanteswaraRao Talluri <talluri@apache.org>
(cherry picked from commit 960b4d1896)
2014-07-28 16:02:17 +02:00
Anthony Xu 9fbb35d13d fixed a typo
(cherry picked from commit 40207929f7)
2014-07-28 16:02:17 +02:00
Koushik Das aa9f518613 CLOUDSTACK-6740: Direct agent command throttling improvements
List of changes:
1. Created a separate thread pool for handling cron and ping tasks. The size of the pool is based on direct.agent.pool.size. The existing direct agent pool will run all commands other than cron and ping.
2. For normal tasks (generated as part of user/admin API calls), if throttle limit is reached then tasks get queued up for subsequent execution once threads are available.
3. For cron and ping tasks (internally generated by MS like ping, VM sync etc.), if throttle limit is reached then these gets rejected. Since these are internally generated these can be rejected without any issues.

(cherry picked from commit 120da605b0)
2014-07-28 16:02:17 +02:00
Anthony Xu 742e1b1954 if networkID is not specified, get one network with free ips.
(cherry picked from commit 8c5a9ec4de)
2014-07-28 16:02:16 +02:00
Jessica Wang b91727ba89 CLOUDSTACK-6729: UI - create compute offering/create disk offering - determine whether to pass certain data to API comamnd upon isCustomized checkbox/isPublic checkbox's value.
(cherry picked from commit 22f503aa2b)
2014-07-28 16:02:15 +02:00
Nitin Mehta 5c9ca6c22d CLOUDSTACK-6699: listResouceDetails - enhance it to list by (key,value) pair - allowed to Admin only.
(cherry picked from commit d5425e1a4a)
2014-07-28 16:02:13 +02:00
Gaurav Aradhye 13a4d56931 CLOUDSTACK-6689: Fixed indentation issue in persistent network test cases
(cherry picked from commit a418ee443d)
2014-07-28 16:02:12 +02:00
Gaurav Aradhye ef932a829d Code improvement: Persistent Network Test cases, Adding check to verify network state and fail test case in case network state is not as desired
(cherry picked from commit 3c43401449)
2014-07-28 16:02:11 +02:00
Gaurav Aradhye 8dd32992ee CLOUDSTACK-5887: Resolved issue in test_base_image_updation.py
(cherry picked from commit 1561138157)
2014-07-28 16:02:10 +02:00
Jessica Wang cc597d07fd CLOUDSTACK-6626: UI - fix a bug that g_userid was not declared.
(cherry picked from commit 9782970ef8)
2014-07-28 16:02:09 +02:00
Nitin Mehta 1b3f0974f4 CLOUDSTACK-6530: Make more networking entities implement Displayable interface.
(cherry picked from commit f2c3114bf8)
2014-07-28 16:02:09 +02:00
Girish Shilamkar 956d4dc3f5 Fixed test_pvlan.py to get correct zone id
(cherry picked from commit cc0ed93a13)
2014-07-28 16:02:08 +02:00