Add a specific policy for cold-migrate to host

Registered by Sylvain Bauza

As we agreed on the Bobcat PTG, we only have one policy for the cold-migrate action, which is admin only by default.
Some operators wanted a better granularity by having a separate policy for the cold-migrate action *if* the host parameter is set.

We propose here to add a new policy named os_compute_api:os-migrate-server:migrate:host where the rule will default to rule:context_is_admin.

As nothing will change from an API perspective (no API modifications and same default policies), we don't need a microversion for it.

Blueprint information

Status:
Complete
Approver:
Sylvain Bauza
Priority:
Undefined
Drafter:
Sylvain Bauza
Direction:
Approved
Assignee:
Sylvain Bauza
Definition:
Approved
Series goal:
Accepted for bobcat
Implementation:
Implemented
Milestone target:
None
Started by
Sylvain Bauza
Completed by
Sylvain Bauza

Related branches

Sprints

Whiteboard

[20230425 bauzas] Approved as a specless blueprint during todat's nova meeting

Gerrit topic: https://review.opendev.org/#/q/topic:bp/cold-migrate-to-host-policy

Addressed by: https://review.opendev.org/c/openstack/nova/+/881562
    Add a new policy for cold-migrate with host

(?)

Work Items

This blueprint contains Public information 
Everyone can see this information.

Subscribers

No subscribers.