Commit Graph

20852 Commits

Author SHA1 Message Date
Jessica Wang 3e962f8d29 CLOUDSTACK-4649: UI > (1) detailView widget: pass $detailView property in action.action({}).
(2) Edit Template action: make 'XenServer Tools Version 6.1+' field editable and use addResourceDetail API to update it.
(3) Edit Instance action: make 'XenServer Tools Version 6.1+' field editable and use addResourceDetail API to update it.
2013-10-22 16:14:07 -07:00
Jessica Wang c212574b17 CLOUDSTACK-4649: UI > (1) Register Template dialog: add 'XenServer Tools Version 6.1+' checkbox.
(2) Template detailView: add 'XenServer Tools Version 6.1+' field.
(3) Instance detailView: add 'XenServer Tools Version 6.1+' field.
2013-10-22 14:02:30 -07:00
Alena Prokharchyk c1131d1b7f CLOUDSTACK-4649: addResourceDetail - added support for userVm resource. Now "hypervisortoolsversion" get stored in user_vm_details table, and being returned as a part of listVirtualMachines call ("details" parameter) 2013-10-22 13:34:50 -07:00
Alena Prokharchyk 9d41fdfecf CLOUDSTACK-4649: allow to update template details with addResourceDetails API 2013-10-22 13:34:50 -07:00
Anthony Xu c31f87c078 CLOUDSTACK-4649:
vm sync tracks the pv driver version for xenserver

 Anthony
2013-10-22 11:21:28 -07:00
Jessica Wang 5ca5cb1903 CLOUDSTACK-4925: UI > dialog widget > extend isChecked property to take function type (it takes only boolean type before this check-in). 2013-10-22 11:20:32 -07:00
Alena Prokharchyk 3b28f73bea CLOUDSTACK-4743: durning the accountCleanup, never attempt to release the public ips when the guest networks of the account failed to cleanup 2013-10-22 09:41:20 -07:00
Saksham Srivastava 88882a914c CLOUDSTACK-3583: Fix for Management server stop is not removing the PID 2013-10-22 16:48:47 +05:30
Harikrishna Patnala f9731144cd CLOUDSTACK-4493: registerSSHKeyPair API doc contains wrong API response (private key) Changing the response object of register and list ssh keypairs APIs
Signed-off-by: Koushik Das <koushik@apache.org>
2013-10-22 09:28:58 +05:30
Frank.Zhang 455a9f4797 [UCS] don't log user credentials 2013-10-21 17:59:26 -07:00
Anthony Xu 9a27690093 CLOUDSTACK-4649:
xs 6.1/6.2 introduce the new virtual platform, so there are two virtual platforms, windows PV driver version must match virtual platforms,
this patch tracks PV driver versions in vm details and template details.

Anthony
2013-10-21 16:10:07 -07:00
Nitin Mehta e6384be8e8 CLOUDSTACK-3737:
Delete the uploaded volume once its copied successfully to the primary storage.
Signed off by : nitin mehta<nitin.mehta@citrix.com>
2013-10-21 14:53:52 -07:00
Frank.Zhang 342931a538 CLOUDSTACK-4888
API:UCS:NPE Refresh blades on a decommissioned chassis results in NPE
2013-10-21 14:06:27 -07:00
Alena Prokharchyk 2e75e8ced0 CLOUDSTACK-4894: DestroyVirtualMachine API - added "expunge" admin-only parameter. When passed as true, the vm gets expunged immediately (false by default to preserve the initial command behavior) 2013-10-21 09:51:46 -07:00
Sateesh Chodapuneedi b6a13d1257 CLOUDSTACK-4911 - [Mixed Hypervisor] VM Status is marked as alive when exit status of ping command is not available within command timeout
Currently during ssh execution of remote command, if no response is received within timeout, Cloudstack is returning success result.
This is resulting in false positives. Fix is to check if exit status of remote command is available or not. If not, return failure result.

Signed-off-by: Sateesh Chodapuneedi <sateesh@apache.org>
2013-10-21 16:31:45 +05:30
Jayapal e2b29e3d4e CLOUDSTACK-4624 Fixed security groups rules program issue in Advaced SG VM migration 2013-10-21 17:41:01 +05:30
Gaurav Aradhye c605b47348 CLOUDSTACK:4537 - Fixed shared network and vpc test cases
Signed-off-by: venkataswamybabu budumuru <venkataswamybabu.budumuru@citrix.com>
(cherry picked from commit 98daad9300)
2013-10-21 17:09:06 +05:30
Prachi Damle 4b80f9ba81 Adding additional debug log to be able to identify HA case 2013-10-18 17:06:12 -07:00
Prachi Damle a00433ff23 CLOUDSTACK-4895: Management server fails to start because snapshot policy time zones have day light savings
Changes:

-     Calendar throws IllegalArgumentException when the hour of the day happens to be skipped due to DST changes.
-     Fix will ask Calendar to adjust the time accordingly and get the next closest time
2013-10-18 16:44:58 -07:00
Nitin Mehta 643ce4bb90 remove the wrong location for file and add license header 2013-10-18 16:43:34 -07:00
Nitin Mehta e63a1743d6 missing file 2013-10-18 16:39:33 -07:00
Nitin Mehta de28812add CLOUDSTACK-4746:
From functionality point of view following will be changes.
-> Threshold will not be applied for vms undergoing HA process (say during host going down event).
-> Threshold will not be applied for vms undergoing maintenance.
-> Threshold will apply for stop-start vm "after" the skip.counting.hours
(time till which we reserve the capacity for the stopped vm).
Reason being stop-start is a user initiated action and we are giving a time
window  (skip.counting.hours) till which its guaranteed to start in the same
cluster.
After that time, threshold check applies bcz we still want to reserve the
capacity for urgent situations like HA, putting host into maintenance rather than get it consumed in such user
initiated actions.

Signed off by : nitin mehta<nitin.mehta@citrix.com>
2013-10-18 15:22:25 -07:00
amogh.vasekar c4905eafd5 Fixing UCS HTTPS redirect 2013-10-18 14:21:14 -07:00
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