Prachi Damle
a06bd9fa2b
CLOUDSTACK-4168 Root Admin should be able to create 'ExplicitDedication' affinity group at domain level and make it available for all accounts in the domain
...
Changes:
- 'ExcplicitDedication' type of group can be created/deleted by Root admin only
- Users can no longer create this type of affinity group
- RootAdmin can create this type of affinitygroup at domain level. Such a domain level group is available for all accounts in that domain for listing and for use during deployVM.
- The domain level affinitygroup should be visible to the users in that domain, domain admins and Root admin.
Conflicts:
server/src/com/cloud/api/query/QueryManagerImpl.java
server/src/org/apache/cloudstack/affinity/AffinityGroupServiceImpl.java
server/test/org/apache/cloudstack/affinity/AffinityApiUnitTest.java
2013-09-03 20:02:34 -07:00
Prachi Damle
ee664a1cac
CLOUDSTACK-2159 Anti-Affinity - When "HostAntiAffinityProcessor" plugin is not included in the deployment , deployVirtualMachine() command does not error out when passing the affiitygroupnames parameter.
...
Changes:
- Added a check during vm deployment to see if a processor for the affinity group type is available
2013-07-16 15:48:07 -07:00
ahuang
11e1e585b1
UserContext switched to CallContext. Added generic storage mechanism for other code to carry information throughout a call. Made the calling User and Account a must have. Added an interface to carry entities in error. Fixed up the code. Part of the vmsync branch
2013-07-16 11:24:21 -07:00
Prachi Damle
34943adfc6
CLOUDSTACK-2366: Anti-Affinity - DeleteAffinityGroup API should allow for deletion of Afffinity group even when VMs are associated with it.
...
Changes:
- Allowing group to be deleted even when VMs are associated to it.
2013-05-29 17:59:32 -07: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
Nitin Mehta
c11dbad9c9
merge master
2013-05-11 15:28:43 +05:30
Prachi Damle
e03176c4d4
Apart from the UUID, we need not log any other details for AffinityGroup in error messages.
2013-04-17 18:04:18 -07:00
Prachi Damle
112446602d
(CLOUDSTACK-2068) Anti-Affinity - When Vm deployment associated with anity-affinity group fails , it is still included in the vmlist of the anti-affiity group
...
Changes:
- Added removal of the groups association when VM reaches 'Error' state.
2013-04-17 15:00:56 -07:00
Prachi Damle
c1a85401ae
Single AffinityGroupProcessor could process multiple groups of same type.
2013-04-11 17:29:42 -07:00
Prachi Damle
bfed74c411
Fixing rat. Merge with master missed the header change
2013-04-11 13:37:03 -07:00
Prachi Damle
6137d327a8
Fixes to unit-test dues to changes in master
2013-04-11 13:23:48 -07:00
Prachi Damle
eea0ed5c4e
Fixes for issues found while testing after the merge
2013-04-11 13:23:46 -07:00
Prachi Damle
bbf7900732
Adding pretty toString() to AffinityGroup
2013-04-11 13:23:43 -07:00
Prachi Damle
d38bf8a10c
More log statements to debug
2013-04-11 13:23:27 -07:00
Prachi Damle
3403b54773
Added AffinityGroup View in order to include VM details while listing AffinityGroups.
2013-04-11 13:23:23 -07:00
Prachi Damle
0b3850c14f
Added cleanup of affinitygroups when a VM is expunging and when the account is deleted.
2013-04-11 13:23:18 -07:00
Prachi Damle
b633dde744
Adding a unit test for the new affinity groups API
2013-04-11 13:23:11 -07:00
Prachi Damle
c7c899f62d
Fixes after functional tests
...
Conflicts:
client/tomcatconf/commands.properties.in
2013-04-11 13:23:04 -07:00
Prachi Damle
bb9bdf0173
Changes to make affinity group types configurable.
2013-04-11 13:23:01 -07:00
Prachi Damle
708157d33f
API changes to expose the commands
2013-04-11 13:22:59 -07:00
Prachi Damle
e9300d2676
DAO constructor should be lightweight to make Spring DI faster.
2013-04-11 13:22:51 -07:00
Prachi Damle
bf9221a370
Separated out host anti-affinity as a plugin.
2013-04-11 13:22:45 -07:00
Prachi Damle
fe2a86871f
Changes to add AffinityGroupprocessor, deployVM changes
2013-04-11 13:22:42 -07:00
Prachi Damle
1aed5bf9c2
ListAffinityGroups API changes
2013-04-11 13:22:38 -07:00
Prachi Damle
50f53c86f5
DeleteAffinityGroup API changes
2013-04-11 13:22:34 -07:00
Prachi Damle
1e205a3d0b
More API changes
2013-04-11 13:22:30 -07:00