Merge "Test timeout extension for inspection"

This commit is contained in:
Jenkins 2016-11-30 09:09:22 +00:00 committed by Gerrit Code Review
commit 106e25413c
4 changed files with 19 additions and 0 deletions

View File

@ -27,6 +27,17 @@ noauth_mode: Controls if the module is called in noauth mode.
cloud_name: Optional: String value defining a clouds.yaml entry for
the ansible module to leverage.
inspection_wait_timeout: Integer value in seconds, defaults to 1800.
This value may need to be adjusted if the underlying
shade library's default timeout is insufficent for
a node to perform an inspection sequence with.
The timeout assumption in the library was
based upon there being three phases to complete
an inspection sequence, BIOS POST, (i)PXE,
and then booting of the ramdisk and IPA.
In most cases, each phase should be completed
under 300 seconds, although that will vary based
upon the hardware configuration.
Dependencies
------------

View File

@ -1,3 +1,4 @@
---
# defaults file for ironic-inspect-node
noauth_mode: true
inspection_wait_timeout: 1800

View File

@ -39,4 +39,5 @@
auth: "{{ auth | default(omit) }}"
ironic_url: "{{ ironic_url | default(omit) }}"
uuid: "{{ uuid }}"
timeout: "{{ inspection_wait_timeout }}"
delegate_to: localhost

View File

@ -0,0 +1,6 @@
---
fixes:
- Some users have encountered issues with introspection
periodically timing out for systems. As a result, we have
added a new parameter ``inspection_wait_timeout`` that is
now defaulted to ``1800`` seconds.