[RFE] Provide a node Abandon/Orphan API

Bug #1690847 reported by Sam Betts
10
This bug affects 2 people
Affects Status Importance Assigned to Milestone
Ironic
Opinion
Wishlist
Kaifeng Wang

Bug Description

Ironic supports the ability to adopt a running baremetal node which allows for baremetal servers with running tasks to be enrolled into Ironic's management infrastructure without damaging an existing installation that is on that server.

There is also the case when the opposite action is needed, and an active baremetal server with an installation needs to be removed from Ironic's management infrastructure without harm.

This is impossible to do today even if you shutdown the server, because Ironic forces you to go through a node tear down and cleaning before reaching a state that allows you to delete the node from Ironic.

This RFE is proposing either, a new verb similar to adopt which would allow a node directly from active to manageable allowing the node to either be deleted if required OR the ability to delete a node from Ironic when maintenance is set to True.

Tags: needs-spec rfe
Revision history for this message
Dmitry Tantsur (divius) wrote :

I'm quite in favour of this. But as it's an API and state machine addition, please write a spec for it.

tags: added: needs-spec
Changed in ironic:
status: New → Confirmed
summary: - [RFE] Provide an Ironic Abandon/Orphan API
+ [RFE] Provide a node Abandon/Orphan API
Revision history for this message
Kaifeng Wang (kaifeng) wrote :

Hi sam, are you working on this?
I prefer the first way, providing a new verb to move node from active to manageable.
it looks like a new 'unadopt failed' state is required to differentiate with 'error' if tearing down failed.

Revision history for this message
Sam Betts (sambetts) wrote :

I have not had the time to begin this work as it needs a spec writing to cover the changes. So this is free for someone else to write the spec

Revision history for this message
Kaifeng Wang (kaifeng) wrote :

thank you sam, i can work on this

Changed in ironic:
assignee: nobody → Wang KaiFeng (kaifeng)
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to ironic-specs (master)

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

Changed in ironic:
status: Confirmed → In Progress
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Change abandoned on ironic-specs (master)

Change abandoned by Kaifeng Wang (<email address hidden>) on branch: master
Review: https://review.openstack.org/497156

Changed in ironic:
status: In Progress → Opinion
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.