Instance reservation with no affinity rule

Registered by Hiroaki Kobayashi on 2017-10-04

Currently, instance reservation support only ANTI-AFFINITY rule because it is impossible to estimate how much resources will be actually consumed without the anti-affinity rule. This affinity constraint should be abolished, i.e. support AFFINITY and NO-AFFINITY rules, for improving flexibility of reservation. Related to: https://blueprints.launchpad.net/blazar/+spec/placement-api

Blueprint information

Status:
Complete
Approver:
Masahito Muroi
Priority:
Medium
Drafter:
Hiroaki Kobayashi
Direction:
Approved
Assignee:
Tetsuro Nakamura
Definition:
Approved
Series goal:
Accepted for stein
Implementation:
Implemented
Milestone target:
milestone icon stein-3
Started by
Pierre Riteau on 2019-03-20
Completed by
Pierre Riteau on 2019-03-20

Related branches

Sprints

Whiteboard

The feature is supposed to be implemented once Blazar has supported PlacementAPI. See the long-term goal in the instance reservation's spec.

https://docs.openstack.org/blazar/latest/specs/pike/new-instance-reservation.html

Addressed by: https://review.openstack.org/576343
    Spec: Placement API support for instance reservation

Gerrit topic: https://review.openstack.org/#/q/topic:bp/placement-api,n,z

Gerrit topic: https://review.openstack.org/#q,topic:bp/no-affinity-instance-reservation,n,z

Addressed by: https://review.openstack.org/627324
    Change pickup_hosts() to support affinity=True

Addressed by: https://review.openstack.org/627325
    Change update_host_allocations() for affinity=True

Addressed by: https://review.openstack.org/627326
    Change placement call to consider affinity=True

Addressed by: https://review.openstack.org/627327
    Support affinity=True in reallocation

Addressed by: https://review.openstack.org/627594
    Start working on no affinity instance reservation

Addressed by: https://review.openstack.org/627857
    Update docs for instance reservation affinity

Addressed by: https://review.openstack.org/634192
    Support to add reservation inventory

Addressed by: https://review.openstack.org/636817
    Distinguish hypervisor_hostname and service_name

Addressed by: https://review.openstack.org/642969
    Use oslo_serialization.jsonutils.dump_as_bytes()

(?)

Work Items

Dependency tree

* Blueprints in grey have been implemented.

This blueprint contains Public information 
Everyone can see this information.

Subscribers

No subscribers.