diff options
author | Jim Rollenhagen <jim@jimrollenhagen.com> | 2018-05-10 08:06:19 -0400 |
---|---|---|
committer | Jim Rollenhagen <jim@jimrollenhagen.com> | 2018-05-18 11:53:38 +0000 |
commit | 00102e3e46c7bda873c9975364ea07f22c34d12d (patch) | |
tree | c9217601bb9d4693df704c975b0e499961e59c39 /tox.ini | |
parent | 4ca48b4f60d51e1b0ba8546fd1499270a7ceab09 (diff) | |
download | ironic-00102e3e46c7bda873c9975364ea07f22c34d12d.tar.gz |
Tear down console during unprovisioning9.1.5
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.
Conflicts:
ironic/tests/unit/conductor/test_manager.py
Change-Id: Iec128444d692e0b0fbc1737eb21b0e6f69b7ec1e
Partial-Bug: #1769817
Story: #2002000
Task: #19634
(cherry picked from commit 7a8b26db6b48f5593786bb92cf09fa1d6afcc1ea)
Diffstat (limited to 'tox.ini')
0 files changed, 0 insertions, 0 deletions