Commit Graph

23493 Commits

Author SHA1 Message Date
Anshul Gangwar 8fb89cdc8e CLOUDSTACK-6504: removed warnings coming in building hyper-v agent code
(cherry picked from commit 66f8e0e1b5)

Conflicts:
	plugins/hypervisors/hyperv/DotNet/ServerResource/HypervResource/HypervResourceController.cs
	plugins/hypervisors/hyperv/DotNet/ServerResource/HypervResource/WmiCallsV2.cs
2014-07-28 17:31:03 +02:00
Anshul Gangwar 48f9453a74 CLOUDSTACK-6470: while stopping vm in hyper-v, now we are first trying to shutdown it gracefully before turning it off forcefully
(cherry picked from commit 4a85e22264)

Conflicts:
	plugins/hypervisors/hyperv/DotNet/ServerResource/HypervResource/WmiCallsV2.cs
2014-07-28 17:24:53 +02:00
Gaurav Aradhye d5220a88a0 CLOUDSTACK-7127: Fix for addRegion failure, avoiding regionid 1 while creating new region through test case
(cherry picked from commit ca59f01602)
2014-07-28 16:02:56 +02:00
Gaurav Aradhye 724c8dc7c9 CLOUDSTACK-7125: Fixed test_blocker_bugs.py, added code to wait for snapshots to be in 'BackedU' state
(cherry picked from commit 4395308bd8)
2014-07-28 16:02:56 +02:00
Ashutosh K e9d658e16e CLOUDSTACK-7014: Resolving test script related to affinity groups tests
(cherry picked from commit 1cc6317b5e)
2014-07-28 16:02:53 +02:00
Ashutosh K 843e604757 CLOUDSTACK-7025: Resolving test script issue
(cherry picked from commit 33fdfbc834)
2014-07-28 16:02:53 +02:00
Koushik Das c72f55f9f3 Removed invalid assertions from code. Now the MS can be run with assertions enabled (using -ea flag)
(cherry picked from commit 610d6f0b99)
2014-07-28 16:02:52 +02:00
Koushik Das d14d0d7c92 Some minor fixes in simulator code
(cherry picked from commit a0486aedca)
2014-07-28 16:02:51 +02:00
Sanjay Tripathi 3d62fbc6e5 CLOUDSTACK-7029: listCapacity fails when podid argument is specified.
(cherry picked from commit ef2cf137a5)
2014-07-28 16:02:51 +02:00
Sheng Yang bb5ba26b60 Polish IPv6 input error information
(cherry picked from commit 09abcf354f)
2014-07-28 16:02:50 +02:00
Koushik Das ab85d00d7c Some fixes in the simulator
1. Fixed JSON response deserialization. While creating a mock a JSON can be passed which will be deserialized into a response object and returned from agent layer.
For e.g. for a mock corresponding to StopCommand, a response like "{"com.cloud.agent.api.StopAnswer":{"result":false,"wait":0}}" can be passed.
2. Ability to mock PingCommand (returned as part of getCurrentStatus() agent method). As a part of this a mocked VM state report can be returned.
For e.g. {"com.cloud.agent.api.PingRoutingWithNwGroupsCommand":{"newGroupStates":{},"newStates":{},"_hostVmStateReport":{"v-2-VM":{"state":"PowerOn","host":"SimulatedAgent.e6df7732-69b2-429b-9b6a-3e24dddfa2e0"},"i-2-5-VM":{"state":"PowerOff","host":"SimulatedAgent.e6df7732-69b2-429b-9b6a-3e24dddfa2e0"}},"_gatewayAccessible":true,"_vnetAccessible":true,"hostType":"Routing","hostId":3,"contextMap":{},"wait":0}}

(cherry picked from commit 285557fb5f)
2014-07-28 16:02:49 +02:00
Nitin Mehta fec9ccf446 CLOUDSTACK-4364: Restore VM - log a usage event for newly created volume
(cherry picked from commit 1e78354882)
2014-07-28 16:02:49 +02:00
Anthony Xu 794ef207b1 Cs tries to destroy vlan object on XS host when destroying VM, if the VLAN object is being used, CS expects the exception, lower the log level here
(cherry picked from commit 328df6f954)
2014-07-28 16:02:48 +02:00
Anthony Xu 7b1104aa15 Destroy unplugged VIFs before creating a VIF for a VM, and reuse the device id
(cherry picked from commit d0552a2ab2)
2014-07-28 16:02:48 +02:00
Gabor Apati-Nagy b0c6de63fd CLOUDSTACK-6732: Fix:[OVS][UI] Network Service Providers page displays two ovs providers
(cherry picked from commit 6d5d48f460)
2014-07-28 16:02:47 +02:00
Sheng Yang 446899d887 CLOUDSTACK-6989: Add 3 strikes rule for RvR freezing detection
Sometime in VR ntpd would move time backward to keep sync with NTP server, which
can result in false alarm of keepalived monitering process.

This patch adds 3 strikes for keepalived process dead detection to avoid falsely
shutdown keepalived process due to time adjustment for only once.

(cherry picked from commit a6381f5809)
2014-07-28 16:02:44 +02:00
Santhosh Edukulla c513d6f5f1 CLOUDSTACK-6976: Added the support for SecStorageFirewallCfgCommand
Signed-off-by: Daan Hoogland <daan@onecht.net>
(cherry picked from commit 76f72d3624)
2014-07-28 16:02:43 +02:00
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