26027 Commits

Author SHA1 Message Date
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
Min Chen
9fb654cbad CLOUDSTACK-8077: Not able to deploy VM using a shared template. 2014-12-16 16:40:37 -08:00
Min Chen
cf1eed4811 CLOUDSTACK-8077: Not able to deploy VM using a shared template. 2014-12-16 16:39:56 -08:00
Jessica Wang
1a8c85a7a8 CLOUDSTACK-8075: UI > Instances menu > Add Instance > Select template/ISO > add a new tab "shared" which will list shared templates/ISOs when being clicked. 2014-12-16 16:16:53 -08:00
Jessica Wang
20777ec3b4 CLOUDSTACK-8075: UI > Instances menu > Add Instance > Select template/ISO > add a new tab "shared" which will list shared templates/ISOs when being clicked. 2014-12-16 16:15:34 -08:00
Brian Federle
e7a96fde79 CLOUDSTACK-8075: Front-end support for shared templates/ISOs 2014-12-16 15:16:30 -08:00
Brian Federle
5f9e0fcd7e CLOUDSTACK-8075: Front-end support for shared templates/ISOs 2014-12-16 14:53:20 -08:00
Jessica Wang
20123d8c0a CLOUDSTACK-8076: UI > Templates menu > Template/ISO > "Filter by" dropdown > add a new option, "shared", which will list shared templates when being selected. 2014-12-16 14:40:51 -08:00
Jessica Wang
6a8dcf5f20 CLOUDSTACK-8076: UI > Templates menu > Template/ISO > "Filter by" dropdown > add a new option, "shared", which will list shared templates when being selected. 2014-12-16 14:38:50 -08:00
Remi Bergsma
66b77380d0 use directIO flags when dd'ing template
This makes sure dom0 in xenserver doesn't get hammered
when copying templates. It doesn't make sense to use
the cache of dom0 as the template does not fit in
memory. The directIO flags prevent it from trying.

(cherry picked from commit 4e1527e87aaaa87d14d3c7d3a6782b80cbf36a8c)
2014-12-16 10:49:57 +01:00
Daan Hoogland
356793d26f Merge branch 'master' of https://github.com/remibergsma/cloudstack 2014-12-16 10:46:57 +01:00
Wei Zhou
ff2ed33645 Fixed few coverity issues 2014-12-16 09:21:28 +01:00
Mike Tutkowski
b7ab955610 When deleting primary storage that's based on the SolidFireShared plug-in (which uses a shared-IOPS approach), remove the volume from the volume access group it's in 2014-12-15 17:15:40 -07:00
Mike Tutkowski
453c5b3ec0 When deleting primary storage that's based on the SolidFireShared plug-in (which uses a shared-IOPS approach), remove the volume from the volume access group it's in 2014-12-15 16:23:33 -07:00
Remi Bergsma
4e1527e87a use directIO flags when dd'ing template
This makes sure dom0 in xenserver doesn't get hammered
when copying templates. It doesn't make sense to use
the cache of dom0 as the template does not fit in
memory. The directIO flags prevent it from trying.
2014-12-15 16:36:35 +01:00
Jayapal
aca0f79592 CLOUDSTACK-8072: Fixed NPE in deleting default ACL items in default ACL 2014-12-15 16:44:08 +05:30
Jayapal
85bb685662 CLOUDSTACK-8072: Fixed NPE in deleting default ACL items in default ACL 2014-12-15 16:37:35 +05:30
Wei Zhou
6fb9746e5e CLOUDSTACK-7316: usage server cannot start due to missing key in /etc/cloudstack/usage/ in Ubuntu setup 2014-12-15 09:22:52 +01:00
Sebastien Goasguen
cdc66c9e70 Small typo correction, exisits -> exists
Signed-off-by: Rajani Karuturi <rajanikaruturi@gmail.com>

This closes #57
2014-12-15 11:26:19 +05:30
Rohit Yadav
1a66b3b5c6 CLOUDSTACK-8070: Upgrade router.ram.size using encryption util
Upgrade fails if value is set using plain text encoding, the value needs to
be encrypted (if a key was provided during db was setup).

Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>
(cherry picked from commit 6321a29e4336de9ffe96e27968f896ec5a8bf37d)
Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>
2014-12-13 00:18:05 +05:30
Rohit Yadav
6321a29e43 CLOUDSTACK-8070: Upgrade router.ram.size using encryption util
Upgrade fails if value is set using plain text encoding, the value needs to
be encrypted (if a key was provided during db was setup).

Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>
2014-12-13 00:17:09 +05:30
vetrivelc
dd145a397a Removed duplicate label id entry from dictionary files and update the template.js file.
Signed-off-by: vetrivelc <vetrivel.chinnasamy@citrix.com>
2014-12-12 09:31:09 -08:00
Anshul Gangwar
b07c9b7a9c CLOUDSTACK-8067: Fixed NPEs in MS log related to console proxy VM
(cherry picked from commit 1115bc9cc6ebf2b321bb5a3ff6958d649150cfe5)
Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>
2014-12-12 21:41:38 +05:30
Rohit Yadav
aa92f5d483 Merge remote-tracking branch 'anshulg/CLOUDSTACK-8067'
This closes #56

Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>
2014-12-12 21:40:21 +05:30
Gaurav Aradhye
9c7f50aaac CLOUDSTACK-8069: Fixed test script in test_tags.py
Signed-off-by: SrikanteswaraRao Talluri <talluri@apache.org>
2014-12-12 19:03:08 +05:30
Gaurav Aradhye
e791e8ec6d CLOUDSTACK-8069: Fixed test script in test_tags.py
Signed-off-by: SrikanteswaraRao Talluri <talluri@apache.org>
2014-12-12 19:01:17 +05:30
Wei Zhou
19e99848c8 CLOUDSTACK-7882: SSH Keypair Creation/Selection in UI
Thanks Ilia Shakitko for the porting and testing.
2014-12-12 14:30:34 +01:00
Gaurav Aradhye
ecbeb003ec CLOUDSTACK-8055: Tagging test cases which can't be run on simulator accordingly
Signed-off-by: SrikanteswaraRao Talluri <talluri@apache.org>
2014-12-12 18:58:14 +05:30
Gaurav Aradhye
ff15320a4e CLOUDSTACK-8055: Tagging test cases which can't be run on simulator accordingly
Signed-off-by: SrikanteswaraRao Talluri <talluri@apache.org>
2014-12-12 18:57:02 +05:30
Gaurav Aradhye
fab0054782 CLOUDSTACK-8068: Fixing test script issue in test_ps_project_limits.py
Signed-off-by: SrikanteswaraRao Talluri <talluri@apache.org>
2014-12-12 18:55:48 +05:30
Gaurav Aradhye
44d295e5c0 CLOUDSTACK-8068: Fixing test script issue in test_ps_project_limits.py
Signed-off-by: SrikanteswaraRao Talluri <talluri@apache.org>
2014-12-12 18:54:28 +05:30
Gaurav Aradhye
47ee7c0319 CLOUDSTACK-8055: Tagging test cases which can't be run on simulator accordingly
Signed-off-by: SrikanteswaraRao Talluri <talluri@apache.org>
2014-12-12 18:39:24 +05:30
Gaurav Aradhye
d2ed5fb9a3 CLOUDSTACK-8055: Tagging test cases which can't be run on simulator accordingly
Signed-off-by: SrikanteswaraRao Talluri <talluri@apache.org>
2014-12-12 18:31:45 +05:30
Wei Zhou
76dc20a0ee CLOUDSTACK-255: fix NPE in createPortForwardingRule due to no PortForwarding provider
(cherry picked from commit c9d492d7140dd53f1630bc5ea14b948184233612)
2014-12-12 11:15:08 +01:00