An Ironic node should not be exposed to Nova if no Ironic port is associated with it

Bug #1582663 reported by Zhenguo Niu on 2016-05-17
This bug affects 1 person
Affects Status Importance Assigned to Milestone
OpenStack Compute (nova)

Bug Description

We should check whether there are ports associated with the node during verifying process, then we can enroll a node without any port, but it can't be available to nova.

Changed in ironic:
assignee: nobody → Zhenguo Niu (niu-zglinux)
Mathieu Mitchell (mat128) wrote :

It might be weird, but a node without any physical port could be a valid configuration. You could have out of band means of accessing the machine (serial console, graphical console).

Zhenguo Niu (niu-zglinux) wrote :

@mat128, yes, without port could be a valid configuration, you can still do oob operation from ironic side, but I'm talking about not exposed the node to nova to waste scheduling, as currently if a nova boot scheduled to a node without any port, it will raise an error that the node is not ready to deploy.

Dmitry Tantsur (divius) wrote :

Moving this to Nova, as Ironic does not control what Nova tracks.

affects: ironic → nova
summary: - Node should not exposed to nova if no port associated with it
+ An Ironic node should not be exposed to Nova if no Ironic port is
+ associated with it
tags: added: ironic

@Zhenguo Niu:
I'm not sure I understand what you said. Is this about scheduling? What exactly is the "verifying process" and the "enrollment of a node"?

Changed in nova:
status: New → Incomplete
tags: added: scheduler
tags: removed: scheduler
Changed in nova:
status: Incomplete → Confirmed
importance: Undecided → Medium

Fix proposed to branch: master

Changed in nova:
status: Confirmed → In Progress

Change abandoned by Matt Riedemann (<email address hidden>) on branch: master
Reason: This looks abandoned. If you plan on continuing with it, please restore, rebase and address review feedback.

Sean Dague (sdague) wrote :

There are no currently open reviews on this bug, changing the status back to the previous state and unassigning. If there are active reviews related to this bug, please include links in comments.

Changed in nova:
status: In Progress → Confirmed
assignee: Zhenguo Niu (niu-zglinux) → nobody
Dmitry Tantsur (divius) on 2017-08-07
tags: added: low-hanging-fruit
Changed in nova:
assignee: nobody → Hesam Chobanlou (hesamchobanlou)
Changed in nova:
assignee: Hesam Chobanlou (hesamchobanlou) → nobody
Vladyslav Drok (vdrok) wrote :

What if you have custom boot, deploy interfaces, and use 'none' network, and you don't need an ironic port to be present?

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

Other bug subscribers