ironic-inspector/ironic_inspector
Dmitry Tantsur 216e40f903 Prevent abnormal timeout values from breaking sync with ironic
I had a case when an operator set the timeout too a abnormally large
value, which caused OverflowError in the timeout clean_up task, which,
in turn, prevented ironic-inspector from ever running node list sync
with ironic.

This change makes two corrections:
* The timeout configuration is limited to 10 years (0 can still be used
  to disable the timeout completely).
* Errors in the clean_up task do not prevent the node list sync from
  running.

Change-Id: Ie3ad29a4abb9ac58c41b776042f80dff6a9c72d2
Story: #2004807
Task: #28963
(cherry picked from commit ab4a3bd867)
2019-01-18 10:51:11 +01:00
..
cmd Fix pycodestyle warnings/errors now visible with hacking 1.1.0 2018-05-08 23:46:05 +02:00
common Add manage_boot parameter to introspection API 2018-06-25 12:09:17 +02:00
conductor Add manage_boot parameter to introspection API 2018-06-25 12:09:17 +02:00
conf Prevent abnormal timeout values from breaking sync with ironic 2019-01-18 10:51:11 +01:00
locale/en_GB/LC_MESSAGES Imported Translations from Zanata 2018-03-01 06:34:14 +00:00
migrations Add manage_boot parameter to introspection API 2018-06-25 12:09:17 +02:00
plugins Accept None value for set-attribute 2018-12-11 13:41:58 +00:00
pxe_filter Python 3.7: fix os.errno -> errno 2018-08-31 13:42:43 +00:00
test Accept None value for set-attribute 2018-12-11 13:41:58 +00:00
__init__.py Switch to pbr 2015-06-18 16:09:07 +02:00
alembic.ini Add alembic migrations for the inspector database 2015-09-23 14:44:46 +01:00
api_tools.py Add API for listing all introspection statuses 2016-11-21 15:58:24 +01:00
db.py Add manage_boot parameter to introspection API 2018-06-25 12:09:17 +02:00
dbsync.py Update version of flake8-import-order package 2017-12-14 11:38:27 -08:00
introspect.py Stop introspection if set boot device failed 2018-08-02 16:18:52 +08:00
introspection_state.py Fix pycodestyle warnings/errors now visible with hacking 1.1.0 2018-05-08 23:46:05 +02:00
main.py Allow nested action value formatting 2018-08-01 09:32:59 +01:00
node_cache.py Add manage_boot parameter to introspection API 2018-06-25 12:09:17 +02:00
policy.py Add request context and policy enforcement 2017-10-13 11:55:52 +00:00
process.py Terminal state transitions in transactions 2017-12-19 18:15:31 +01:00
rules.py Merge "Allow nested action value formatting" 2018-08-06 13:39:14 +00:00
utils.py Remove unused import 2018-06-12 15:14:23 +08:00
version.py Use Reno for release notes management 2015-11-26 10:12:14 +01:00
wsgi_service.py Prevent abnormal timeout values from breaking sync with ironic 2019-01-18 10:51:11 +01:00