Dynamic Management of Server Groups: Remove VM

Registered by Joe Cropper

This blueprint has been superseded. See the newer blueprint "Generic scheduling policy API" for updated plans.

The primary objective of this blueprint is to extend the server group (formerly known as "instance groups") APIs such that VMs can be removed from the group. At present, a VM can only be removed from a group by deleting the respective VM. This puts cloud administrators in a tough position if a VM is still needed, but its affinity rule is not.

To that end, this blueprint capitalizes on the foundation already in place (i.e., namely the related affinity rules within the scheduler) and adds some incremental API enhancements that make server groups much more consumable from an end-user perspective. The "remove" case is trivial since there are no policy violations or race conditions to consider; yet it still provides value as the user need not delete their VM to "undo" an affinity rule in the event it's no longer applicable.

Primary Use Case:
* As a cloud administrator, I want to remove a VM from a server group (i.e., without having to delete the VM), so that I can update my groups as affinity rules change over time.

There is also a related blueprint for adding a VM to a server group [1].

[1] https://blueprints.launchpad.net/nova/+spec/dynamic-server-groups-add

Blueprint information

Status:
Complete
Approver:
None
Priority:
Undefined
Drafter:
Joe Cropper
Direction:
Needs approval
Assignee:
Joe Cropper
Definition:
Superseded
Series goal:
None
Implementation:
Unknown
Milestone target:
None
Completed by
Joe Cropper

Related branches

Sprints

Whiteboard

As discussed in today's (11/6) "Nova Unconference" session, we will split this blueprint into two items... one for "add" and another for "remove", particularly since the latter is much more trivial since no race conditions are present. Thanks again for the good discussion today! --Joe Cropper (jwcroppe) 6th November 2014

You should not set a milestone target unless the blueprint has been properly prioritized by the project drivers.
(This is an automated message)

Gerrit topic: https://review.openstack.org/#q,topic:bp/dynamic-server-groups-remove,n,z

Addressed by: https://review.openstack.org/136488
    Add 'remove server from server group' API

Addressed by: https://review.openstack.org/136928
    Adds remove_server action to the server group APIs.

Superseded by Jay's blueprint: https://blueprints.launchpad.net/openstack/?searchtext=generic-scheduling-policies
--jwcroppe 05/28/2015

(?)

Work Items

This blueprint contains Public information 
Everyone can see this information.