New instance reservation feature

Registered by Hiroaki Kobayashi

The instance reservation feature is not available in this release because it depends on
Nova API extensions - v2 of which was deprecated in Liberty and the API extension itself
is completely removed in Ocata[2]. We have to implement in another way to get instance
reservation feature back.

Blueprint information

Status:
Complete
Approver:
Blazar core developers
Priority:
High
Drafter:
Hiroaki Kobayashi
Direction:
Approved
Assignee:
Masahito Muroi
Definition:
Review
Series goal:
Accepted for 0.x.0
Implementation:
Implemented
Milestone target:
milestone icon 0.3.0
Started by
Hiroaki Kobayashi
Completed by
Masahito Muroi

Related branches

Sprints

Whiteboard

Previous discussion was on the etherpad page: https://etherpad.openstack.org/p/new-instance-reservation

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

Addressed by: https://review.openstack.org/459533
    Instance reservation specs

Addressed by: https://review.openstack.org/467064
    Nova section in blazar.conf

Addressed by: https://review.openstack.org/467065
    Move ReservationPool class into utils/openstack/nova.py

Addressed by: https://review.openstack.org/467965
    Move NovaInventory class to utils/openstack/nova.py

Addressed by: https://review.openstack.org/471626
    Remove old instance reservation plugin

Addressed by: https://review.openstack.org/472130
    Create instance_reservations table

Addressed by: https://review.openstack.org/#/c/472113
    Remove old instance reservation code

Addressed by: https://review.openstack.org/475689
    Add db api methods for the instance reservation table

Addressed by: https://review.openstack.org/476788
    Move convert_requirements method to utils namespace

Addressed by: https://review.openstack.org/476789
    Instance reservation plugin

Gerrit topic: https://review.openstack.org/#q,topic:new-instance-plugin,n,z

Addressed by: https://review.openstack.org/478450
    Check max usages of hosts in particular time window

Addressed by: https://review.openstack.org/480929
    Create Nova's resources for instance reservations

Addressed by: https://review.openstack.org/481632
    Enable instance_plugin to handle on_start and on_end events

Addressed by: https://review.openstack.org/485064
    Pass only the instance reservation specific columns to reservation table

Addressed by: https://review.openstack.org/485065
    Enable deployers to specify virtual.intance.plugin in blazar.conf

Addressed by: https://review.openstack.org/488302
    Enable devstack to setup the new instance reservation

Addressed by: https://review.openstack.org/488303
    Add a releasenote of the new instance reservation

Addressed by: https://review.openstack.org/488304
    Add user guide for the new instance reservation feature

(hiro-kobayashi)
How about completing (changing status as implemented) this blueprint and extract remaining 2 work items 'update_reservation(), client support) as a new blueprint or bug entry?

(masahito)
The two items related to the BP move to bug reports.

(?)

Work Items

Work items:
* move plugins/oshosts/nova_inventory.py and plugins/oshosts/reservation_pool.py into utils/openstack/nova.py: DONE
* delete (or clear) the previous plugins/instances/vm_plugin.VMPlugin class: DONE
* delete the previous instance plugin related code in blazar-nova: DONE
* implement the new plugins/instances/instance_plugin.py: DONE
* create_reservation(), on_start() and on_end() are first priority for implementations: DONE
* create the instance_reservations table: DONE
* supports the new instance reservation in blazarclient: DONE

This blueprint contains Public information 
Everyone can see this information.

Subscribers

No subscribers.