support disable_terminate for instance

Bug #1346829 reported by lvdongbing
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
OpenStack Compute (nova)
Invalid
Undecided
lvdongbing
python-novaclient
Invalid
Undecided
lvdongbing

Bug Description

With 'disable_terminate' option, we can protect instance from being accidentally terminated,
but now, nova dosen't support to it.

lvdongbing (dbcocle)
Changed in nova:
assignee: nobody → lvdongbing (dbcocle)
lvdongbing (dbcocle)
Changed in python-novaclient:
assignee: nobody → lvdongbing (dbcocle)
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to nova (master)

Fix proposed to branch: master
Review: https://review.openstack.org/108955

Changed in nova:
status: New → In Progress
Revision history for this message
melanie witt (melwitt) wrote :

This functionality is already provided by the lock admin action:

http://developer.openstack.org/api-ref-compute-v2-ext.html#ext-action

and can also work for a user because of this patch "Allow user and admin lock of an instance":

https://review.openstack.org/#/c/38196/

Changed in nova:
status: In Progress → Invalid
Revision history for this message
melanie witt (melwitt) wrote :

This functionality is already provided by the 'nova lock' command:

http://docs.openstack.org/user-guide/content/novaclient_commands.html#novaclient_subcommand_lock

Changed in python-novaclient:
status: New → Invalid
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Change abandoned on nova (master)

Change abandoned by Sean Dague (<email address hidden>) on branch: master
Review: https://review.openstack.org/108955
Reason: This review is > 4 weeks without comment, and failed Jenkins the last time it was checked. We are abandoning this for now. Feel free to reactivate the review by pressing the restore button and leaving a 'recheck' comment to get fresh test results.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.