25910 Commits

Author SHA1 Message Date
Likitha Shetty
a75a431373 CLOUDSTACK-8107. Failed to create snapshot from volume when the task is performed repeatedly in zone wide primary Storage.
While taking a snapshot of a volume, CS chooses the endpoint to perform backup snapshot operation by selecting any host that has the storage containing the volume mounted on it.
Instead, if the volume is attached to a VM, the endpoint chosen by CS should be the host that contains the VM.
2014-12-23 09:48:35 +05:30
Ashutosh K
ff37fa5de0 CLOUDSTACK-8095: Fixed Iso attach issue in test_escalations_instances.py
Signed-off-by: SrikanteswaraRao Talluri <talluri@apache.org>
2014-12-22 13:03:20 +05:30
Gaurav Aradhye
f52f968c83 CLOUDSTACK-8100: Fixed pep8 issues in test_vpc.py
Signed-off-by: SrikanteswaraRao Talluri <talluri@apache.org>
2014-12-22 12:55:41 +05:30
Koushik Das
331e257ca0 CLOUDSTACK-8103: Vmsync marks VM as stopped even after failing to stop it in HV
During vmsync if StopCommand (issued as part of PowerOff/PowerMissing report) fails to stop VM (since VM is running on HV),
don't transition VM state to "Stopped" in CS db. Also added a check to throw ConcurrentOperationException if vm state is not
"Running" after start operation.
2014-12-22 10:52:13 +05:30
Min Chen
e559b15b6a CLOUDSTACK-8101: volume sync not working as expected - MS restart during upload volume leaves volume in hung state. 2014-12-19 16:51:41 -08:00
Min Chen
ea634550fc CLOUDSTACK-8101: volume sync not working as expected - MS restart during upload volume leaves volume in hung state. 2014-12-19 15:51:52 -08:00
Jessica Wang
4cb9505548 CLOUDSTACK-8102: UI > Quick Install Wizard > update admin > should encode parameter value once instead of twice before sending it to API. 2014-12-19 15:43:12 -08:00
Jessica Wang
5fea96fdc2 CLOUDSTACK-6666: UI > network > VPC > Router > Public IP Addresses > IP Address detailView > Configuration tab > Load Balancing > Select VM screen > implement keyword search. 2014-12-19 14:28:45 -08:00
Jessica Wang
8bcde024a8 CLOUDSTACK-6666: UI > network > VPC > Router > Public IP Addresses > IP Address detailView > Configuration tab > Port Forwarding > Select VM screen > implement keyword search. 2014-12-19 14:28:15 -08:00
Wei Zhou
54db0d2a70 show Warning instead of Confirmation in confirm dialog if isWarning is set to true 2014-12-19 10:06:31 +01:00
Sanjay Tripathi
0c4128e024 CLOUDSTACK-8097: Failed to create volume snapshot after vm live migration across clusters. 2014-12-19 14:26:48 +05:30
Gaurav Aradhye
3090e4a030 CLOUDSTACK-8084: Fixed test_17_add_nic_different_zone in test_add_remove_network.py
Signed-off-by: SrikanteswaraRao Talluri <talluri@apache.org>
2014-12-19 10:20:29 +05:30
Chandan Purushothama
696698090e CLOUDSTACK-8086: Simulator needs a Portable IP Range to execute Portable IP Test Cases
Signed-off-by: SrikanteswaraRao Talluri <talluri@apache.org>
2014-12-19 10:19:18 +05:30
Ashutosh K
162f61b73f CLOUDSTACK-8087: Fixed test_vpc_on_host_maintenance.py
Signed-off-by: SrikanteswaraRao Talluri <talluri@apache.org>
2014-12-19 10:15:25 +05:30
Gaurav Aradhye
95b558414f CLOUDSTACK-8090: Moving test_dedicated_guest_vlan_ranges.py to maint folder for the test cases need to be run separately, serially
Signed-off-by: SrikanteswaraRao Talluri <talluri@apache.org>
2014-12-19 10:13:06 +05:30
Jessica Wang
923c65d7ce CLOUDSTACK-6744 > UI > zone wizard > baremetal hypervisor > support EIP ELB feature. 2014-12-18 18:15:06 -08:00
Gaurav Aradhye
ad258cc8f5 CLOUDSTACK-8089: Fixed test_explicit_dedication.py test case and moved to maint folder for it is to be run separately
Signed-off-by: pdion891 <pdion891@apache.org>
2014-12-18 20:00:12 -05:00
Min Chen
d304409c98 CLOUDSTACK-8093:Not able to list shared templates by passing id. 2014-12-18 10:00:18 -08:00
Daan Hoogland
68b9ba4515 Merge remote-tracking branch 'origin/4.5' 2014-12-18 14:37:55 +01:00
Daan Hoogland
67a7f74be0 CLOUDSTACK-7184 fieldname typo 2014-12-18 14:37:23 +01:00
Saksham Srivastava
4821bfffe2 CLOUDSTACK-8091: Stale entry exists for a VM NIC even after an exception while adding a new nic to vm 2014-12-18 17:45:34 +05:30
Daan Hoogland
f4133a7f70 Merge remote-tracking branch 'origin/4.5' 2014-12-18 12:55:47 +01:00
Daan Hoogland
8b6e251b5d CLOUDSTACK-7184 config value for xen heartbeat timeout 2014-12-18 12:26:14 +01:00
Saksham Srivastava
1df0453d27 CLOUDSTACK-8088: VM scale up is failing in vmware with Unable to execute ScaleVmCommand due to java.lang.NullPointerException 2014-12-18 14:27:55 +05:30
Laszlo Hornyak
301cb03cf2 upgrade to jetty 9
upgraded jetty from 6.1 to 9.2. The 6.1 branch was announced EOL a few weeks ago.

Signed-off-by: Laszlo Hornyak <laszlo.hornyak@gmail.com>
Signed-off-by: Rajani Karuturi <rajanikaruturi@gmail.com>

This closes #59
2014-12-18 11:57:02 +05:30
Edison Su
1eb20ee095 if concurrent snapshot happening on the same vm, throw invalid parameter
exception to user.
Reviewed-by: Frank
2014-12-17 14:35:42 -08:00
Edison Su
b036c32bfc if concurrent snapshot happening on the same vm, throw invalid parameter
exception to user.
Reviewed-by: Frank
2014-12-17 14:35:15 -08:00
Edison Su
8f2bd45660 if local storage is in maitenance mode or removed, won't change its
status in case of mgt server restart
Reviewed-by:Frank
2014-12-17 14:34:48 -08:00
Edison Su
b40d9c23fc if local storage is in maitenance mode or removed, won't change its
status in case of mgt server restart
Reviewed-by:Frank
2014-12-17 14:34:23 -08:00
Edison Su
50d5d488d4 add event for volume migration
Reviewed-by: Frank
2014-12-17 14:33:54 -08:00
Edison Su
5a10a4725d add event for volume migration
Reviewed-by: Frank
2014-12-17 14:33:06 -08:00
Brian Federle
21d9f132ca Fix 'add isolated guest network' label 2014-12-17 14:15:57 -08:00
Prachi Damle
1c5e8ebb31 CLOUDSTACK-8022: [Automation] Deletion of Domain with Cleanup set to "true" fails
Changes:

-  This is a race condition between the deleteDomain thread and AccountChecker thread. DeleteDomain thread marks the domain as inactive and proceeds for cleanup, AccountChecker thread that runs at the same time cleans up any domains marked as inactive.
-  When the DeleteDomain thread finds that domain is already removed, it need not error out since the domain deletion has already happened
2014-12-17 13:53:30 -08:00
Prachi Damle
01ae7120ac CLOUDSTACK-8078: [Automation] Deletion of Affinity Groups - CloudRuntimeException: No Event Pubish can be wrapped within DB Transaction!
Changes:
-     The event of deleteing an affinity group is published on the MessageBus so that IAM Service can listen and process the event, However the publish operation should not be handled within a DB transaction, since it may take longer and hold the DB transaction for long unnecessarily
-    Publish any events to MessageBus outside of the transaction

Conflicts:
	server/src/org/apache/cloudstack/affinity/AffinityGroupServiceImpl.java
2014-12-17 13:53:11 -08:00
Prachi Damle
a7861aa5fa CLOUDSTACK-8079: If the cluster capacity threshold is reached, HA-enabled VM is not migrated on another host during HA
Changes:
-  When there is HA we try to redeploy the affected vm using regular planners and if that fails we retry using the special planner for HA (which skips checking disable threshold)
Now because of job framework the InsufficientCapacittyException gets masked and the special planners are not called. Job framework needs to be fixed to rethrow the correct exception.
- Also the VM Work Job framework is  not setting the DeploymentPlanner to the VmWorkJob.  So the HA Planner being passed by HAMgr was not getting used.
- Now the job framework sets the planner passed in by any caller of the VM Start operation, to the job
2014-12-17 13:48:24 -08:00
Prachi Damle
f5d4736c87 CLOUDSTACK-8079: If the cluster capacity threshold is reached, HA-enabled VM is not migrated on another host during HA
Changes:
-  When there is HA we try to redeploy the affected vm using regular planners and if that fails we retry using the special planner for HA (which skips checking disable threshold)
Now because of job framework the InsufficientCapacittyException gets masked and the special planners are not called. Job framework needs to be fixed to rethrow the correct exception.
- Also the VM Work Job framework is  not setting the DeploymentPlanner to the VmWorkJob.  So the HA Planner being passed by HAMgr was not getting used.
- Now the job framework sets the planner passed in by any caller of the VM Start operation, to the job
2014-12-17 11:43:07 -08:00
Prachi Damle
74720830cd CLOUDSTACK-8078: [Automation] Deletion of Affinity Groups - CloudRuntimeException: No Event Pubish can be wrapped within DB Transaction!
Changes:
-     The event of deleteing an affinity group is published on the MessageBus so that IAM Service can listen and process the event, However the publish operation should not be handled within a DB transaction, since it may take longer and hold the DB transaction for long unnecessarily
-    Publish any events to MessageBus outside of the transaction
2014-12-17 11:43:05 -08:00
Prachi Damle
141a71b518 CLOUDSTACK-8022: [Automation] Deletion of Domain with Cleanup set to "true" fails
Changes:

-  This is a race condition between the deleteDomain thread and AccountChecker thread. DeleteDomain thread marks the domain as inactive and proceeds for cleanup, AccountChecker thread that runs at the same time cleans up any domains marked as inactive.
-  When the DeleteDomain thread finds that domain is already removed, it need not error out since the domain deletion has already happened
2014-12-17 11:43:03 -08:00
Jessica Wang
ff62ccc13e CLOUDSTACK-8075: UI > Instances menu > Add Instance > Select template/ISO > "shared" tab > select a shared template, click Next button => fix error "unable to find matched template object". 2014-12-17 11:00:10 -08:00
Jessica Wang
11fa48108f CLOUDSTACK-8075: UI > Instances menu > Add Instance > Select template/ISO > "shared" tab > select a shared template, click Next button => fix error "unable to find matched template object". 2014-12-17 10:58:43 -08:00
SrikanteswaraRao Talluri
b6bac7f673 bug-id:CLOUDSTACK-8055cleaned up test tags, removed unecessary tags.
reviewed-by: SrikanteswaraRao Talluri <talluri@apache.org>

Signed-off-by: SrikanteswaraRao Talluri <talluri@apache.org>
2014-12-17 18:54:09 +05:30
Ashutosh K
ed5bc1c7ea CLOUDSTACK-8071: Fixed api key issue in test_snapshots_improvement.py
Signed-off-by: SrikanteswaraRao Talluri <talluri@apache.org>
2014-12-17 17:28:53 +05:30
Gaurav Aradhye
94814603db CLOUDSTACK-8055: test_portable_ip.py - Tagging test case which can't be run on simulator
Signed-off-by: SrikanteswaraRao Talluri <talluri@apache.org>
2014-12-17 17:28:44 +05:30
Gaurav Aradhye
daabe92a99 CLOUDSTACK-8081: Fixed VM snapshot test cases in test_escalation_instances.py and also dealt cleanup issues
Signed-off-by: SrikanteswaraRao Talluri <talluri@apache.org>
2014-12-17 17:28:35 +05:30
Ashutosh K
c3508f61a1 CLOUDSTACK-8074: Fixed maint/test_multiple_ip_ranges.py
Signed-off-by: SrikanteswaraRao Talluri <talluri@apache.org>
2014-12-17 17:28:25 +05:30
Ashutosh K
7cf94260ee CLOUDSTACK-8074: Fixed maint/test_multiple_ip_ranges.py
Signed-off-by: SrikanteswaraRao Talluri <talluri@apache.org>
2014-12-17 17:25:05 +05:30
Gaurav Aradhye
6674f95cdd CLOUDSTACK-8081: Fixed VM snapshot test cases in test_escalation_instances.py and also dealt cleanup issues
Signed-off-by: SrikanteswaraRao Talluri <talluri@apache.org>
2014-12-17 17:20:53 +05:30
Gaurav Aradhye
831cb1130e CLOUDSTACK-8055: test_portable_ip.py - Tagging test case which can't be run on simulator
Signed-off-by: SrikanteswaraRao Talluri <talluri@apache.org>
2014-12-17 17:18:40 +05:30
Ashutosh K
391108ff53 CLOUDSTACK-8071: Fixed api key issue in test_snapshots_improvement.py
Signed-off-by: SrikanteswaraRao Talluri <talluri@apache.org>
2014-12-17 17:17:59 +05:30
Sanjay Tripathi
9153b8bede CLOUDSTACK-8066: There is not way to know the size of the snapshot created. 2014-12-17 16:00:19 +05:30