)]}'
{"specs/mitaka/approved/server-termination-behavior.rst":[{"author":{"_account_id":5754,"name":"Alex Xu","email":"hejie.xu@intel.com","username":"xuhj"},"change_message_id":"659f4e0da87877faec45cb29cae0115548b3f0e6","unresolved":false,"context_lines":[{"line_number":70,"context_line":"Get them supported in POST, PUT and GET methods to allow creation,"},{"line_number":71,"context_line":"modification and information retrieval accordingly."},{"line_number":72,"context_line":"Change the policy for the extension from rule:admin_api to"},{"line_number":73,"context_line":"rule:admin_or_owner."},{"line_number":74,"context_line":"All of the internal mechanisms are already in place and functional. Only"},{"line_number":75,"context_line":"API exposure is required."},{"line_number":76,"context_line":""}],"source_content_type":"text/x-rst","patch_set":1,"id":"3a29b11f_12d28428","line":73,"updated":"2015-10-22 06:06:27.000000000","message":"We can\u0027t change this policy rule. there is some attributes like \u0027hostname\u0027 shouldn\u0027t expose to normal user. But we can add \u0027disable_terminate\u0027 and \u0027shutdown_terminate\u0027 to servers.py directly, as the extension already deprecated, there is no more extension concept at here.","commit_id":"b8672df45de1dff305723d0aa19a549551f6bc69"},{"author":{"_account_id":2271,"name":"Michael Still","email":"mikal@stillhq.com","username":"mikalstill"},"change_message_id":"0813e38b7994bbb18a32ba2d24ee5850bad39f24","unresolved":false,"context_lines":[{"line_number":33,"context_line":"the disableApiTermination attribute to false using ModifyInstanceAttribute."},{"line_number":34,"context_line":"Alternatively, if you set next flag\u0027s value InstanceInitiatedShutdownBehavior"},{"line_number":35,"context_line":"to terminate, you can terminate the instance by running the shutdown command"},{"line_number":36,"context_line":"from the instance."},{"line_number":37,"context_line":"2. InstanceInitiatedShutdownBehavior - Indicates whether an instance stops or"},{"line_number":38,"context_line":"terminates when you initiate shutdown from the instance (using the operating"},{"line_number":39,"context_line":"system command for system shutdown)."}],"source_content_type":"text/x-rst","patch_set":4,"id":"9a8ffd7b_3ac941ad","line":36,"updated":"2015-12-01 02:17:34.000000000","message":"This first option sounds a bit like admin locks. Can we not express what the EC2 API needs using those?","commit_id":"38248109a74213846c0e079b183ddaa9879d7bd6"},{"author":{"_account_id":10234,"name":"Andrey Pavlov","email":"andrey.mp@gmail.com","username":"andrey-mp"},"change_message_id":"3247019f99fd3e5a1a0a6fd941ceb011ab77411a","unresolved":false,"context_lines":[{"line_number":33,"context_line":"the disableApiTermination attribute to false using ModifyInstanceAttribute."},{"line_number":34,"context_line":"Alternatively, if you set next flag\u0027s value InstanceInitiatedShutdownBehavior"},{"line_number":35,"context_line":"to terminate, you can terminate the instance by running the shutdown command"},{"line_number":36,"context_line":"from the instance."},{"line_number":37,"context_line":"2. InstanceInitiatedShutdownBehavior - Indicates whether an instance stops or"},{"line_number":38,"context_line":"terminates when you initiate shutdown from the instance (using the operating"},{"line_number":39,"context_line":"system command for system shutdown)."}],"source_content_type":"text/x-rst","patch_set":4,"id":"9a8ffd7b_a67192e2","line":36,"in_reply_to":"9a8ffd7b_3ac941ad","updated":"2015-12-01 09:37:02.000000000","message":"admin locks is not suitable for this -\n\n1) it locks all modifying operation with instance instead of only one\n\n2) it allows all operation for locked instance for admin but we need to protect for all users","commit_id":"38248109a74213846c0e079b183ddaa9879d7bd6"},{"author":{"_account_id":6873,"name":"Matt Riedemann","email":"mriedem.os@gmail.com","username":"mriedem"},"change_message_id":"dff9eb9711d2df15a5dd2d440accfa155e25ce6c","unresolved":false,"context_lines":[{"line_number":258,"context_line":"Testing"},{"line_number":259,"context_line":"\u003d\u003d\u003d\u003d\u003d\u003d\u003d"},{"line_number":260,"context_line":""},{"line_number":261,"context_line":"Unit tests and functional tests to be created."},{"line_number":262,"context_line":""},{"line_number":263,"context_line":"Documentation Impact"},{"line_number":264,"context_line":"\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d"}],"source_content_type":"text/x-rst","patch_set":4,"id":"dae33548_5c4802b3","line":261,"updated":"2016-02-18 19:44:05.000000000","message":"Should have Tempest in here also.","commit_id":"38248109a74213846c0e079b183ddaa9879d7bd6"}],"specs/newton/approved/server-termination-behavior.rst":[{"author":{"_account_id":2750,"name":"Sean Dague","email":"sean@dague.net","username":"sdague"},"change_message_id":"8ecedcd57730d2e7e62cc7305cb1cdd8b5bb9391","unresolved":false,"context_lines":[{"line_number":91,"context_line":"Alternatives"},{"line_number":92,"context_line":"------------"},{"line_number":93,"context_line":""},{"line_number":94,"context_line":"None"},{"line_number":95,"context_line":""},{"line_number":96,"context_line":"Data model impact"},{"line_number":97,"context_line":"-----------------"}],"source_content_type":"text/x-rst","patch_set":5,"id":"bab6814e_9e9b21c9","line":94,"updated":"2016-05-25 12:24:23.000000000","message":"I feel like it\u0027s incorrect to say there are no alternatives.\n\nlock is an alternative to disable_terminate. It blocks more operations than terminate, but will prevent the behavior you are most concerned about.\n\nshutdown_terminate as a property could be done as a \u0027kill\u0027 action instead, which is basically being asked for in other specs.","commit_id":"6be35fec7b2fa19eb57fa286afd37a7146c02af3"},{"author":{"_account_id":10234,"name":"Andrey Pavlov","email":"andrey.mp@gmail.com","username":"andrey-mp"},"change_message_id":"381f7135bafcb8d5fe9b7f6ed1fe5c94fd1d3a15","unresolved":false,"context_lines":[{"line_number":91,"context_line":"Alternatives"},{"line_number":92,"context_line":"------------"},{"line_number":93,"context_line":""},{"line_number":94,"context_line":"None"},{"line_number":95,"context_line":""},{"line_number":96,"context_line":"Data model impact"},{"line_number":97,"context_line":"-----------------"}],"source_content_type":"text/x-rst","patch_set":5,"id":"bab6814e_39196f7a","line":94,"in_reply_to":"bab6814e_9e9b21c9","updated":"2016-05-25 12:35:21.000000000","message":"these changes are intended to improve compatibility of EC2 API with Amazon.\n\nwith \u0027lock\u0027 it will not be compatible with Amazon behavior. Amazon disallows just termination but allows other operations.\n\nI don\u0027t know about \u0027kill\u0027 action - is there spec for this?\nWe tried to do it in this way because nova already implemented \u0027shoudown_behavior\u0027 inside API but there is no REST API for managing this option.","commit_id":"6be35fec7b2fa19eb57fa286afd37a7146c02af3"},{"author":{"_account_id":10234,"name":"Andrey Pavlov","email":"andrey.mp@gmail.com","username":"andrey-mp"},"change_message_id":"d4f59ca3c8e65a961d5ac572b26ed47c9710cafd","unresolved":false,"context_lines":[{"line_number":111,"context_line":"+----------------------------+------+-------------+"},{"line_number":112,"context_line":"|Parameter                   |Style |Type         |"},{"line_number":113,"context_line":"+\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d+\u003d\u003d\u003d\u003d\u003d\u003d+\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d+"},{"line_number":114,"context_line":"|disable_terminate(optional) |plain |csapi:boolean|"},{"line_number":115,"context_line":"|shutdown_terminate(optional)|plain |csapi:boolean|"},{"line_number":116,"context_line":"+----------------------------+------+-------------+"},{"line_number":117,"context_line":""}],"source_content_type":"text/x-rst","patch_set":5,"id":"bab6814e_5f2b69eb","line":114,"range":{"start_line":114,"start_character":1,"end_line":114,"end_character":18},"updated":"2016-05-25 15:18:14.000000000","message":"ec2 API already implemented this feature by own.\nWe disallow to terminate instance if user tries to do it via ec2.\nBut user can do it via nova API.\nAnd because ec2 API is just a proxy to nova API we suggested that this functionality can be present in nova.\n\n\u0027locks\u0027 are not so suitable - due to highly possible races in ec2 code. if we will try to avoid races then this implement can lead to very ugly synchronization code.\nI mean not instance terimnation by itself but synchronous operation with instance and its attached objects (volumes, network interface, ips, ...)","commit_id":"6be35fec7b2fa19eb57fa286afd37a7146c02af3"},{"author":{"_account_id":10234,"name":"Andrey Pavlov","email":"andrey.mp@gmail.com","username":"andrey-mp"},"change_message_id":"5f592f1bb98209dbbbdb864923afe51b4446ce93","unresolved":false,"context_lines":[{"line_number":112,"context_line":"|Parameter                   |Style |Type         |"},{"line_number":113,"context_line":"+\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d+\u003d\u003d\u003d\u003d\u003d\u003d+\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d+"},{"line_number":114,"context_line":"|disable_terminate(optional) |plain |csapi:boolean|"},{"line_number":115,"context_line":"|shutdown_terminate(optional)|plain |csapi:boolean|"},{"line_number":116,"context_line":"+----------------------------+------+-------------+"},{"line_number":117,"context_line":""},{"line_number":118,"context_line":"Add these attributes to the json request schema definition:"}],"source_content_type":"text/x-rst","patch_set":5,"id":"bab6814e_d146254e","line":115,"range":{"start_line":115,"start_character":1,"end_line":115,"end_character":19},"updated":"2016-05-25 17:32:26.000000000","message":"as I understand - \u0027kill\u0027 is a soft delete.\nbut here is another behavior - when nova catches instance shutdown (initiated from instance) then nova deletes this instances due to this flag.","commit_id":"6be35fec7b2fa19eb57fa286afd37a7146c02af3"}]}
