Wido den Hollander
239bb13dde
Better parse domain XMLs so network devices can be detached as well
2013-05-18 10:34:22 +02:00
Prachi Damle
1851f7f7f6
CLOUDSTACK-2365: Anti-Affinity - As admin , we are allowed to deploy a Vm in an affinity group that belongs to different user.
...
CLOUDSTACK-2349: Anti-Affinity - As admin user , using updateVMAffinityGroup() , we are allowed to update the affinity group of a Vm (that belongs to a regular user) to be set to admin's affinity group.
Changes:
- Even for root-admin make sure that the affinity group and the VM belong to same account
2013-05-17 15:33:01 -07:00
Alena Prokharchyk
7cae8ca231
CLOUDSTACK-751: 41-42 DB upgrade - insert new global config blacklisted.routes
2013-05-17 15:07:21 -07:00
Prachi Damle
31a67706e4
CLOUDSTACK-2070: Anti-Affinity - When Vm deployment fails because of not being able to satisfy the anti-affinity rule , user should be provided with more informative message.
...
Changes:
- There is no good mechanism currently to figure out if the deployment failed due to affinity groups only
- We can just hint the user that the deployment might have failed due to the affinity groups and ask to review the input
2013-05-17 14:36:23 -07:00
Prachi Damle
55c1e282e3
CLOUDSTACK-2102: Anti-Affinity - Even after reserved capacity has been released for a Vm in "Stopped" state , we are not allowed to deploy new Vms as part of same anti-affinity group in the last_host_id where the stopped Vm was running.
...
Changes:
Do not add the last_host_id of a Stopped VM to avoid set, if the VM has been stopped for more that capacity.skip.counting.hours time limit
2013-05-17 11:40:00 -07:00
Wido den Hollander
5646f5e977
rbd: Allow RBD disks to be attached to a Instance
2013-05-17 17:34:05 +02:00
radhikap
b3e9b2a5dc
portable IP
2013-05-17 18:58:32 +05:30
Nitin Mehta
4eb310e926
iCLOUDSTACK-2321
...
Fix the response of scaleVMCmd
Add Scale System vm command
2013-05-17 17:43:43 +05:30
Devdeep Singh
e520ff4568
CLOUDSTACK-2122. Virtual machine id should be a required parameter for findHostsForMigration api. Fixing it.
2013-05-17 17:01:17 +05:30
Rajesh Battala
107f492475
Fixed CLOUDSTACK-2081 Volume which is added thru upload volume is failed to attach to the instance saying Volume state must be in Allocated, Ready or in Uploaded state( Though uploaded Volume state is uploaded)
2013-05-17 14:58:25 +05:30
SrikanteswaraRao Talluri
28c5fbcb05
CLOUDSTACK-2483: Fix base.py migrate volume method
...
Signed-off-by: Prasanna Santhanam <tsp@apache.org>
2013-05-17 14:24:47 +05:30
SrikanteswaraRao Talluri
2867c6a6df
CLOUDSTACK-2542: Fix router test for basic zone
...
Signed-off-by: Prasanna Santhanam <tsp@apache.org>
2013-05-17 14:05:58 +05:30
SrikanteswaraRao Talluri
55d304a5bb
CLOUDSTACK-2478: Fix test_volumes.py script for BVT failures
...
removed storage type in compute offering and disk offering
Signed-off-by: Prasanna Santhanam <tsp@apache.org>
2013-05-17 14:05:05 +05:30
Girish Shilamkar
4d0cea6626
CLOUDSTACK-2513: VPN tests refer to invalid connection.user in cloudConnection
...
cloudConnection object should always have "user" and "passwd" attributes.
And they are "None" while creating userAPIClient. As we already
have "user" and "password" for mgmt server.
Signed-off-by: Prasanna Santhanam <tsp@apache.org>
2013-05-17 14:05:04 +05:30
Likitha Shetty
046580fcf1
CLOUDSTACK-2552. Modify AWSAPI to decrypt db values using the decrypted database_key and not management_server_key
2013-05-17 13:16:04 +05:30
Devdeep Singh
adbebc1892
Changes for implicitly dedicating a resource. It includes a following:
...
1. A new implicit planner which extends the functionality provided by FirstFitPlanner.
2. Implicit planner can be used in either strict or preferred mode. In strict mode it tries to deploy a vm of a given account on a host on which vms of the account are already running. If no such host is found it'll search for an empty host to service the request. Otherwise the deploy vm request fails.
3. In preferred mode, if a host which is running vms of the account or an empty host isn't found, the planner then tries to deploy on any other host provided it isn't running implicitly dedicated strict vms of any other account.
4. Updated the createServiceOffering api to configure the details for the planner that the service offering is using.
5. Made db changes to store the service offering details for the planner.
6. Unit tests for testing the implicit planner functionality.
7. Marvin test for validating the functionality.
2013-05-17 11:40:31 +05:30
Likitha Shetty
caf0dd22b7
Dedicate Public IP range - If every public ip range in the system is dedicated when an account with no dedicate ranges
...
acquires a new public ip the request should fail
2013-05-17 09:51:10 +05:30
Dave Brosius
973c43a152
CLOUDSTACK-2530: fix npe if no network isolation methods
...
Signed-off-by: Mice Xia <mice_xia@tcloudcomputing.com>
2013-05-17 10:08:07 +08:00
Mice Xia
3ed9e42dd2
fix null pointer dereference in cloud-server
2013-05-17 09:44:01 +08:00
Alena Prokharchyk
35de50debf
cloud-sysvmadm: 1) added -z paramters. If specified, restrict system vm restarts to specific zone. If not specified, the intances will be restarted in all zones. 2) Fixed the help for restartNetwork option. It gets triggered by -n, not -e parameter
2013-05-16 17:05:38 -07:00
Prachi Damle
890603be37
Unit test does not use this file anymore.
2013-05-16 15:28:02 -07:00
Prachi Damle
a2eb7bab1e
CLOUDSTACK-2056: DeploymentPlanner choice via ServiceOffering
...
- Changes merged from planner_reserve branch
- Exposing deploymentplanner as an optional parameter while creating a service offering
- changes to DeploymentPlanningManagerImpl to make sure host reserve-release happens between conflicting planner usages.
2013-05-16 15:02:17 -07:00
Vijayendra Bhamidipati
15be97772e
PVLAN : Implementing PVLAN deployment capability for VMware deployments in cloudstack.
2013-05-16 14:50:16 -07:00
Wei Zhou
a29e39365a
CLOUDSTACK-2545: Change unit of network statistics from 1000 to 1024 for KVM
...
Signed-off-by: Chip Childers <chip.childers@gmail.com>
2013-05-16 22:07:50 +01:00
Kishan Kavala
d078f92167
CLOUDSTACK-2544: Fix NPE while comparing lastHostId during capacity calculation
2013-05-16 19:14:41 +05:30
Murali Reddy
f441582e1b
CLOUDSTACK-2378: assignToGSLBRule or removeFromGlobalLoadBalancerRule APIs are failing when there are multiple physical network in a zone
...
adding support for deployments where multiple physical networks are configured for guest traffic in a zone
2013-05-16 18:26:14 +05:30
Murali Reddy
33e683915c
CLOUDSTACK-2462: Failed to create GSLB rule with "proximity" algorithm
...
add RTT as load balancing method for GSLB vserver
2013-05-16 15:19:42 +05:30
Murali Reddy
d2d0398e33
CLOUDSTACK-2529: GlobalLoadBalancerResponse should have the full FQDN
...
for the global load balanced service
2013-05-16 15:19:41 +05:30
Murali Reddy
565d829c00
CLOUDSTACK-2460: fix the event descriptions for
...
create/delete/update/assign global load balancer rule apis
2013-05-16 15:19:41 +05:30
Murali Reddy
3c51c4e7ad
CLOUDSTACK-2461: createGSLBRule API is failing to pick the default algorithm "round
...
robin" for parameter "gslblbmethod"
fix defaults to round robin when parameter not specified
2013-05-16 15:19:40 +05:30
Gavin Lee
6ae6c2b8b6
A space char needed after &PRODUCT; entity representation
2013-05-16 17:19:22 +08:00
Gavin Lee
b4903ebbea
$PRODUCT; should be &PRODUCT; to represent entity CloudStack
2013-05-16 16:19:11 +08:00
Mice Xia
e26442f7d0
instead of '==', use equals() to compare two strings in cloud-server
2013-05-16 16:18:53 +08:00
Mice Xia
6d57393629
instead of using '==', use equals() to test Long value equality
2013-05-16 16:00:02 +08:00
Mice Xia
e7fef86c80
CLOUDSTACK-2456 usage:usage parser throws runtime exception while parsing networkoffering usage
2013-05-16 15:19:05 +08:00
Saksham Srivastava
e260817318
CLOUDSTACK-2130: UpdateDefaultNicForVirtualMachine api should also create usage events for updating new default network
...
Signed-off-by: Mice Xia <mice_xia@tcloudcomputing.com>
2013-05-16 14:22:36 +08:00
Prasanna Santhanam
a37fa39fe7
multiple fixes to regression tests
...
- remove references to account.account
- remove ostypeid references
- correct zone.networktype
- correct storage_motion assert. skip on invalid environmetn
Signed-off-by: Prasanna Santhanam <tsp@apache.org>
2013-05-16 10:00:44 +05:30
Koushik Das
5511eb241a
CLOUDSTACK-2509: [Cisco VNMC]No way to block incoming traffic as ACL created with PF/Static Nat is Source is Any
...
No longer creating firewall rule as part of PF/Static NAT rule creation. Now firewall rule needs to be configured separately.
Also made some changes to exception handling.
2013-05-16 09:20:41 +05:30
Sheng Yang
265acca9d5
Merge remote-tracking branch 'origin/master'
2013-05-15 17:23:51 -07:00
Sheng Yang
2d2c0c48cd
Merge branch 'pvlan'
...
Conflicts:
scripts/vm/hypervisor/xenserver/xenserver60/patch
server/src/com/cloud/network/NetworkManager.java
server/src/com/cloud/network/NetworkManagerImpl.java
server/src/com/cloud/network/NetworkServiceImpl.java
server/src/com/cloud/network/router/VirtualNetworkApplianceManager.java
server/src/com/cloud/network/router/VirtualNetworkApplianceManagerImpl.java
server/src/com/cloud/network/vpc/VpcManagerImpl.java
server/src/com/cloud/vm/UserVmManagerImpl.java
server/test/com/cloud/network/MockNetworkManagerImpl.java
server/test/com/cloud/vpc/MockNetworkManagerImpl.java
server/test/com/cloud/vpc/MockVpcVirtualNetworkApplianceManager.java
2013-05-15 16:08:08 -07:00
Chiradeep Vittal
521e156520
CLOUDSTACK-2521: auto download ISO if not present
2013-05-15 15:33:57 -07:00
Chiradeep Vittal
076c32db9a
CLOUDSTACK-2492: enable time sync on vmware if ntp is not installed
2013-05-15 15:00:31 -07:00
Prachi Damle
c8af438e64
CLOUDSTACK-2522: While processing agents behind on ping, we may fail to process a host that is already in 'Down' state
...
Changes:
- Added a transition for DOWN -> DOWN state on PING TIMEOUT so that transition will set mgmt_server_id in the host table to null.
2013-05-15 14:27:27 -07:00
Prachi Damle
ddd7cfd71c
CLOUDSTACK-2519: VMs on local storage incorrectly destroyed when removing another host using deleteHost API
...
- For DeleteHost API: Search for Volumes in READY state on the local storage of the host to find VM's in 'Running' State
- For PrepareForMaintenance API: Search for Volumes not in Destroy or Expunging state to check if the Local Storage on the host is being used.
2013-05-15 13:28:41 -07:00
Alena Prokharchyk
9f59c618e2
CLOUDSTACK-2517: fixed private gateway creation. Following fixes went in:
...
1) Only PrivateNetworkGuru handles network creation for the private gateway. Exluded Guest Network Guru from this list (was mistakenly included as a part of merge for Nicira integration)
2) Pass vpc_id to createNetwork call when the network is created as a part of private gateway creation
3) Fixed VPC restart when there are multiple private gateways present (have to grab all the private gateways when creating nic profiles for the VPC router that is being re-created)
4) 41-42 db upgarde: set vpc_id for the private networks of the existing VPCs
2013-05-15 13:12:51 -07:00
Prachi Damle
73030f4372
CLOUDSTACK-2486: Deleting the host_details and inserting them back can lead to mysql deadlock
...
- Changing the correct details dao. Instead of using separate delete and insert, we will use ON DUPLICATE KEY UPDATE to avoid the MySQL deadlock
2013-05-15 11:58:13 -07:00
Prachi Damle
d31217f3be
CLOUDSTACK-2486: Deleting the host_details and inserting them back can lead to mysql deadlock
...
- Added the index found missing after upgrade
Contained in branches: master
Contained in no tag
2013-05-15 11:16:43 -07:00
Prachi Damle
a13dd59d16
CLOUDSTACK-2486: Deleting the host_details and inserting them back can lead to mysql deadlock
...
- Instead of using separate delete and insert, we will use ON DUPLICATE KEY UPDATE to avoid the MySQL deadlock
2013-05-15 11:16:41 -07:00
Jessica Wang
7e0006a3e5
CLOUDSTACK-747: internalLb in VPC - UI - create tier dialog - only one tier is allowed to have PublicLb in a VPC.
2013-05-15 11:03:51 -07:00
Alena Prokharchyk
dbb223e4de
Fixed applyLbRules for Netscaler.
2013-05-15 10:32:32 -07:00