Commit Graph

20864 Commits

Author SHA1 Message Date
Anthony Xu
187e328f6c fixed NPE 2013-10-23 15:23:35 -07:00
Wei Zhou
a94acc5a43 CLOUDSTACK-4931, CLOUDSTACK-4937: setDetails to user VMs only 2013-10-23 16:55:10 +02:00
Wei Zhou
622f0762de CLOUDSTAC.K-4923: add missing Network limits in Accounts details page
(cherry picked from commit 0f976fd328)
2013-10-23 14:30:48 +02:00
Wei Zhou
87c897ff75 allow Domain Admin to list usage records in the domain 2013-10-23 14:30:05 +02:00
Wei Zhou
9767de451c fix a bug in listServiceOffering with vmId
(cherry picked from commit cd72e2afee)
2013-10-23 14:28:40 +02:00
Wei Zhou
f0a9237612 fix a bug in findAllChildren of domains
(cherry picked from commit db890bc71e)
2013-10-23 14:28:11 +02:00
Wei Zhou
13a4ec366b CLOUDSTACK-4931: Do not setDetails for system VMs 2013-10-23 14:08:23 +02:00
Wei Zhou
f4149ba0ae fix issue: devcloud not working 2013-10-23 13:57:40 +02:00
Harikrishna Patnala
2a6905a9ce CLOUDSTACK-4927: ISO and Template test cases failing duing listiso api call
Removed check for deleted template/ISOs to throw exception as all list APIs returns empty response on deleted entities
2013-10-23 16:14:26 +05:30
Kishan Kavala
76dab960da CLOUDSTACK-4921 : Add usage service to chkconfig 2013-10-23 16:04:24 +05:30
Sateesh Chodapuneedi
fa88fb1469 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>

CLOUDSTACK-4911 [Mixed Hypervisor] VM Status is marked as alive when exit status of ping command is not available within command timeout

Supplementing the fix/commit 748315620b
While remote executing commands through ssh, wait for channel condition of EXIT_STATUS.

Signed-off-by: Sateesh Chodapuneedi <sateesh@apache.org>
2013-10-23 09:09:24 +05:30
Kishan Kavala
d61e60b71a CLOUDSTACK-4915, CLOUDSTACK-4933 : Revert "CLOUDSTACK-4911 - [Mixed Hypervisor] VM Status is marked as alive when exit status of ping command is not available within command timeout"
This reverts commit b6a13d1257.
2013-10-23 12:35:38 +05:30
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