21534 Commits

Author SHA1 Message Date
Wei Zhou
abd4a826e9 Revert "CLOUDSTACK-5033: set origin ip address in logs if management servers is behind a reverse proxy or load balancer"
This reverts commit 5cc47f77c5d7c1c8c40c5e7cb2f7083fd2ce56cd.
2013-11-29 10:52:51 +01:00
Wei Zhou
6ab27267be CLOUDSTACK-5310: fix issue: offering display twice in dropdown when create network 2013-11-29 10:40:33 +01:00
Wei Zhou
5cc47f77c5 CLOUDSTACK-5033: set origin ip address in logs if management servers is behind a reverse proxy or load balancer 2013-11-29 10:39:04 +01:00
Hugo Trippaers
36201b9776 Fix issue with sourceCidr not being passed to the VRouter on start.
Signed-off-by: Abhinandan Prateek <aprateek@apache.org>
2013-11-29 13:20:12 +05:30
Likitha Shetty
6bda2739c8 CLOUDSTACK-5302. listHosts API response - value of cpuallocated is always 0% 2013-11-28 15:52:42 +05:30
Wei Zhou
81c07f1791 allow delete snapshot with ERROR state 2013-11-28 10:48:07 +01:00
Wei Zhou
d473d5a36a CLOUDSTACK-5293: get vm disk statistics only from DISK (not for ISO/FLOPPY) 2013-11-28 10:47:51 +01:00
Wei Zhou
64c03dbc31 [UI] kvm vm snapshot not shown if kvm.snapshot.enabled is set to false 2013-11-28 10:47:37 +01:00
Wei Zhou
221aea5730 CLOUDSTACK-5299: set hypervisor_type of volumes from image format if not set. 2013-11-28 10:47:21 +01:00
Abhinandan Prateek
ab39b658ad added valid values for system.vm.default.hypervisor in desc 2013-11-28 09:24:32 +05:30
Alena Prokharchyk
426f564944 Resource metadata support for NetworkACLItem
Conflicts:
	api/src/org/apache/cloudstack/api/command/user/network/ListNetworkACLsCmd.java
2013-11-27 14:38:12 -08:00
Jessica Wang
0b5a6cb0cf CLOUDSTACK-1889: UI > accounts > Update Resource Count action > after action succeeds, pop up a dialog to show updated count of resources. 2013-11-27 13:07:46 -08:00
Wei Zhou
f17f35eeb8 CLOUDSTACK-5293: fix issue when collect vm disk statistics from iso 2013-11-27 14:38:25 +01:00
wilderrodrigues
226b193488 Fix for Coverity issues CID_1116744, CID_1116718 and CID_1116682, all related to resource leak
Signed-off-by: Daan Hoogland <daan@onecht.net>
2013-11-27 14:20:29 +01:00
Jan-Arve Nygård
de2c4ceeb9 Fixed typo
Signed-off-by: Daan Hoogland <daan@onecht.net>
2013-11-27 14:16:25 +01:00
wilderrodrigues
d19688103b Fixing coverity issues related to resource leak on FileInputStream being created anonymously
Signed-off-by: Daan Hoogland <daan@onecht.net>
2013-11-27 12:51:44 +01:00
wilderrodrigues
2774b62d64 Fixing bugs from Coverity related to Dereferenced Null after check and as return value.
Signed-off-by: Daan Hoogland <daan@onecht.net>
2013-11-27 11:18:00 +01:00
Devdeep Singh
c781e3b668 Fixing creation of VM with virtual disks on a shared storage for hyperv. The shared storage
path wasn't getting interpreted correctly by the agent.
2013-11-27 13:04:16 +05:30
Jayapal
6c9edaf613 CLOUDSTACK-5285 Corrected the API description 2013-11-27 11:01:36 +05:30
Alena Prokharchyk
7af387c894 Resource metadata support for NetworkACLList
Conflicts:
	server/src/com/cloud/tags/TaggedResourceManagerImpl.java
2013-11-26 17:12:12 -08:00
Nitin Mehta
414d415dba CLOUDSTACK-5281:
Resource limit shouldnt be counted for resources with display flag = 0. Adding functions to resourcelimitmanager and doing it for the volumes at the moment.
2013-11-26 16:21:45 -08:00
Jessica Wang
8ce6d5271c CLOUDSTACK-4428: UI > volume > take snapshot action, recurring snapshot action > for volumes whose hypervisor is KVM and whose VM is not Running, always show the 2 actions regardless value of "kvm.snapshot.enabled". 2013-11-26 15:05:13 -08:00
Wei Zhou
2145505d30 CLOUDSTACK-5280: fix issue in getBroadcastUriFromBridge
(cherry picked from commit 96842475d95532cb39f0838b77b02f68c1d26dcf)

Conflicts:

	plugins/hypervisors/kvm/src/com/cloud/hypervisor/kvm/resource/LibvirtComputingResource.java
2013-11-26 23:37:39 +01:00
Alena Prokharchyk
5d974a234c Resource metadata support for VPC Private Gateway 2013-11-26 12:48:15 -08:00
Nitin Mehta
6bea532efa CLOUDSTACK-5206: Ability to control the external id of first
class objects. Putting in the generic methods and trying it
 for objects like vm, volume. This is the first cut
2013-11-26 09:52:17 -08:00
Wei Zhou
8b237eb0a2 CLOUDSTACK-4505: allow domain admin to expunge a destroyed VM 2013-11-26 15:02:44 +01:00
Wei Zhou
9be402cb06 CLOUDSTACK-2940: Allowing Replacement of realhostip.com with a customized domain for SSVM
(cherry picked from commit e23b10319f55fe8cbb822c0c29dc64b56509c119)

    Conflicts:

        plugins/storage/image/default/src/org/apache/cloudstack/storage/datastore/driver/CloudStackImageStoreDriverImpl.java
        server/src/com/cloud/storage/upload/UploadMonitorImpl.java
2013-11-26 15:01:23 +01:00
Wei Zhou
e0fbc3f147 CLOUDSTACK-5272: return unlimit if max.account.* or max.project.* is set to negative
(cherry picked from commit 888ddd724aabbd22d675fe2bba873971888e1a8a)
2013-11-26 14:43:23 +01:00
Harikrishna Patnala
b2f0a0bce2 CLOUDSTACK-4737: handling usage events for dynamic compute offering
Signed-off-by: Koushik Das <koushik@apache.org>
2013-11-26 17:07:30 +05:30
Bharat Kumar
ef40e156ed CLOUDSTACK-5162 Usage details are not getting populated when using dynamic offerings.
Signed-off-by: Koushik Das <koushik@apache.org>
2013-11-26 14:32:30 +05:30
Parth Jagirdar
58fd6f0603 CLOUDSTACK-5223: Fix hosttags.
Signed-off-by: Girish Shilamkar <girish@clogeny.com>
2013-11-26 13:23:40 +05:30
wilderrodrigues
7a6751aa77 Make sure that if the file does not exist an Exception is thrown and that once it exists it is also closed after the properties are loaded.
Signed-off-by: Hugo Trippaers <htrippaers@schubergphilis.com>
2013-11-26 08:22:29 +01:00
Ashutosh K
d6298302a1 CLOUDSTACK-5257: Fixed Network ACL issue related to Egress traffic
Signed-off-by: Girish Shilamkar <girish@clogeny.com>
2013-11-26 11:46:56 +05:30
Jayapal
764dec45fd Monitoring python script removed semicolon 2013-11-26 11:24:37 +05:30
Jayapal
c1ed540af8 Monitoring python script organized into more methods 2013-11-26 10:07:20 +05:30
Brian Federle
e559573081 Revert "Disable VR UI quickview, due to technical limitations"
This reverts commit 9dd650aca753dc41995ce1ef209371d275bc598b.
2013-11-25 16:16:19 -08:00
Anthony Xu
84be2ab3be CLOUDSTACK-4913: Don't enable ebtables/iptables for non-security group zone 2013-11-25 16:06:48 -08:00
Brian Federle
9dd650aca7 Disable VR UI quickview, due to technical limitations 2013-11-25 16:03:37 -08:00
Alena Prokharchyk
c37e8b7e8c Resource metadata - fixed the bug in removeResourceDetail API - when "key" parameter was passed in, used to remove the details matching the key, for all the resources, not just the one defined by resource_id 2013-11-25 15:32:52 -08:00
Jessica Wang
c15ec68210 CLOUDSTACK-4793: UI > Virtual Routers > remove Advanced Search since we now have Select View (group by zone/pod/cluster). 2013-11-25 14:47:39 -08:00
Jessica Wang
3d5ff393da CLOUDSTACK-4793: UI > Virtual Routers > Select View > group by cluster > detailView > add pod name, zone name. 2013-11-25 14:33:04 -08:00
Jessica Wang
7d4b298d2d CLOUDSTACK-4793: UI > Virtual Routers > Select View > add "group by cluster". 2013-11-25 14:27:50 -08:00
Jessica Wang
7819a4b7af CLOUDSTACK-4793: UI > Virtual Routers > Select View > add "group by pod". 2013-11-25 13:51:24 -08:00
Nitin Mehta
a1ca4f1d56 CLOUDSTACK-5221:
In order to keep backward compatibility, listisos should return an empty response than an error when id of a removed iso is passed.
2013-11-25 13:47:42 -08:00
Jessica Wang
5a9b4ee843 CLOUDSTACK-4793: UI > Virtual Routers > Select View > group by zone > detailView > add action "upgrade all routers in this zone to use newer template". 2013-11-25 13:33:55 -08:00
Jessica Wang
a5cff1dfd5 CLOUDSTACK-4793: UI > Virtual Routers > Select View > group by zone > implement detailView of Zone, Total of Virtual Routers, Virtual Routers require upgrade. 2013-11-25 12:08:55 -08:00
Darren Shepherd
eb21239e3f CLOUDSTACK-5224: Add missing configuration for Netscaler, F5, SRX, and VNMC 2013-11-25 12:03:49 -07:00
Anshul Gangwar
102331c62e CLOUDSTACK-4959: 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-11-25 15:52:33 +05:30
Likitha Shetty
29c36b2ad2 CLOUDSTACK-5122. [VMware] During upgrade from 4.1 system vms don't come up with 'ROOT-x-y VMDK file not found' exception.
During VM start, if VM already exists and CS finds a matching disk in storage for each of the existing disk then the VM is reconfigured with VM's existing disk information. This existing disk information for a VM is got from vCenter.
CS checks if a matching disk exists in storage by checking if there is a disk in storage whose name atleast partially matches with the name of the existing disk.
Post 4.1, Volume path has been changed to ROOT-<instanceId> from ROOT-<instanceId>-<volumeId>. Hence in case of an upgraded setup (pre 4.1 to 4.2) during search for an existing disk in storage even though ROOT-<instanceId>-<volumeId> has been deleted, CS does a postive match of the old existing disk because of the partial match with the new disk ROOT-<instanceId> that exists in storage. And so when VM is being powered on by vCenter it looks for ROOT-<instanceId>-<volumeId> and fails to power on.
Solution - While looking for a VM's matching disk in storage, instead of checking if a disk with a partial match exists check if a disk with the exact name exists.
2013-11-25 15:52:24 +05:30
Jayapal
0be4a685e8 CLOUDSTACK-5164 Unmonit for 30 minutes for a failed process 2013-11-25 15:12:48 +05:30