Caused by differences in number division in Python 2 and
Python 3, so forcing type to be int instead of float
as expected by idrac.
Change-Id: I6a20ec52a8c464aaf275583fb21607fffb3b1f3b
Story: 2004265
Task: 27804
The default value of "netboot" was introduced to this configuration
variable as part of commit 93f947c852409af2c56a499428b09ff69ab345a1
in Ocata release.
This patch changes the default value of configuration parameter
'[deploy]/default_boot_option' and devstack variable
'IRONIC_DEFAULT_BOOT_OPTION' to 'local'.
Change-Id: I9bf56a7088281bbe20b8b6c2e47c6ab6559bfea4
Story: #1619339
Task: #10505
The ironic-tempest-ipa-partition-pxe_ipmitool CI job
has automated cleaning enable which introduces another boot
cycle where IPA starts and performs an operation. Due to the
way tempest is designed with the timeouts, it appears that
we are encountering one of the timeouts sporatically enough
to cause a high gate failure rate.
Extends the general timeout for the aformentioned test as
the ramdisk takes 400+ seconds to now boot.
Change-Id: I35fcf0d1f9340b0e906ea993c1b745850a4e3208
The iDRAC will return a "The command failed to set RequestedState" error
if the server is powered off and a reboot is requested. In this
situation, convert the requested reboot into a power on to avoid this
error.
To minimize the chance of a race condition, it is critical to do this
check immediately before sending the power state change command. This
keeps the window during which the server could change power states
without us knowing about it as small as possible.
Note that this error is returned in other scenarios as well.
Change-Id: I4c95959090423ff1929700f0fce596510447ac1c
Story: 2007487
Task: 39206
Restructures code for virtual media deployment which creates
deploy/rescue/boot iso out of common kernel/ramdisk pair.
Currently hardware type ilo and redfish use this code.
Change-Id: Ifb66524c762ebe30e5c61b0c77ced65a817bbf19
Story: #2006437
Task: #36352
This seems to be missed in the https://review.opendev.org/#/c/696669
Somehow it appears in a profiling result and costs some memory.
Change-Id: I7a49354df1b97bf9a4b46b8c6852e5983dde6718
Based on recent changes that make dib image to be default in CI,
the base RAM in the local.conf example should be increased to
2048, which is the minimum recommended to run the centos8 ramdisk.
Change-Id: If8b0a3bbdce8cd1e6d564c9b7b9505729e4eec26
If a conductor hostname is changed while reservations are
issued to a conductor with one hostname, such as 'hostname'
and then the process is restarted with 'new_hostname', then the
queries would not match the node and effectively the nodes
would become inaccessible until the reservation is cleared.
This patch clears the reservation when stoping the
ironic-conductor service to avoid the nodes becoming inaccessible.
Ref to: https://review.opendev.org/#/c/711765/
Change-Id: Id31cd30564ff26df0bbe4976ffe3f268b0dd3d7b
We will be using 2048 for default ram since most of the jobs are using
dib. Jobs with tinyipa will be set to 384 ram.
Change-Id: Idc28812515a0f45e9e29b55cd81ef26a02ce8740
Adds documentation surrounding the use of multi-tenancy. The
documentation explains possible updates to the policy file
to expose node APIs to a non-admin.
Change-Id: Ib1c327156acee8d34be74dd15c3d4003f7ef31df
Adds the ability to write configdrive contents on the boot
images that ironic produces. Such boot image will be labeled
as `config-2` to facilitate tools like `cloud-init` or `Glean`
to find configuration source there.
As of this commit, the new code is not used by anything in
ironic yet.
Change-Id: Ib5ed0ce09ce97ddb914fa4f830265dfc24a0bc1a
Story: 2006691
Task: 36990
With the device selection work merged, we can now remove the
corresponding limitation from our docs.
Change-Id: Ica71338ede569aa7ce1bb02503e295afcb89e86b
When the 'local_link_connection' field is None an
AttributeError is raised when attempting to get the
keys.
Add a check for None before trying to get the keys.
Closes-Bug: #1871346
Change-Id: I5855aea79d6322f70f95709e1a87b8bda3282435
On non-Ubuntu systems, when gunicorn is pip-installed on Py3,
command name remains `gunicorn` rather than `gunicorn3`.
Change-Id: I5b8cb974d900bd3bdf7ec08adb3e6586494a26a2
This change adds a `lessee` field to nodes, and exposes it
to policy. It also updates the non-admin node list API
to match for both owner and lessee; and updates the
allocation conductor to match owner allocations with nodes
with the appropriate lessee.
Change-Id: Ib31b49c7143ec8fd6cb486fc24038215b197c418
Story: 2006506
Task: 37930
Pass the desired target boot mode to the IPA which is needed
to prepare the partitions and bootloader accordingly.
Change-Id: I4ca1bd781ae622535ced7b2d9ff23ff952d56acf
Story: #2006379
Task: #37636
Depends-On: https://review.opendev.org/#/c/696156/