Commit Graph

6799 Commits

Author SHA1 Message Date
Devdeep Singh b5a16cda0c CLOUDSTACK-3246: Unable to use portable ips if the portable ip range is deleted and readded atleast once. Fixed the query used to look for available portable ips. 2013-06-28 03:45:08 +05:30
Saksham Srivastava fc357e9831 CLOUDSTACK-3064: Able to create an instance from different account of the same domain without
using affinity group even if the zone is dedicated to an account. The check to make sure that
explicit resources are not picked up for non-explicit deployment was present only at the domain
level for zones. Added a check at account level too.
2013-06-28 00:47:01 +05:30
Alena Prokharchyk 0035bbba34 Reverting the commit for parallel vm deployment, from beta branch
Revert "CLOUDSTACK-2843: Provideded an ability to turn off the synchronization being done on the CS agent side,"

This reverts commit 0fe7c5c935.

Conflicts:
	server/src/com/cloud/configuration/Config.java
	setup/db/db/schema-410to420.sql
2013-06-27 11:51:34 -07:00
Jayapal 21e2bf480e Updated to show same value in log msg SetFirewallRulesCommand and accessdetails for egress default policy 2013-06-27 16:22:33 +05:30
Sateesh Chodapuneedi ec722df00e CLOUDSTACK-2943 [ZWPS][VMWARE]: NPE while creating volume from snapshot
Snapshot of volume is now correctly marked with hypervisor type the volume belongs to.
Earlier hypervisor_type of snapshot was NULL as cluster_id is null for zonewide storage pool.

Signed-off-by: Sateesh Chodapuneedi <sateesh@apache.org>
2013-06-27 12:43:56 +05:30
Alena Prokharchyk ff33a35835 CLOUDSTACK-2698: always generate new id when create VirtualRouter. Don't try to re-use the id of the VR that failed to deploy and was expunged as a result of this failure 2013-06-26 15:28:14 -07:00
Alena Prokharchyk 44e6595598 Update resource count for networks only when the network is non system and Isolated. Before we used to update the count only when offering had specifyVlan=false. And in 4.2 even isolated networks can have this attribute set to true, and we have to count them 2013-06-26 15:27:40 -07:00
Alena Prokharchyk 3cff898abe CreateVPC: validate that the zone exists before checking its attributes 2013-06-26 15:27:25 -07:00
Likitha Shetty 4e5557152f CLOUDSTACK-3206. CreateVlanIpRange fails with IndexOutOfBoundsException. 2013-06-26 14:50:22 +05:30
Jayapal 8eeefad97f CLOUDSTACK-3199 apply acl item to private gateway when added to acl list 2013-06-26 12:49:54 +05:30
Likitha Shetty bc8cd34662 CLOUDSTACK-3192. When a dedicated public ip range is released, don't generate usage event EVENT_NET_IP_RELEASE
for ips in the range that are in use becauase these ips are not disassociated from the account.
2013-06-26 10:57:39 +05:30
Sateesh Chodapuneedi 34bdd1e1b3 CLOUDSTACK-3155 [VMware] Deletion of zone should not be allowed if VMware DC is still associated with that zone.
Check if there exists any VMware DC already associated with this zone. Deny zone deletion if true.

Signed-off-by: Sateesh Chodapuneedi <sateesh@apache.org>
2013-06-25 19:50:57 +05:30
Harikrishna Patnala ad33e6d475 CLOUDSTACK-2181: Scale down is allowed when one resource(say cpu) is being scale up and other resource (say ram) is
being scale down ;but not allowed when both resources are being scaledown
Signed off by : Nitin Mehta<nitin.mehta@citrix.com>
2013-06-24 20:00:44 +05:30
Harikrishna Patnala 3c214aba97 CLOUDSTACK-2916: admin is not able to login through UI after setting GP "cluster.cpu.allocated.capacity.notificationthreshold" to some string
CLOUDSTACK-2457:  No check for input values,special character,-ive values can be assigne to GLobal parameter "cluster.cpu.allocated.capacity.disablethreshold"

Added validation for float values and checking limit for weight based parameters by creating a set of parameters.
Signed off by : nitin mehta<nitin.mehta@citrix.com>
2013-06-24 19:59:17 +05:30
Kishan Kavala 0d841971b5 CLOUDSTACK-3124: Deletion of ACL associated with a tier/ pvt gateway should not be allowed. Check for associated tiers/gateways before deletion 2013-06-24 17:53:15 +05:30
Kishan Kavala 4926262201 CLOUDSTACK-3084: Added check to disallow -ve number for ACL rule 2013-06-24 17:13:52 +05:30
Kishan Kavala 1aed9602c3 CLOUDSTACK-3149: Allow default ACLs when creating tier with ACL 2013-06-24 16:16:14 +05:30
Jayapal 4f75062648 CLOUDSTACK-3148 failed to create private gw with default acl id 2013-06-24 14:30:23 +05:30
Jayapal 07034b6206 CLOUDSTACK-1578 SRX: Egress default policy configurable using network offering on SRX firewall 2013-06-24 14:30:23 +05:30
Jayapal 32b43d2b17 CLOUDSTACK-1578 Egress default policy configurable using network offering in xenserver with VR as firewall provider 2013-06-24 14:30:22 +05:30
Bharat Kumar d512368f45 Cloudstack-2621 [Multiple_IP_Ranges] Failed to delete guest IP range from a new subnet
Signed-off-by: Abhinandan Prateek <aprateek@apache.org>
2013-06-21 14:23:43 +05:30
Bharat Kumar cd89ff7241 Cloudstack-2644 [Multiple_IP_Ranges] user data service on VR does not work in case of multiple subnets Cloudstack-2953 [Multiple_IP_Ranges] VM does not get the public key from VR incase of multiple subnets per vlan Also removed some unused code and fixed the an error in the dnsmasq config function
Signed-off-by: Abhinandan Prateek <aprateek@apache.org>
2013-06-21 14:23:27 +05:30
Edison Su b9d4dd0ffa CLOUDSTACK-2947: fix create template from snapshot, in case of mix zone-wide/cluster wide primary storage 2013-06-20 16:53:30 -07:00
Min Chen b10f10962c CLOUDSTACK-3080: listVirtualMachines tag search refinement no longer
working.
2013-06-20 15:28:52 -07:00
Alena Prokharchyk db4969e3d6 CLOUDSTACK-3088: fixed listRouters/listInternalLbVms by name 2013-06-20 10:39:19 -07:00
Alena Prokharchyk 121c1c72d8 CLOUDSTACK-3091: expect UUID instead of actual DB id, when read internallbvm.service.offering global config 2013-06-20 10:39:13 -07:00
Kishan Kavala 0e548d848d CLOUDSTACK-2819: Revoke existing ACL items if the new ACL is empty 2013-06-20 17:13:54 +05:30
Kishan Kavala c27e99c39a CLOUDSTACK-2915: Create network ACL when adding ACL item to a tier without ACL for backward compatibility 2013-06-20 17:13:35 +05:30
Likitha Shetty 4480f67ea6 CLOUDSTACK-3078 2013-06-20 14:39:13 +05:30
Jayapal 657978ed17 CLOUDSTACK-2952 Fixed configuring private gateway with another vpc acl id 2013-06-20 14:38:13 +05:30
Likitha Shetty c3d3c62a01 CLOUDSTACK-3078. Since no default value is set for the isolation type during the physical network creation,
modify guest vlan range dedication to check if the isolation type is VLAN only when an isolation type has been set
2013-06-20 12:12:26 +05:30
Saksham Srivastava fd77b60c5d CLOUDSTACK-2167: The Vlan ranges displayed are not in ascending order 2013-06-20 11:00:32 +05:30
Edison Su 2abca44da6 CLOUDSTACK-1405: add scope type in liststoragepoolcmd 2013-06-19 14:08:12 -07:00
Alena Prokharchyk 784b756809 Added more logging to the place where VR investigates whether the user vm is alive, by executing PingCommand 2013-06-19 10:54:24 -07:00
Jessica Wang 751bf4c549 CLOUDSTACK-3016: listZones API - take in networktype instead of zonetype parameter to be consistent with networktype property in ZoneResponse. 2013-06-19 10:39:18 -07:00
Alena Prokharchyk 0fe7c5c935 CLOUDSTACK-2843: Provideded an ability to turn off the synchronization being done on the CS agent side,
for number of commands participating in Vm deployment process, as parallel deployment is supported on the hypervisor side.
The behavior is controlled by global config varirables:

"execute.in.sequence.hypervisor.commands" (false by default) sets/resets the synchronization for commands:
=========================
StartCommand
StopCommand
CreateCommand
CopyVolumeCommand

"execute.in.sequence.network.element.commands" (false by default) sets/resets the synchronization for commands:
==========================
DhcpEntryCommand
SavePasswordCommand
UserDataCommand
VmDataCommand

As a part of the fix, increased the global lock timeout to 30 mins in several VR scripts:
===========================
edithosts.sh
savepassword.sh
userdata.sh

to support situations when multiple concurrent calls to the script are being made.
2013-06-19 10:16:45 -07:00
Likitha Shetty 4d02dbe6df CLOUDSTACK-3062. Dedication of a guest vlan range that extends 2 ranges dedicated to different accounts removes an old dedication 2013-06-19 17:02:10 +05:30
Prachi Damle 40d3b713ce CLOUDSTACK-2900: Ubuntu 13.04 - Migrate Virtual Router fail - Unable to find the VM by id=
Changes:
- Have to search the vm_instance table to find the instance
2013-06-18 16:57:46 -07:00
Jessica Wang b0f241dfd2 CLOUDSTACK-3016: remove zonetype property from API response (userVM) 2013-06-18 15:23:02 -07:00
Jessica Wang d37cc9b607 CLOUDSTACK-3016: remove zonetype property from API response (snapshot, ISO, template, network, volume) 2013-06-18 15:22:11 -07:00
Jessica Wang 0fe3d4676d CLOUDSTACK-3016: remove zonetype property from API response (cluster, domainRouter, host, pod, storagePool, systemVM) 2013-06-18 15:21:05 -07:00
Jessica Wang d9ca0e8f26 CLOUDSTACK-3016: remove zonetype parameter from listRouters API, listInternalLbVms API. 2013-06-18 11:37:47 -07:00
Jessica Wang 2957f6c559 CLOUDSTACK-3016: remove zonetype parameter from listNetworks API. 2013-06-18 11:37:15 -07:00
Jessica Wang 82270f12f2 CLOUDSTACK-3016: remove zonetype parameter from listTemplates, listIsos API. 2013-06-18 11:36:57 -07:00
Jessica Wang fc26315d9d CLOUDSTACK-3016: remove zonetype parameter from listSystemVMs API. 2013-06-18 11:36:39 -07:00
Jessica Wang b3edbda474 CLOUDSTACK-3016: remove zonetype parameter from listPods API. 2013-06-18 11:36:23 -07:00
Jessica Wang 1e4abe3210 CLOUDSTACK-3016: remove zonetype parameter from listClusters API. 2013-06-18 11:35:52 -07:00
Jessica Wang 4bf8801570 CLOUDSTACK-3016: remove zonetype parameter from listSnapshots API. 2013-06-18 11:35:31 -07:00
Alena Prokharchyk dd5fde3860 CLOUDSTACK-2883: create default network offering with internal lb support (if doesn't exist already) 2013-06-17 16:19:53 -07:00
Min Chen dff87ed7cf CLOUDSTACK-2956:createStoragePools API should ignore passed clusterId
and podId parameters in creating zone scoped primary storage
2013-06-17 15:41:05 -07:00