When a Nova instance is deleted, it is fully removed from nova when the
node enters the cleaning state.From that point onwards the node has no
ties to a nova instance.

As part of cleaning Ironic needs to create a neutron port to attach the
node to the cleaning network, for this Ironic talks directly to Neutron
and issues a port-create.

In neutron there is something called the nova notifier, this sends a
notification to nova on any neutron port create to inform nova that a
new port has been created and to take any actions if it needs to, for
example binding it to an instance.

When the port is created by Ironic, the owner is baremetal:none, and the
device is set to the ironic node ID, has this is correct for who owns
the node, nova AKA "compute:" isn't the owner for these ports.

It appears that a "fix" went into neutron
https://github.com/openstack/neutron/commit/8b69189fdd87592a2a98be1a8bdfa20e76744cb1
which now makes the nova notifier send notifications for ports owned by
Ironic unrelated to nova.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1656010

Title:
  Incorrect notification to nova about ironic baremetall port (for nodes
  in 'cleaning' state)

To manage notifications about this bug go to:
https://bugs.launchpad.net/ironic/+bug/1656010/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to