Allow instance user_data to be updated

Registered by Steve Baker

A feature of Heat is to allow updates to existing compute servers triggered by changes to polled data.

Currently compute servers must poll for changes via a cfn API metadata lookup, which requires authentication to be delivered to the server, plus extra complexity in the heat template to enable this authentication.

This same data exists in the nova metadata server http://169.254.169.254/latest/user-data but it is currently not possible to update this data on a running instance.

This blueprint proposes that nova allows user_data to be updated via the server update API, with corresponding support in novaclient.

Blueprint information

Status:
Started
Approver:
sean mooney
Priority:
Undefined
Drafter:
Steve Baker
Direction:
Approved
Assignee:
Jan Hartkopf
Definition:
Approved
Series goal:
Accepted for zed
Implementation:
Slow progress
Milestone target:
None
Started by
Sylvain Bauza

Related branches

Sprints

Whiteboard

Gerrit topic: https://review.openstack.org/#q,topic:bp/update-userdata,n,z

Addressed by: https://review.openstack.org/49971
    Allow user_data to be updated on nova API update

Addressed by: https://review.openstack.org/53732
    Implement a v3 API extension to update user_data
Gerrit topic: https://review.openstack.org/#q,topic:bp/update-userdata,n,z

Addressed by: https://review.openstack.org/49971
    Allow user_data to be updated on nova API update

Addressed by: https://review.openstack.org/53732
    Implement a v3 API extension to update user_data

If you are still working on this, please re-submit via nova-specs. If not, please mark as obsolete, and add a quick comment to describe why. --johnthetubaguy (20th April 2014)

I am not currently pursuing this approach. Heat doesn't currently require the user_data to be updatable after boot.

Addressed by: https://review.openstack.org/530224
    Allow user_data to be updated

Addressed by: https://review.openstack.org/547964
    Allow modification of user-data via the server update

[bauzas 20220517] Spec was approved

(?)

Work Items

This blueprint contains Public information 
Everyone can see this information.