Hardware introspection daemon for OpenStack Ironic
Go to file
Harald Jensås 1eb1f6cc7c Raise KeyboardInterrupt on SIGTERM - Workaround
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 in that 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 737dbeae11)
2018-05-15 09:39:39 +02:00
devstack Switch documentation to hardware types 2018-04-13 16:54:19 +00:00
doc Switch documentation to hardware types 2018-04-13 16:54:19 +00:00
ironic_inspector Raise KeyboardInterrupt on SIGTERM - Workaround 2018-05-15 09:39:39 +02:00
playbooks/legacy Support zuul's standard override-checkout variable 2018-04-04 15:12:06 +02:00
releasenotes PXE Filter dnsmasq: blacklist unknown host 2018-05-07 18:56:38 +02:00
rootwrap.d Use rootwrap to execute iptables instead of requiring root 2015-09-23 13:27:15 +02:00
tools Add fsm dot diagram generator 2017-03-01 14:46:28 +02:00
zuul.d Merge "Zuul: Remove project name" 2018-01-31 04:30:33 +00:00
.gitignore Add request context and policy enforcement 2017-10-13 11:55:52 +00:00
.gitreview Update .gitreview for stable/queens 2018-02-07 15:35:39 +00:00
.stestr.conf Use ostestr unit test runner 2017-10-02 14:28:58 +00:00
CONTRIBUTING.rst Remove sample policy and config files 2018-02-06 10:36:12 -08:00
LICENSE Apache license 2014-10-03 17:15:55 +02:00
README.rst Replace http with https for doc links 2018-01-02 06:25:34 +00:00
babel.cfg Add scripts to manage translations 2015-03-04 00:07:37 +00:00
config-generator.conf Centralize config options 2018-01-04 20:43:58 -08:00
ironic-inspector.8 Final discoverd -> inspector rename/move pass 2015-06-15 15:34:00 +02:00
policy-generator.conf Add request context and policy enforcement 2017-10-13 11:55:52 +00:00
requirements.txt Retry port lists on failure in PXE filter periodic sync 2018-02-14 14:44:43 -08:00
rootwrap.conf TrivialFix: Fix typo in the configuration file 2016-09-30 10:56:53 +07:00
setup.cfg Declare support for Python 3.5 in setup.cfg 2018-01-31 12:46:06 +01:00
setup.py Updated from global requirements 2017-03-02 11:45:30 +00:00
test-requirements.txt Gate fix: Cap hacking to avoid gate failure 2018-05-10 11:49:43 +00:00
tox.ini Update UPPER_CONSTRAINTS_FILE for stable/queens 2018-02-07 15:35:42 +00:00

README.rst

Hardware introspection for OpenStack Bare Metal

Introduction

image

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).

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.