ironic/releasenotes/notes/stop-console-during-unprovision-a29d8facb3f03be5.yaml
Jim Rollenhagen 7a8b26db6b Tear down console during unprovisioning
Before this patch, when unprovisioning a node, the console was left
running. This allowed a user to view the console even after the instance
was gone. Stop the console during unprovisioning to block this.

ConductorManager._set_console_mode will now bubble up any exceptions
raised, so that we can explode as needed during unprovisioning. This
does not have any side effects, as elsewhere it is run in it's own
thread and execution was complete after handling the exception.

Also change a few mock.ANY in the relevant unit tests to the actual task
object, as cleanup.

Change-Id: Iec128444d692e0b0fbc1737eb21b0e6f69b7ec1e
Partial-Bug: #1769817
Story: #2002000
Task: #19634
2018-05-11 13:14:18 +00:00

8 lines
271 B
YAML

---
security:
- |
Fixes an issue where an enabled console could be left running after a node
was unprovisioned. This allowed a user to view the console even after the
instance was gone. Ironic now stops the console during unprovisioning to
block this.