Files
nova-specs/specs/mitaka/approved/user-data-modification.rst
Sean Dague 4ed51d077e do not allow specs with zwsp characters
For some reason a number of specs (and docs) have zwsp characters
inserted in URLs. This causes crud in the reviews, and really
confusing errors around line lengths for people (we count them, but
they aren't seen in their editor).

This removes them and makes a test to make sure they never come back.

Change-Id: Ib6e94725e2716dbb2ff86f272fbe4a6987714444
2016-06-02 06:46:54 -04:00

141 lines
2.1 KiB
ReStructuredText

..
This work is licensed under a Creative Commons Attribution 3.0 Unported
License.
http://creativecommons.org/licenses/by/3.0/legalcode
============================
Allow user_data modification
============================
https://blueprints.launchpad.net/nova/+spec/userdata-modification
Current nova API allows setting up user_data during server creation and
retrieving it along with other extended server attributes.
EC2 API requires public API for modification of this data for compatibility
with Amazon.
Problem description
===================
There is no mechanism for end-user to modify user_data.
Use Cases
----------
1. User wants to modify user_data. Impacts end user.
Project Priority
-----------------
None
Proposed change
===============
Add a new microversion allowing modification of OS-USER-DATA:user_data via
PUT method.
Alternatives
------------
None
Data model impact
-----------------
None
REST API impact
---------------
The method:
"/v2/{tenant_id}/servers/{server_id}"
With the method type PUT.
will be updated to allow setting of attribute
"user_data"
The JSON schema will be used exactly the same as for creation (it will be
reused):
::
server_create = {
'user_data': {
'type': 'string',
'format': 'base64'
}
Security impact
---------------
None
Notifications impact
--------------------
None
Other end user impact
---------------------
None
Performance Impact
------------------
None
Other deployer impact
---------------------
None
Developer impact
----------------
None
Implementation
==============
Assignee(s)
-----------
Primary assignee:
Alexandre Levine (alexandrelevine@gmail.com)
Work Items
----------
Single work item.
Dependencies
============
None
Testing
=======
Unit tests and functional tests to be created.
Documentation Impact
====================
Compute API documentation changes
References
==========
``https://etherpad.openstack.org/p/YVR-nova-contributor-meetup``
``http://docs.aws.amazon.com/AWSEC2/latest/APIReference/
API_ModifyInstanceAttribute.html``
History
=======
None