Offline reshape tool for Placement

Registered by Sylvain Bauza

At the moment, reshapes are done by the compute service when restarting it after an upgrade.

Given fast forward upgrades don't restart services until the last release, Nova needs to continue to support reshapes for old releases, like Stein.

If we want to delete old reshapes upstream (and not checking the needed behaviours everytime we restart nova-compute), we need to provide a specific command (eg. a nova-manage) command that would verify and modify the Placement DB without needing to have the services to be up, ie. an offline tool per say.

The old reshape spec was already telling about it https://specs.openstack.org/openstack/nova-specs/specs/stein/approved/reshape-provider-tree.html#offline-upgrade-script

Blueprint information

Status:
Not started
Approver:
None
Priority:
Undefined
Drafter:
Sylvain Bauza
Direction:
Needs approval
Assignee:
Sylvain Bauza
Definition:
New
Series goal:
None
Implementation:
Unknown
Milestone target:
None

Related branches

Sprints

Whiteboard

Gerrit topic: https://review.opendev.org/#/q/topic:bp/offline-reshape-tool

Addressed by: https://review.opendev.org/742908
    WIP: Offline Reshape tool spec

(?)

Work Items

This blueprint contains Public information 
Everyone can see this information.

Subscribers

No subscribers.