Support server move operations with ports having resource request

Registered by Balazs Gibizer on 2019-03-20

The Nova REST API microversion 2.72, added in Stein, supports creating server with ports having resource request. However nova rejects moving such servers. This bp aims to add support for the following operations on such servers:
* resize
* cold migrate
* live migrate
* evacuate
* unshelve after shelve offload

Blueprint information

Status:
Started
Approver:
Eric Fried
Priority:
Undefined
Drafter:
Balazs Gibizer
Direction:
Approved
Assignee:
Balazs Gibizer
Definition:
Approved
Series goal:
Accepted for train
Implementation:
Started
Milestone target:
None
Started by
Balazs Gibizer on 2019-05-30

Related branches

Sprints

Whiteboard

Gerrit topic: https://review.openstack.org/#/q/topic:bp/support-server-move-operations-with-ports-having-resource-request

Addressed by: https://review.openstack.org/652608
    Server move operations with ports having resource request

Gerrit topic: https://review.opendev.org/#/q/topic:support-server-move-operations-with-ports-having-resource-request

Addressed by: https://review.opendev.org/655107
    Remove unused param from _fill_provider_mapping

Addressed by: https://review.opendev.org/655108
    Move _fill_provider_mapping to the scheduler_utils

Addressed by: https://review.opendev.org/655109
    prepare func test env for moving servers with bandwidth

Addressed by: https://review.opendev.org/655110
    allow getting resource request of every bound ports of an instance

Addressed by: https://review.opendev.org/655111
    Pass network API to the conducor's MigrationTask

Addressed by: https://review.opendev.org/655112
    handle port allocation during migration

Addressed by: https://review.opendev.org/655113
    func test for migrate server with ports having resource request

Addressed by: https://review.opendev.org/655114
    Extend NeutronFixture to handle migrations

Gerrit topic: https://review.opendev.org/#/q/topic:bp/support-server-move-operations-with-ports-having-resource-request

Addressed by: https://review.opendev.org/652608
    Server move operations with ports having resource request

Addressed by: https://review.opendev.org/655721
    Add request_spec to server move RPC calls

Addressed by: https://review.opendev.org/656422
    update allocation in binding profile during migrate

Gerrit topic: https://review.opendev.org/#/q/topic:bp/support-move-ops-with-qos-ports

Addressed by: https://review.opendev.org/671497
    Allow migrating server with port resource request

Addressed by: https://review.opendev.org/676138
    Make _rever_allocation nested allocation aware

Addressed by: https://review.opendev.org/676140
    Func test for revert migration with bandwidth

Addressed by: https://review.opendev.org/676972
    Func test for migrate re-schedule with bandwidth

Addressed by: https://review.opendev.org/676980
    Support migrating SRIOV port with bandwidth

(?)

Work Items

Dependency tree

* Blueprints in grey have been implemented.

This blueprint contains Public information 
Everyone can see this information.