99c88629ad
Catch SIGTERM signal and call the signal handler method.
The signal handler then raises KeyboardInterrupt. The
KeyboardInterrupt won't be caught by any 'except Exception'
clauses.
Without this the service does not stop periodic workers,
tear down pxe filters etc as it is supposed to on shutdown.
NOTE: Calling shutdown() directly from the signal handler
causes the below error. This is why the signal handler
raises KeyboardInterrupt.
AssertionError: Cannot switch to MAINLOOP from MAINLOOP
This patch differs from the commit on master:
* It also imports 'signal' module. In master the signal
module was already imported.
Related-Bug: #1765700
Story: 2001890
Task: 14374
Change-Id: If0e24eae767b7806243fa4ae34fedb30ae9af25a
(cherry picked from commit
|
||
---|---|---|
devstack | ||
doc | ||
ironic_inspector | ||
playbooks/legacy | ||
releasenotes | ||
rootwrap.d | ||
tools | ||
zuul.d | ||
.gitignore | ||
.gitreview | ||
CONTRIBUTING.rst | ||
LICENSE | ||
README.rst | ||
babel.cfg | ||
config-generator.conf | ||
example.conf | ||
ironic-inspector.8 | ||
plugin-requirements.txt | ||
requirements.txt | ||
rootwrap.conf | ||
setup.cfg | ||
setup.py | ||
test-requirements.txt | ||
tox.ini |
README.rst
Hardware introspection for OpenStack Bare Metal
Introduction
This is an auxiliary service for discovering hardware properties for a node managed by Ironic. Hardware introspection or hardware properties discovery is a process of getting hardware parameters required for scheduling from a bare metal node, given it's power management credentials (e.g. IPMI address, user name and password).
- Free software: Apache license
- Source: http://git.openstack.org/cgit/openstack/ironic-inspector
- Bugs: http://bugs.launchpad.net/ironic-inspector
- Downloads: https://pypi.python.org/pypi/ironic-inspector
- Documentation: https://docs.openstack.org/ironic-inspector/latest/
- Python client library and CLI tool: python-ironic-inspector-client (documentation).
Note
ironic-inspector was called ironic-discoverd before version 2.0.0.
Release Notes
For information on any current or prior version, see the release notes.