Add Nova support for Immutable Metadata key patterns

Registered by Robert Lennie

As an Openstack Service engineer I need to ensure that certain instance metadata keys are immutable (ie. unchangeable) to non-admin users for the lifetime of an instance. This change adds the ability to configure a (short) list of regular expressions that are used to match metadata keys which should be immutable to the user.

Blueprint information

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

Related branches

Sprints

Whiteboard

- This change has now been implemented for Yahoo/Oath Openstack IAAS and will be submitted for review
 changed in supporting this are:

 nova/api/openstack/common.py | 27 ++++++
 nova/api/openstack/compute/server_metadata.py | 14 ++-
 nova/conf/api.py | 8 ++
 .../api/openstack/compute/test_server_metadata.py | 99 +++++++++++++++++++++-

 4 files changed, 145 insertions(+), 3 deletions(-)

(?)

Work Items

This blueprint contains Public information 
Everyone can see this information.