Commit Graph

20829 Commits

Author SHA1 Message Date
Jessica Wang 7d303d9868 cloudstack UI: IP Addresses page > change logic of hiding/showing Acquire New IP button since args.context does contain networks property even it's from VPC section. 2013-10-18 11:56:19 -07:00
Harikrishna Patnala 5eb5594e8e CLOUDSTACK-4783: Added supported for listing all templates/ISOs with showremoved = true 2013-10-18 19:05:21 +05:30
Daan Hoogland 8f5965c793 [CLOUDSTACK-4849] adding lxc to the spring context 2013-10-18 14:51:59 +02:00
Murali Reddy 779ef4b4c5 CLOUDSTACK-3911: [PortableIP] there is no check while adding a zone
public range to see whether the same VLAN exists in portable IP range.

added check to enusre a VLAN id used for a public IP range is not used
for portable ip range
2013-10-18 17:23:23 +05:30
Koushik Das 624b324cc1 CLOUDSTACK-4681: data disk with local disk offering are geting created on shared storage
The cluster and zone wide storage pool allocators returned shared pools even for volumes meant to be on local storage pool.
If the VM uses local disk then cluster and zone storage allocators should not handle it and return null or empty list.

Also fixed the deployment planner to avoid a cluster if
a. avoid set returned by storage pool allocators is empty OR
b. all local or shared pools in a cluster are in avoid state
2013-10-18 16:34:47 +05:30
Damodar Reddy 51a4d2677c CLOUDSTACK-4811:Fixed zone creation wizard is allowing to accept wrong sub net mask which is cauing wrong cidr value for a given ip range
Signed-off-by: Jayapal <jayapal@apache.org>
2013-10-18 15:51:13 +05:30
Jayapal ddb2149266 Corrected indentation replaced tab with spaces 2013-10-18 15:51:13 +05:30
Murali Reddy c1294fdfa0 CLOUDSTACK-4596: CloudStack is currently allowing same ip range to be
defined in different VLANs across public and portable ranges

added checks to restric same ip range to be configure as both public ip
range and portable ip range
2013-10-18 15:08:07 +05:30
Anshul Gangwar 2b6b99ffb3 CLOUDSTACK-4792: added the connection and socket timeout parameters for SMTP and sending message in new thread so that HA doesn't get blocked beacause of hang in sending email alert 2013-10-18 12:05:20 +05:30
Sheng Yang 3c8be550f0 CLOUDSTACK-2792: Call savepassword.sh inside VR for Xen
Also only set password when password service is running, thus avoid setting for
redundant router BACKUP router.
2013-10-17 18:46:08 -07:00
Sheng Yang 93188b449c CLOUDSTACK-4786: Reset Redundant Router priority after all the routers are stopped
This patch would reset the priority in such condition:
1. All redundant routers are stopped, e.g. due to network GC
2. User start one VM in the network
3. The routers would be brought up with reseted priority(100 & 99).

This would resolve the issue of network GC result in lower limit of redundant router priority reached.
2013-10-17 18:16:50 -07:00
Sheng Yang 7d7bd2afdf CLOUDSTACK-4836: Fix VPN user are not programmed after restart network 2013-10-17 18:08:23 -07:00
Girish Shilamkar 15b7b10828 Cloudstack:4407 - Pending changes - Use extractTemplate API to get hypervisor specific template information.
(cherry picked from commit 4747b2abfe)

Signed-off-by: Sangeetha <sangeetha.hariharan@citrix.com>
2013-10-17 20:15:20 -07:00
Chandan Purushothama 92bb0ac3a5 test_stopped_vm.py tries to clean up ISOs that are already deleted as part of Account Deletion. Do not add account owned iso objects to the cleanup list.
(cherry picked from commit 2ecf272dac)

Signed-off-by: Sangeetha <sangeetha.hariharan@citrix.com>
2013-10-17 20:15:02 -07:00
Gaurav Aradhye 833229c416 CLOUDSTACK-4637: Fix failures in test_egress_fw_rules.py
Removed log_test_exceptions which did not add any value.
Skipped few tests which are incomplete. Added timeout logic
and to wait for router to boot.
(cherry picked from commit a65f1ebefc)

Signed-off-by: Sangeetha <sangeetha.hariharan@citrix.com>
2013-10-17 19:37:54 -07:00
Jessica Wang 7ef4c7e1a4 CLOUDSTACK-4889: UI > (1) extend listView widget to support option of hiding/showing search box. (2) Hide search box in UCS Blades tab. 2013-10-17 15:16:36 -07:00
Jessica Wang 8a0ae4a038 UI > Network > VPC > Configure VPC > Router > Public IP Addresses > fix criteria that determines what action to show/hide on VPC IP (different from Isolated Network IP). 2013-10-17 13:21:47 -07:00
Anthony Xu fdd33fbb17 Revert "CLOUDSTACK-4649"
This reverts commit 5950d37e9f.
2013-10-17 11:26:11 -07:00
Anshul Gangwar f52533c819 CLOUDSTACK-3994: fix for Wrong error notification is generated when Primary storage is added with wrong path
Signed-off-by: Sateesh Chodapuneedi <sateesh@apache.org>
2013-10-17 13:17:43 +05:30
sanjeevneelarapu 8b0894b27c CLOUDSTACK-702: Verify Userdata,password services 1.Added two tests to vefiy userdata and password services on alias ip on VR
Conflicts:

	test/integration/component/maint/test_multiple_ip_ranges.py

Signed-off-by: sanjeevneelarapu <sanjeev.neelarapu@citrix.com>
Signed-off-by: venkataswamybabu budumuru <venkataswamybabu.budumuru@citrix.com>
(cherry picked from commit 7a7fb61a17)
2013-10-17 17:20:38 +05:30
Girish Shilamkar e3bcdc16a1 CLOUDSTACK-4766: Add timeout if vm does not reach running state
The tests use to wait for ever for the vm to attain Running state.
Added a timeout so it does not get into infinite loop.

Signed-off-by: venkataswamybabu budumuru <venkataswamybabu.budumuru@citrix.com>
2013-10-17 17:06:50 +05:30
Girish Shilamkar 08e69f130f CLOUDSTACK-4747: Rename testcase name to use lesser characters
Renamed testcase name and also initialised _cleanup so that
it does not break on non-NS Cloudstack setup.

Signed-off-by: venkataswamybabu budumuru <venkataswamybabu.budumuru@citrix.com>
(cherry picked from commit c5e1c4725c)
2013-10-17 15:27:41 +05:30
Gaurav Aradhye 7854dbc213 CLOUDSTACK: 4705 - Fixed memory limits - domain limits test cases. Fixed attribute error
Signed-off-by: venkataswamybabu budumuru <venkataswamybabu.budumuru@citrix.com>
2013-10-17 15:16:50 +05:30
Koushik Das 7e500a5de8 CLOUDSTACK-4551: Migrating the data volume from NFS to local storage ,underlying disk offering is not changed.
Even though the volume may get migrated from shared to local storage, it is not possible to update the disk offering.
The fix is to disallow migration from shared to local store.
2013-10-17 12:17:58 +05:30
Min Chen d17024c09b CLOUDSTACK-4816:provide configurable option to choose single vs
multipart upload to S3 object storage based on object size.
2013-10-16 17:56:19 -07:00
Edison Su 1a907eb4e4 CLOUDSTACK-4725: if storage pool has different path, but the uuid is the same, then treat them as the same storage pool 2013-10-16 15:22:45 -07:00
Nitin Mehta f91b649b3b CLOUDSTACK-4882:
list Clusters/pods/zones API not accounting for reserved in the used capacity percentage.
Fix listCapacity cmd for reserved as well
Signed off by : nitin mehta<nitin.mehta@citrix.com>
2013-10-16 15:01:33 -07:00
Edison Su 0032ff23f8 CLOUDSTACK-3418: if primary storage not in up state, wont' take snapshot 2013-10-16 14:54:59 -07:00
Kishan Kavala e88377a5e5 CLOUDSTACK-4095 : Remove region_id from Transaction. Read from db.properties whenever required 2013-10-16 19:37:13 +05:30
Murali Reddy 4d07493a5e CLOUDSTACK-4717: associate IP does not work on shared networks with out
source NAT service

relax the restriction that the source nat service should be avaiable in
the network inorder to associate a public ip to the network
2013-10-16 18:19:04 +05:30
Koushik Das 4cc8af0532 CLOUDSTACK-4682: VMs are getting deployed with shared service offering and local compute offering
VM deployment is fine, issue is in attach volume where all possible scenarios are not handled.
The following needs to be logic of attached volume:
1. if data volume scope is zone then allow attach (this is already there)
2. if data volume scope is cluster
   a. if root volume scope is host, allow if both are in same cluster (already there)
   b. if root volume scope is zone, allow if vm and data volume in same cluster (fixed as part of this commit)
3. if data volume scope is host allow if vm and data volume in same host (fixed as part of this commit)
2013-10-16 17:16:13 +05:30
Milamber da10df78e4 Regression from Commit: f766a9e58d Re-commit CLOUDSTACK-2413 - Display the Name of compute offering in dialog box Change Service Offering (was Description field before)
Signed-off-by: Milamber <milamber@apache.org>
2013-10-16 11:42:30 +00:00
Marcus Sorensen 903d0c0920 CLOUDSTACK-2823: This affects Ubuntu as well, since qemu version is 1.0.0
I don't think host kernel version has any bearing on it. Original code
was tested with CentOS 6.3 and 6.4, but it seems to succeed or fail per-host,
e.g. a fast host might work and a slow host might not. I was getting intermittent
failures with ubuntu 12.04.3 prior to this patch.
2013-10-16 00:25:04 -06:00
Min Chen 2a182af4c9 CLOUDSTACK-4872:VM provisioned using a registered Windows Server 2012
template will show as other os in VCenter.
2013-10-15 12:16:41 -07:00
Gaurav Aradhye 2c6b698b97 CLOUDSTACK-4256 - Fixed shared network test cases
Signed-off-by: Prasanna Santhanam <tsp@apache.org>
(cherry picked from commit 8350a6bd4c)
2013-10-15 13:40:10 +05:30
Gaurav Aradhye 79d702cf97 CLOUDSTACK-4780: Fixed BVT test case TestSnapshotRootDisk.test_01_snapshot_root_disk
Signed-off-by: Prasanna Santhanam <tsp@apache.org>
(cherry picked from commit b12ff1d6ce964e30d0b919c29ab92af450e4dcf9)
2013-10-15 13:36:49 +05:30
Gaurav Aradhye 0dabc6a651 CLOUDSTACK-4647: Fixed snapshot_gc test case and common util function is_snapshot_on_nfs
Signed-off-by: Prasanna Santhanam <tsp@apache.org>
(cherry picked from commit 0bbe5684981cf21d30455de4f12dd1c2e58d94ea)
2013-10-15 13:36:45 +05:30
Anshul Gangwar 2ef566e9ea added support for ispersistent parameter for networkoffering
Signed-off-by: Prasanna Santhanam <tsp@apache.org>
(cherry picked from commit 7b5daaea20)
2013-10-15 13:24:43 +05:30
Girish Shilamkar 8598a2c884 Automation Tests for HA Proxy Stickiness
Reviewed-by: Suresh Sadhu <Suresh.Sadhu@citrix.com>
Signed-off-by: Prasanna Santhanam <tsp@apache.org>
(cherry picked from commit 56ccb2835b)
2013-10-15 13:24:37 +05:30
Kelven Yang b7c8d1910a CLOUDSTACK-4863: Count CPU hyper-threading as logical CPU core for allocation 2013-10-14 17:35:32 -07:00
Min Chen 2ceea80a1d CLOUDSTACK-4862:Admin cannot delete shared network scoped to user
account.
2013-10-14 16:32:13 -07:00
Jessica Wang 1d982a5d45 CLOUDSTACK-4850: UI > Infrastructure > zone detail > UCS manager > Blade tab > add new action "Refresh Blades" on the top of listView. 2013-10-14 13:39:27 -07:00
Frank.Zhang a84e0af651 CLOUDSTACK-4850
[UCS] using template instead of cloning profile
2013-10-14 11:55:14 -07:00
Jessica Wang 1da9f8ee4d CLOUDSTACK UI - remove debugger keyword 2013-10-14 11:31:22 -07:00
Min Chen d4928d3797 CLOUDSTACK-4859:Add global config to disable storage migration during HA 2013-10-11 15:39:30 -07:00
Jessica Wang b7dbe04499 UI > system.js > remove a comma that shouldn't be there (syntax error) 2013-10-11 14:36:27 -07:00
Jessica Wang fa5b8a7dee CLOUDSTACK-4850: UI > Infrastructure > zone detail > UCS manager > Blade tab > (1) change action "Associate Profile to Blade" to "Associate Template to Blade", change Profile dropdown to Template dropdown, add ProfileName field in dialog. (2) action "Disassociate Profile from Blade": add checkbox "Delete Profile". 2013-10-11 14:00:46 -07:00
Jessica Wang 8b78c5f34e LOUDSTACK-4060: UI > Instance Wizard > select security group step > when there is only one security group and the only one is 'default', check it automtically. 2013-10-11 10:26:41 -07:00
Girish Shilamkar 808b96070e CLOUDSTACK-4262: Fix TestVPCNetworkGc.test_01_wait_network_gc
As per the test plan, after waiting for network gc
LB rules should be cleared. Added that check instead of router
being in stopped state.

Signed-off-by: venkataswamybabu budumuru <venkataswamybabu.budumuru@citrix.com>
(cherry picked from commit abdb84bb05abc9f2bd102bca1c1b34865f34d771)
2013-10-11 12:38:11 +05:30
Frank.Zhang eb8c0a7e17 CLOUDSTACK-4850
[UCS] using template instead of cloning profile
2013-10-10 17:39:07 -07:00