Hardware introspection daemon for OpenStack Ironic
Go to file
Harald Jensås 99c88629ad 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:
 * 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-25 11:05:21 +02:00
devstack devstack: set [service_available]ironic-inspector = True 2017-12-14 15:38:48 +00:00
doc Merge "Update the documentation link for doc migration" 2017-08-10 19:04:57 +00:00
ironic_inspector Raise KeyboardInterrupt on SIGTERM - Workaround 2018-05-25 11:05:21 +02:00
playbooks/legacy Support zuul's standard override-checkout variable 2018-03-28 15:24:12 +02:00
releasenotes Only set switch_id in local_link_connection if it is a mac address 2018-02-13 06:58:35 -08: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 Zuul: Remove project name 2018-02-08 10:45:32 -08:00
.gitignore Introducing the contributor content 2017-07-21 10:22:33 +02:00
.gitreview Update .gitreview for stable/pike 2017-08-17 13:58:45 +00:00
CONTRIBUTING.rst PXE filter options have no effect yet 2017-08-15 16:02:43 +02:00
LICENSE Apache license 2014-10-03 17:15:55 +02:00
README.rst Update the documentation link for doc migration 2017-08-03 14:29:06 +00:00
babel.cfg Add scripts to manage translations 2015-03-04 00:07:37 +00:00
config-generator.conf Add PCI devices plugin to inspector 2016-09-01 10:55:02 +02:00
example.conf Merge "PXE filter options have no effect yet" 2017-08-15 18:13:02 +00:00
ironic-inspector.8 Final discoverd -> inspector rename/move pass 2015-06-15 15:34:00 +02:00
plugin-requirements.txt Store and expose introspection data 2015-08-27 20:18:54 -04:00
requirements.txt Updated from global requirements 2017-07-29 21:44:37 +00:00
rootwrap.conf TrivialFix: Fix typo in the configuration file 2016-09-30 10:56:53 +07:00
setup.cfg Merge "Update URL home-page in documents according to document migration" 2017-07-25 18:34:54 +00:00
setup.py Updated from global requirements 2017-03-02 11:45:30 +00:00
test-requirements.txt Updated from global requirements 2017-07-29 21:44:37 +00:00
tox.ini Use native v3 tox jobs 2017-12-20 14:14:38 +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.