)]}'
{"specs/rocky/approved/update-user-data.rst":[{"author":{"_account_id":6873,"name":"Matt Riedemann","email":"mriedem.os@gmail.com","username":"mriedem"},"change_message_id":"4e4d6df37f1ed60533d5df0e2538bbb31915ea72","unresolved":false,"context_lines":[{"line_number":17,"context_line":"\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d"},{"line_number":18,"context_line":""},{"line_number":19,"context_line":"It\u0027s impossible for users to update user-data on booted instances."},{"line_number":20,"context_line":"Nova only allows a user-data to be provided on server boot and rebuild."},{"line_number":21,"context_line":""},{"line_number":22,"context_line":"Use Cases"},{"line_number":23,"context_line":"---------"}],"source_content_type":"text/x-rst","patch_set":4,"id":"df7087c5_b4b770f5","line":20,"range":{"start_line":20,"start_character":63,"end_line":20,"end_character":70},"updated":"2018-03-15 13:46:40.000000000","message":"This is how you update user-data on an existing instance.","commit_id":"65e1593e23900ccd77cc015bf02392b35b81a28f"},{"author":{"_account_id":13323,"name":"Tatiana Kholkina","email":"tlashchova@gmail.com","username":"tlashchova"},"change_message_id":"f9add212c2f731e51e9eb78049c7c5e9dd74fbac","unresolved":false,"context_lines":[{"line_number":17,"context_line":"\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d"},{"line_number":18,"context_line":""},{"line_number":19,"context_line":"It\u0027s impossible for users to update user-data on booted instances."},{"line_number":20,"context_line":"Nova only allows a user-data to be provided on server boot and rebuild."},{"line_number":21,"context_line":""},{"line_number":22,"context_line":"Use Cases"},{"line_number":23,"context_line":"---------"}],"source_content_type":"text/x-rst","patch_set":4,"id":"df7087c5_3e625ad9","line":20,"range":{"start_line":20,"start_character":63,"end_line":20,"end_character":70},"in_reply_to":"df7087c5_b4b770f5","updated":"2018-03-15 14:56:57.000000000","message":"Rebuild kills all the data on the instance. I suggest to update user-data without data loss.","commit_id":"65e1593e23900ccd77cc015bf02392b35b81a28f"},{"author":{"_account_id":6873,"name":"Matt Riedemann","email":"mriedem.os@gmail.com","username":"mriedem"},"change_message_id":"4e4d6df37f1ed60533d5df0e2538bbb31915ea72","unresolved":false,"context_lines":[{"line_number":27,"context_line":"Proposed change"},{"line_number":28,"context_line":"\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d"},{"line_number":29,"context_line":""},{"line_number":30,"context_line":"Add a new microversion allowing modification of user-data via the server update"},{"line_number":31,"context_line":"API, with corresponding support in novaclient."},{"line_number":32,"context_line":""},{"line_number":33,"context_line":"Alternatives"}],"source_content_type":"text/x-rst","patch_set":4,"id":"df7087c5_14765c3f","line":30,"updated":"2018-03-15 13:46:40.000000000","message":"And then what? How do you propose getting the user-data into the guest since we\u0027re not going to rebuild the config drive, or the fact that several cloud images disable/delete cloud-init after the first guest OS boot?\n\nThere was already a lot of thought put into passing user-data to rebuild, see the mailing list thread about it:\n\nhttp://lists.openstack.org/pipermail/openstack-operators/2017-October/014309.html","commit_id":"65e1593e23900ccd77cc015bf02392b35b81a28f"},{"author":{"_account_id":13323,"name":"Tatiana Kholkina","email":"tlashchova@gmail.com","username":"tlashchova"},"change_message_id":"f9add212c2f731e51e9eb78049c7c5e9dd74fbac","unresolved":false,"context_lines":[{"line_number":27,"context_line":"Proposed change"},{"line_number":28,"context_line":"\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d"},{"line_number":29,"context_line":""},{"line_number":30,"context_line":"Add a new microversion allowing modification of user-data via the server update"},{"line_number":31,"context_line":"API, with corresponding support in novaclient."},{"line_number":32,"context_line":""},{"line_number":33,"context_line":"Alternatives"}],"source_content_type":"text/x-rst","patch_set":4,"id":"df7087c5_8b100659","line":30,"in_reply_to":"df7087c5_14765c3f","updated":"2018-03-15 14:56:57.000000000","message":"I could propose to rebuild the config-drive on reboot.","commit_id":"65e1593e23900ccd77cc015bf02392b35b81a28f"},{"author":{"_account_id":6873,"name":"Matt Riedemann","email":"mriedem.os@gmail.com","username":"mriedem"},"change_message_id":"4e4d6df37f1ed60533d5df0e2538bbb31915ea72","unresolved":false,"context_lines":[{"line_number":33,"context_line":"Alternatives"},{"line_number":34,"context_line":"------------"},{"line_number":35,"context_line":""},{"line_number":36,"context_line":"None"},{"line_number":37,"context_line":""},{"line_number":38,"context_line":"Data model impact"},{"line_number":39,"context_line":"-----------------"}],"source_content_type":"text/x-rst","patch_set":4,"id":"df7087c5_149dfc64","line":36,"updated":"2018-03-15 13:46:40.000000000","message":"The alternative is update the user-data on rebuild, which will give you a chance at the user-data actually being read by config-drive on first boot of the new guest OS image.","commit_id":"65e1593e23900ccd77cc015bf02392b35b81a28f"},{"author":{"_account_id":6873,"name":"Matt Riedemann","email":"mriedem.os@gmail.com","username":"mriedem"},"change_message_id":"090d6b16dec19074295f9f8c41c0ac6bafb18fc2","unresolved":false,"context_lines":[{"line_number":114,"context_line":"Work Items"},{"line_number":115,"context_line":"----------"},{"line_number":116,"context_line":""},{"line_number":117,"context_line":"* Add a microversion to the REST API to update instances with a description."},{"line_number":118,"context_line":"* CLI and API binding changes to python-novaclient."},{"line_number":119,"context_line":"* Update API docs for the new microversion."},{"line_number":120,"context_line":""}],"source_content_type":"text/x-rst","patch_set":4,"id":"df7087c5_945a6c80","line":117,"range":{"start_line":117,"start_character":64,"end_line":117,"end_character":75},"updated":"2018-03-15 13:50:53.000000000","message":"huh? looks like you\u0027re copying this from the old spec to allow setting a description on a server.","commit_id":"65e1593e23900ccd77cc015bf02392b35b81a28f"},{"author":{"_account_id":6062,"name":"jichenjc","email":"jichenjc@cn.ibm.com","username":"jichenjc"},"change_message_id":"3bf1f278d0956273a7cafbebccbdd08f6ae29ae1","unresolved":false,"context_lines":[{"line_number":35,"context_line":"(if enabled). Another way to get user-data is to read it from a config-drive."},{"line_number":36,"context_line":"To use this method we should also implement the ability to rebuild a"},{"line_number":37,"context_line":"config-drive on instance reboot. So an instance should use a config-drive or"},{"line_number":38,"context_line":"metadata service to read updated user-data. These restrictions should be"},{"line_number":39,"context_line":"described in the documentation."},{"line_number":40,"context_line":""},{"line_number":41,"context_line":"Alternatives"},{"line_number":42,"context_line":"------------"}],"source_content_type":"text/x-rst","patch_set":5,"id":"bf659307_c77685a5","line":39,"range":{"start_line":38,"start_character":43,"end_line":39,"end_character":31},"updated":"2018-03-27 08:07:19.000000000","message":"I think we need at least provide some info about the restriction in the spec","commit_id":"8e7ba31d725f75208a706186d585c727ab389961"},{"author":{"_account_id":13323,"name":"Tatiana Kholkina","email":"tlashchova@gmail.com","username":"tlashchova"},"change_message_id":"faee74a51349cd485495d845bd46de96c695d0d6","unresolved":false,"context_lines":[{"line_number":35,"context_line":"(if enabled). Another way to get user-data is to read it from a config-drive."},{"line_number":36,"context_line":"To use this method we should also implement the ability to rebuild a"},{"line_number":37,"context_line":"config-drive on instance reboot. So an instance should use a config-drive or"},{"line_number":38,"context_line":"metadata service to read updated user-data. These restrictions should be"},{"line_number":39,"context_line":"described in the documentation."},{"line_number":40,"context_line":""},{"line_number":41,"context_line":"Alternatives"},{"line_number":42,"context_line":"------------"}],"source_content_type":"text/x-rst","patch_set":5,"id":"bf659307_e7a4e9bb","line":39,"range":{"start_line":38,"start_character":43,"end_line":39,"end_character":31},"in_reply_to":"bf659307_c77685a5","updated":"2018-03-27 09:34:55.000000000","message":"I think it is also provided but I will try to make it clearer.","commit_id":"8e7ba31d725f75208a706186d585c727ab389961"},{"author":{"_account_id":6062,"name":"jichenjc","email":"jichenjc@cn.ibm.com","username":"jichenjc"},"change_message_id":"d9896800531c2a7d29a8d20ce1e29fc86f955cc6","unresolved":false,"context_lines":[{"line_number":53,"context_line":""},{"line_number":54,"context_line":"Following changes will be introduced in a new API microversion."},{"line_number":55,"context_line":""},{"line_number":56,"context_line":"* PUT /servers/{server_id}"},{"line_number":57,"context_line":""},{"line_number":58,"context_line":"  Allow a ``user-data`` field in the request when updating a server."},{"line_number":59,"context_line":""},{"line_number":60,"context_line":"  The `schema`_ would be the same as the user-data field for ``POST /servers``."},{"line_number":61,"context_line":""}],"source_content_type":"text/x-rst","patch_set":5,"id":"bf659307_fde81f17","line":58,"range":{"start_line":56,"start_character":0,"end_line":58,"end_character":68},"updated":"2018-03-26 06:39:49.000000000","message":"how you honor the user-data? my understanding is PUT is to update server information, but you are mentioning rebuild and it\u0027s POST action...","commit_id":"8e7ba31d725f75208a706186d585c727ab389961"},{"author":{"_account_id":27256,"name":"Vadim Ponomarev","email":"velizarx@gmail.com","username":"velizarx"},"change_message_id":"3f743c0d956f1d3f8966170ec338da92b4886398","unresolved":false,"context_lines":[{"line_number":53,"context_line":""},{"line_number":54,"context_line":"Following changes will be introduced in a new API microversion."},{"line_number":55,"context_line":""},{"line_number":56,"context_line":"* PUT /servers/{server_id}"},{"line_number":57,"context_line":""},{"line_number":58,"context_line":"  Allow a ``user-data`` field in the request when updating a server."},{"line_number":59,"context_line":""},{"line_number":60,"context_line":"  The `schema`_ would be the same as the user-data field for ``POST /servers``."},{"line_number":61,"context_line":""}],"source_content_type":"text/x-rst","patch_set":5,"id":"bf659307_7b9f3450","line":58,"range":{"start_line":56,"start_character":0,"end_line":58,"end_character":68},"in_reply_to":"bf659307_68a8cf1e","updated":"2018-03-26 09:54:43.000000000","message":"AFAIK, some NFV operating systems already know how it does. For a standard system based on Linux, we are planning to add this functionality to the cloud-init project. But that\u0027s another story.","commit_id":"8e7ba31d725f75208a706186d585c727ab389961"},{"author":{"_account_id":13323,"name":"Tatiana Kholkina","email":"tlashchova@gmail.com","username":"tlashchova"},"change_message_id":"58d921ce0aba795af19517e54b064ccabf108ede","unresolved":false,"context_lines":[{"line_number":53,"context_line":""},{"line_number":54,"context_line":"Following changes will be introduced in a new API microversion."},{"line_number":55,"context_line":""},{"line_number":56,"context_line":"* PUT /servers/{server_id}"},{"line_number":57,"context_line":""},{"line_number":58,"context_line":"  Allow a ``user-data`` field in the request when updating a server."},{"line_number":59,"context_line":""},{"line_number":60,"context_line":"  The `schema`_ would be the same as the user-data field for ``POST /servers``."},{"line_number":61,"context_line":""}],"source_content_type":"text/x-rst","patch_set":5,"id":"bf659307_db19a088","line":58,"range":{"start_line":56,"start_character":0,"end_line":58,"end_character":68},"in_reply_to":"bf659307_68a8cf1e","updated":"2018-03-26 10:07:12.000000000","message":"jichenjc, looks like an answer is in lines 34-38.\nAlso cloud-init can be configured to execute some modules on instance reboot.","commit_id":"8e7ba31d725f75208a706186d585c727ab389961"},{"author":{"_account_id":6062,"name":"jichenjc","email":"jichenjc@cn.ibm.com","username":"jichenjc"},"change_message_id":"990b4f0a3beeaf3daa3d4705982257b47b6841bc","unresolved":false,"context_lines":[{"line_number":53,"context_line":""},{"line_number":54,"context_line":"Following changes will be introduced in a new API microversion."},{"line_number":55,"context_line":""},{"line_number":56,"context_line":"* PUT /servers/{server_id}"},{"line_number":57,"context_line":""},{"line_number":58,"context_line":"  Allow a ``user-data`` field in the request when updating a server."},{"line_number":59,"context_line":""},{"line_number":60,"context_line":"  The `schema`_ would be the same as the user-data field for ``POST /servers``."},{"line_number":61,"context_line":""}],"source_content_type":"text/x-rst","patch_set":5,"id":"bf659307_68a8cf1e","line":58,"range":{"start_line":56,"start_character":0,"end_line":58,"end_character":68},"in_reply_to":"bf659307_68f0cf91","updated":"2018-03-26 07:56:18.000000000","message":"ah... ok, then how can you honor the user data? \nfrom my understanding user data is hononred by AE and if you update user data, the OS should handle it?","commit_id":"8e7ba31d725f75208a706186d585c727ab389961"},{"author":{"_account_id":13323,"name":"Tatiana Kholkina","email":"tlashchova@gmail.com","username":"tlashchova"},"change_message_id":"faee74a51349cd485495d845bd46de96c695d0d6","unresolved":false,"context_lines":[{"line_number":53,"context_line":""},{"line_number":54,"context_line":"Following changes will be introduced in a new API microversion."},{"line_number":55,"context_line":""},{"line_number":56,"context_line":"* PUT /servers/{server_id}"},{"line_number":57,"context_line":""},{"line_number":58,"context_line":"  Allow a ``user-data`` field in the request when updating a server."},{"line_number":59,"context_line":""},{"line_number":60,"context_line":"  The `schema`_ would be the same as the user-data field for ``POST /servers``."},{"line_number":61,"context_line":""}],"source_content_type":"text/x-rst","patch_set":5,"id":"bf659307_4a135c5d","line":58,"range":{"start_line":56,"start_character":0,"end_line":58,"end_character":68},"in_reply_to":"bf659307_87a5ed06","updated":"2018-03-27 09:34:55.000000000","message":"It can be happen without reboot if metadata service is enabled and user can operate with it. I will update the information in the section above. There aren\u0027t restrictions on nova-api side.","commit_id":"8e7ba31d725f75208a706186d585c727ab389961"},{"author":{"_account_id":6062,"name":"jichenjc","email":"jichenjc@cn.ibm.com","username":"jichenjc"},"change_message_id":"3bf1f278d0956273a7cafbebccbdd08f6ae29ae1","unresolved":false,"context_lines":[{"line_number":53,"context_line":""},{"line_number":54,"context_line":"Following changes will be introduced in a new API microversion."},{"line_number":55,"context_line":""},{"line_number":56,"context_line":"* PUT /servers/{server_id}"},{"line_number":57,"context_line":""},{"line_number":58,"context_line":"  Allow a ``user-data`` field in the request when updating a server."},{"line_number":59,"context_line":""},{"line_number":60,"context_line":"  The `schema`_ would be the same as the user-data field for ``POST /servers``."},{"line_number":61,"context_line":""}],"source_content_type":"text/x-rst","patch_set":5,"id":"bf659307_87a5ed06","line":58,"range":{"start_line":56,"start_character":0,"end_line":58,"end_character":68},"in_reply_to":"bf659307_db19a088","updated":"2018-03-27 08:07:19.000000000","message":"I fully understand the reboot can make it happen, however, that need additional steps which makes the honor to be async ,if so , I think we need tell the info in the spec as well\n\nIMHO those restrictions/limitations are important for the feature to be proposed","commit_id":"8e7ba31d725f75208a706186d585c727ab389961"},{"author":{"_account_id":27256,"name":"Vadim Ponomarev","email":"velizarx@gmail.com","username":"velizarx"},"change_message_id":"f15883c3526246023a086d1e0b6e4fff22fb6046","unresolved":false,"context_lines":[{"line_number":53,"context_line":""},{"line_number":54,"context_line":"Following changes will be introduced in a new API microversion."},{"line_number":55,"context_line":""},{"line_number":56,"context_line":"* PUT /servers/{server_id}"},{"line_number":57,"context_line":""},{"line_number":58,"context_line":"  Allow a ``user-data`` field in the request when updating a server."},{"line_number":59,"context_line":""},{"line_number":60,"context_line":"  The `schema`_ would be the same as the user-data field for ``POST /servers``."},{"line_number":61,"context_line":""}],"source_content_type":"text/x-rst","patch_set":5,"id":"bf659307_68f0cf91","line":58,"range":{"start_line":56,"start_character":0,"end_line":58,"end_character":68},"in_reply_to":"bf659307_fde81f17","updated":"2018-03-26 07:49:32.000000000","message":"you understand incorrectly this spec, it\u0027s about updated the user-data without rebuild an instance.","commit_id":"8e7ba31d725f75208a706186d585c727ab389961"},{"author":{"_account_id":6062,"name":"jichenjc","email":"jichenjc@cn.ibm.com","username":"jichenjc"},"change_message_id":"79f74092e1083fe56abfe49e46271ca16682a398","unresolved":false,"context_lines":[{"line_number":24,"context_line":"Use Cases"},{"line_number":25,"context_line":"---------"},{"line_number":26,"context_line":""},{"line_number":27,"context_line":"The End User may want to update user-data on booted instance without data loss."},{"line_number":28,"context_line":""},{"line_number":29,"context_line":"Proposed change"},{"line_number":30,"context_line":"\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d"}],"source_content_type":"text/x-rst","patch_set":6,"id":"5f7c97a3_77d2b5d3","line":27,"range":{"start_line":27,"start_character":0,"end_line":27,"end_character":79},"updated":"2018-06-07 06:25:01.000000000","message":"can you provide more specified case? \ne.g what kind of user data ? I think we should distinguish \u0027reboot\u0027 and \u0027rebuild\u0027 since rebuild usually have init process while reboot don\u0027t?","commit_id":"8ca7e161d951a3d719fd452e657bbbb6c47ad549"},{"author":{"_account_id":6062,"name":"jichenjc","email":"jichenjc@cn.ibm.com","username":"jichenjc"},"change_message_id":"79f74092e1083fe56abfe49e46271ca16682a398","unresolved":false,"context_lines":[{"line_number":33,"context_line":"API, with corresponding support in novaclient."},{"line_number":34,"context_line":"There are two ways to get an updated user data on an instance:"},{"line_number":35,"context_line":""},{"line_number":36,"context_line":"* Updated user-data will be available immediately on a guest via the metadata"},{"line_number":37,"context_line":"  service (if enabled). This method does not need an instance reboot or any"},{"line_number":38,"context_line":"  other manipulations on nova side."},{"line_number":39,"context_line":"* Another way to get user-data is to read it from a config-drive."},{"line_number":40,"context_line":"  To use this method we should also implement the ability to rebuild a"},{"line_number":41,"context_line":"  config-drive on an instance reboot. Then it will be possible to read updated"}],"source_content_type":"text/x-rst","patch_set":6,"id":"5f7c97a3_7784f5d3","line":38,"range":{"start_line":36,"start_character":2,"end_line":38,"end_character":35},"updated":"2018-06-07 06:25:01.000000000","message":"who is going to consume the user data?\nyou modified the user data and ready in nova side, what about guest? cloud-init configured to poll the update ? \n\nI thought cloud-init is mostly work during startup process\nso additional descriptions on who and how the new user is going to be consumed online?","commit_id":"8ca7e161d951a3d719fd452e657bbbb6c47ad549"},{"author":{"_account_id":6062,"name":"jichenjc","email":"jichenjc@cn.ibm.com","username":"jichenjc"},"change_message_id":"79f74092e1083fe56abfe49e46271ca16682a398","unresolved":false,"context_lines":[{"line_number":36,"context_line":"* Updated user-data will be available immediately on a guest via the metadata"},{"line_number":37,"context_line":"  service (if enabled). This method does not need an instance reboot or any"},{"line_number":38,"context_line":"  other manipulations on nova side."},{"line_number":39,"context_line":"* Another way to get user-data is to read it from a config-drive."},{"line_number":40,"context_line":"  To use this method we should also implement the ability to rebuild a"},{"line_number":41,"context_line":"  config-drive on an instance reboot. Then it will be possible to read updated"},{"line_number":42,"context_line":"  user-data from a config drive after an instance reboot."},{"line_number":43,"context_line":""},{"line_number":44,"context_line":"So an instance should use a config-drive or metadata service to get updated"},{"line_number":45,"context_line":"user-data. This information should be included to the documentation."}],"source_content_type":"text/x-rst","patch_set":6,"id":"5f7c97a3_b7636d41","line":42,"range":{"start_line":39,"start_character":2,"end_line":42,"end_character":57},"updated":"2018-06-07 06:25:01.000000000","message":"I think config drive here is identical to metadata\n\nthe way you consume metadata and the way you provide metadata is different, even if you use metadata, you can still consume it during reboot","commit_id":"8ca7e161d951a3d719fd452e657bbbb6c47ad549"}]}
