A new option is introduced for that, which defaults to the deploy timeout
if it is set and to 1800 seconds if it is not.
Change-Id: I10e02919e40d25bd4411f2b6f98f9317d1cfb187
Story: #1653112
Task: #9707
The iDRAC driver expects a hostname or IP address in the drac_address
field of the driver_info. Passing a URL does not work.
Change-Id: I999f84ef5d7bc4b10cb8cf8dabdeb1f17172e824
Fixes an issue when the image source is a local file, the image
will be truncated to 2G and fails deployment due to image corruption.
The issue originates from pysendfile, but local testing shows this
also applies to python3.5 os.sendfile().
Co-Authored-By: Kaifeng Wang <kaifeng.w@gmail.com>
Change-Id: I6263a5221fda0509fbd0b6195c079e5e22800a1b
Story: 2004556
Task: 28316
Add file to the reno documentation build to show release notes for
stable/stein.
Use pbr instruction to increment the minor version number
automatically so that master versions are higher than the versions on
stable/stein.
Change-Id: I7a50d8daf818b701603759bfca5265972a8eda93
Sem-Ver: feature
The value of capabilities can be either a string or a dict.
There is a function to parse its value and provide a correct
output as expected and it should always be used when reading
node capabilities.
Change-Id: I789fffd5f67eddbe5058581f13d75320ca712897
Story: 2005280
Task: 30133
When devstack is configured to use Py3, install and run gunicorn3
to make sure sushy-tools emulator is running under Py3.
Change-Id: If38ef523a8616084f8f715fe247d8a3c8142bf62
Besides managing vbmcd from systemd, this patch fixes a bug
in vbmcd handling.
The bug was that devstack runs ironic plugin under user `stack`, but
preserving superuser environment by means of `su -p`. That makes
`vbmcd` expanding tilda into `/root`, attempting to write into that
directory and failing miserably.
On top of that, all this happens when `vbmc` tries to invoke `vbmcd`
under the hood to preserve backward compatibility of the `vbmc`
behaviour before `vbmcd` was introduced.
This patch:
* adds systemd unit file for vbmcd
* invokes `vbmcd` explicitly before everything else and
* does that before becoming root and `stack` again
The `vbmc` tool can still run in a broken environment
for as long as it does not depend on the config file.
Change-Id: I6670ea50d126065d0472e558943890d4f9313083
This is to pass kwargs to NodeNotFound, and to fix kwargs for
MissingParameterValue, to get better formatted error message.
Change-Id: I0efae0ed94741ebf7ca77904cc1e34230e65d5d5
python-dracclient versions 1.5.0 and later are required for a bug fix to
the idrac hardware type which assigns ports' pxe_enabled flags during
out-of-band inspection [1].
[1] https://review.openstack.org/#/c/617951
Change-Id: Iead9f0272d5cdd57c8837826ad340e11f5bcae15
During OOB Introspection, it adds boot mode as capability
in node properties so that after preparation of overcloud
nodes it will show which node has uefi or bios boot mode
properties respectively.
Change-Id: Iad8060fa13e37a2fa78d998c56d132b11ff948cf
Story: 2005119
Since commit 8bd3c531a0ef7282cc8a0daac9f71bb18b6a9532, the idrac driver
unit tests use real named tuple objects from the dracclient library, if
available. This added a coupling to a specific set of versions of that
library, since the correct set of fields for each object must be
specified.
This change uses the namedtuple._fields field to build a list of fields
appropriate to the library version. Missing fields are filled in with
None, and unsupported fields are ignored.
Change-Id: I5b9b64e5aa4fe96e056c8b010bf8a448c72f996f
There is enough steps code in conductor.utils to warrant a separate
module.
Change-Id: I0126e860210bbc56991876f26e64d81d3d7d5c08
Story: 1722275
Task: 29902
Metric notifications were hard coded with a value indicating
"ipmi" for all hardware types and management interfaces which
offer sensor data to be transmitted as a metric notification.
Also adds a node_name field to allow processors to leverage
the node name as opposed to needing ironic API or database access
to construct enough data to make metrics notifications usable.
Change-Id: I1116bd5812f3715bd7d6d1bf34df932f81702147
Support for the -y option of ipmitool
Quote from docs:
-y <hex key>
Use supplied Kg key for IPMIv2 authentication. The key is expected
in hexadecimal format and can be used to specify keys with non-printable
characters. E.g. '-k PASSWORD' and '-y 50415353574F5244' are equivalent.
The default is not to use any Kg key.
Change-Id: Ie6a9fc1a41d924e30eff526b3eae929ce6e085c6
Story: #2005158
Task: #29876
Provides a facility to minimize the power state changes of
a baremetal node to save critical time during deployment
operations.
Story: #2004965
Task: #29408
Depends-On: https://review.openstack.org/636778
Change-Id: I7ebbaddb33b38c87246c10165339ac4bac0ac6fc