Ironic serial console doesn't get disabled when instance is deleted

Bug #1769817 reported by Hironori Shiina
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
OpenStack Compute (nova)
Invalid
Undecided
Unassigned

Bug Description

Description
===========
Ironic serial console doesn't get disabled when instance is deleted.

I filed the bug in Nova because it seems better to request disabling the console from virt driver at destoying an instance.

Steps to reproduce
==================

* Enroll an ironic node with socat console interface.
* Create an instance in nova on the ironic node.
* Connect a serial console from Horizon.
* Delete the instance from an terminal.

Expected result
===============
The console gets closed immediately.

Actual result
=============
The console is displayed after the instance is deleted and node cleaning starts in ironic.

Environment
===========
1. Exact version of OpenStack you are running. See the following
  list for all releases: http://docs.openstack.org/releases/

Devstack with master

2. Which hypervisor did you use?
   (For example: Libvirt + KVM, Libvirt + XEN, Hyper-V, PowerKVM, ...)
   What's the version of that?

ironic

Tags: ironic
Revision history for this message
Matt Riedemann (mriedem) wrote :

Does the console ever get cleaned up in ironic when the node is unprovisioned? In other words, is this only temporary?

Changed in nova:
status: New → Confirmed
Revision history for this message
Matt Riedemann (mriedem) wrote :

Serial console support was added to the ironic driver in ocata:

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

Revision history for this message
Jim Rollenhagen (jim-rollenhagen) wrote :
Revision history for this message
Jim Rollenhagen (jim-rollenhagen) wrote :
Revision history for this message
Matt Riedemann (mriedem) wrote :

Sounds like this is all being handled in ironic, which is tracking the issue in storyboard:

https://storyboard.openstack.org/#!/story/2002000

Changed in nova:
status: Confirmed → Invalid
no longer affects: nova/ocata
no longer affects: nova/pike
no longer affects: nova/queens
Revision history for this message
Hironori Shiina (shiina-hironori) wrote :

I was not sure if there was a use case where a console needs to be kept when ironic was used as stand alone. However, it seems acceptable in ironic to disable a console at unprovisioning.

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.