10777 Commits

Author SHA1 Message Date
Zuul
5e68f79102 Merge "Use centos as base element for dib images" 2020-10-23 09:16:47 +00:00
Zuul
ce05137960 Merge "Allow passing rootfs_uuid for the standalone case" 2020-10-23 00:18:45 +00:00
Zuul
7ce28885c0 Merge "Run bifrost integration job on focal" 2020-10-22 18:39:36 +00:00
Zuul
219d72543c Merge "Update .rst files" 2020-10-22 08:46:45 +00:00
Zuul
f09e8de149 Merge "Change auth type to none in dev-quickstart" 2020-10-22 02:24:22 +00:00
Zuul
679be753d9 Merge "Update test requirements" 2020-10-21 15:16:04 +00:00
Dmitry Tantsur
0a68622187 Allow passing rootfs_uuid for the standalone case
Using software RAID with whole disk images requires specifying
a root partition UUID, but it is only possible through Glance.
This change adds an explicit field for that.

Change-Id: I55e3727aab3960ef472ec2db1f23c25db405e801
2020-10-20 18:22:25 +02:00
Zuul
3ba3f4d399 Merge "Document by_path root device hint" 2020-10-19 11:14:59 +00:00
Zuul
02bb41ef33 Merge "Revert patching _syscmd_uname" 2020-10-19 11:12:06 +00:00
Zuul
a29417f46f Merge "Fix ipmitool timing argument calculation" 2020-10-19 07:17:02 +00:00
Thomas Goirand
322f139e9e Revert patching _syscmd_uname
The commit: Ic48aed13d9ce262cb0d06ccc1d7c79f2fd2a365a patched
_syscmd_uname in an attempt to ease development on MacOS X, however,
this non-public function was removed from Python 3.9, and now, tests
are failing with this version of Python.

Therefore, this patch removes the hack and restores sanity.

Change-Id: Ifa73c387ac1204429f30dbf755ca044761db810e
2020-10-18 14:50:10 +02:00
Zane Bitter
ab77c5b176 Document by_path root device hint
Support for this was added in https://review.opendev.org/500524 but
never documented.

Change-Id: Icc67ea11bd3dde08bfdc1e46d8c32d425f9ae4ac
2020-10-15 14:51:04 -04:00
Adam Young
7cb757d7b7 Change auth type to none in dev-quickstart
The OS_AUTH_TYPE=token_endpoint plugin has been removed from Keystoneauth1
Setting that value as an envvar triggers a stack trace when performing
baremetal driver list

Change-Id: Ieb9c12f29c2f4df1ba89b792442e1768c8aee8a4
2020-10-15 14:18:10 -04:00
Riccardo Pittau
b0b8435bf8 Update test requirements
And fix a little pep8 issue (missing blank line).

Change-Id: I9d7809a5d1dc956d798c41af29054e5d9cd0b9cf
2020-10-15 16:00:47 +02:00
Michelle (Shelly) Mutu-Grigg
d5ca2ac7f0 Update .rst files
This commit removes `--os-baremetal-api-version` from CLI examples,
updates some `openstack baremetal` commands to be `baremetal` and
removes -uuid from <node-uuid>

Story: 2008194
Task: 40964

Change-Id: I4421e98afdee9ed97506cb7e5d69da966cffd963
2020-10-15 23:03:55 +13:00
Steve Baker
1de3db3b16 Fix ipmitool timing argument calculation
Calculating the ipmitool `-N` and `-R` arguments from ironic.conf
[ipmi] `command_retry_timeout` and `min_command_interval` now takes
into account the 1 second interval increment that ipmitool adds on
each retry event.

Failure-path ipmitool run duration will now be just less than
`command_retry_timeout` instead of much longer.

Change-Id: Ia3d8d85497651290c62341ac121e2aa438b4ac50
2020-10-14 19:33:50 +00:00
Riccardo Pittau
fc2964cb75 Run bifrost integration job on focal
Part of the migration from bionic to focal as community goal.

Change-Id: I100f799efb7be4a0413a38cd0e218dce43a44573
2020-10-14 17:50:31 +02:00
Zuul
7a8ee2d131 Merge "Log the ports we bind in flat" 2020-10-14 10:37:02 +00:00
Riccardo Pittau
86bee227c9 Use centos as base element for dib images
At the moment, it's not possible to use diskimage-builder to
create images based on centos-minimal on ubuntu focal.
To be able to use ubuntu focal as nodeset, we start using
the centos dib element.

Change-Id: Ibe363729038da92c630c4d8c4deedb2507515999
2020-10-14 09:54:54 +02:00
Zuul
fc541ec3db Merge "Do not pass BOOTIF=None if no BOOTIF can be guessed" 2020-10-14 06:56:43 +00:00
Zuul
4277916d90 Merge "Refactoring: split away continue_node_deploy/clean" 2020-10-14 00:49:41 +00:00
Dmitry Tantsur
7a89ddcf0c Do not pass BOOTIF=None if no BOOTIF can be guessed
It breaks inspection with the default add_ports=pxe.

Change-Id: I730b4bbd48e7188148669670fdb742b88a62f820
2020-10-13 15:16:43 +02:00
Zuul
d2b1387815 Merge "Remove obsolete trusted boot doc" 2020-10-12 11:02:17 +00:00
Kaifeng Wang
ade35dab2d Remove obsolete trusted boot doc
The OAT project was gone for a long time, the successor opencit was
also in an unmaintained state for a few years, let's remove this
piece from the doc as it can't provide meaningful instructions to be
useful.

Change-Id: If77e1125c05e2351c757c4397ea524617e91926d
2020-10-11 23:33:04 +08:00
Kaifeng Wang
3b06feb91e Update checking reno script to use python3
Spotted in focal container while running pep8, updates the shebang
to use python3 explicitly, also removes the unused -tt argument.

Change-Id: Icb16ac63a83379cafe9a7dac380f2b87b881adc9
2020-10-11 22:13:21 +08:00
Julia Kreger
2261302ed2 Log the ports we bind in flat
While trying to troubelshoot the standalone job's rescue
failures, I noticed we didn't log the VIF port ID of the
port we use for rescue. Which makes it far more difficult
to backtrack and try and figure out where things went sideways.

So it seems clear we should log the ports we succeed at binding,
and thus the flat driver now keeps a quick list of ports bound
and will log that as a result.

Change-Id: Id66e5398ee3a1e1630262a229ee6c706b7e62a08
2020-10-09 07:26:09 -07:00
Zuul
cde792a8c3 Merge "Updates ironic documentation" 2020-10-08 17:00:01 +00:00
Zuul
b24d87129e Merge "migrate testing to ubuntu focal" 2020-10-08 16:59:56 +00:00
Kafilat Adeleke
acdf1dc772 Updates ironic documentation
Updates ironic documentation to change "openstack baremetal" to "baremetal"

Change-Id: I95afa010aeb4fb08aff05adf0cfb7a200db8a53f
Story: #2008194
Task: #40962
2020-10-07 09:46:34 -07:00
Zuul
4c9cd83461 Merge "Wiping agent tokens on reboot via API - take 2" 2020-10-07 09:50:57 +00:00
Dmitry Tantsur
1dfb61dc4f Refactoring: split away continue_node_deploy/clean
To be able to get rid of using RPC for continuing async steps
we need this code to be callable.

Change-Id: I87ec9c39fa00226b196605af97d528b268f304c7
2020-10-06 17:27:24 +02:00
Dmitry Tantsur
c9c605d8b8 Trivial: use the correct error handler for do_next_clean_step
Change-Id: Id02f8557d3a34c0ec0f8c04ecd37a170e5cc029c
2020-10-06 16:37:38 +02:00
Dmitry Tantsur
e39858dd8c Wiping agent tokens on reboot via API - take 2
Because of using an incorrect variable, reboot was treated as power on,
and the token was not wiped.

Change-Id: I656450c2bedc3dc0d20a70de78cc29bf64d5fe85
Story: #2008097
Task: #40799
2020-10-05 17:36:45 +02:00
Riccardo Pittau
4775288b93 migrate testing to ubuntu focal
As per victoria cycle testing runtime and community goal
we need to migrate upstream CI/CD to Ubuntu Focal(20.04).

keeping few jobs running on bionic nodeset till
https://storyboard.openstack.org/#!/story/2008185 is fixed
otherwise base devstack jobs switching to Focal will block
the gate.

Change-Id: I1106c5c2b400e7db899959550eb1dc92577b319d
Story: #2007865
Task: #40188
2020-10-05 17:05:49 +02:00
Zuul
e7d08bcf75 Merge "Imported Translations from Zanata" 2020-10-05 09:18:26 +00:00
Zuul
a44118c42c Merge "Fix inspection for idrac" 2020-10-04 16:00:57 +00:00
Julia Kreger
eac7226ce2 CI: update bindep for centos-8 py36 job changes
Opendev infra changed py36 defaults to run on centos8 and
of course, there is no python-devel mapping on centos.

Removed the entry and adjusted the test-setup.sh script
so the databases are started locally as they are not auto
started upon installation.

Change-Id: I826757ad73b0b14f119f9205475379b85f111383
2020-10-03 18:22:36 -07:00
OpenStack Proposal Bot
a25da1c580 Imported Translations from Zanata
For more information about this automatic import see:
https://docs.openstack.org/i18n/latest/reviewing-translation-import.html

Change-Id: Ie75f36d04e7084be921def3a8ee33b2a249434e6
2020-10-03 06:46:16 +00:00
Zuul
8604f84fd7 Merge "Add Python3 wallaby unit tests" 2020-10-02 18:58:06 +00:00
Iury Gregory Melo Ferreira
db55700384 Fix inspection for idrac
This commit fix an issue to inspect nodes using idrac when using
redfish virtual media. We are using the redfish configuration so
it can be backported.

Change-Id: I478c25fac13b49867349c2d9fc8d206c9994c398
Story: #2008221
Task: #41010
2020-10-02 17:49:16 +02:00
Zuul
1fc3a0f088 Merge "Update master for stable/victoria" 2020-10-02 12:14:26 +00:00
Steve Baker
2bf0eefe94 Clarify power state logging
Some leftover logging displays a warning that the power state is ERROR
even when it isn't.

This change has a new logging message which includes the current and
requested power state. The logging is info instead of warning because
it is expected that the requested state is different from the power
state.

Change-Id: I4e592da89fa36963a66ebb1adfe6070dd13a6e6e
2020-10-02 10:28:00 +13:00
1c49b62e2f Add Python3 wallaby unit tests
This is an automatically generated patch to ensure unit testing
is in place for all the of the tested runtimes for wallaby.

See also the PTI in governance [1].

[1]: https://governance.openstack.org/tc/reference/project-testing-interface.html

Change-Id: I3d01db0826babc1022a3a8aa3254ea164cd3265e
2020-10-01 19:15:32 +00:00
a76c1932ec Update master for stable/victoria
Add file to the reno documentation build to show release notes for
stable/victoria.

Use pbr instruction to increment the minor version number
automatically so that master versions are higher than the versions on
stable/victoria.

Change-Id: I65e9ca280fe06cc2a0f207f6d6a2ce40613d1eb5
Sem-Ver: feature
2020-10-01 19:15:27 +00:00
Zuul
33a34ce364 Merge "Feat: add ibmc hardware info support for devstack" 2020-10-01 13:03:59 +00:00
Mudit
101fc29686 Add GPU reporting to idrac-wsman inspect interface
This patch implements reporting number of NVIDIA Tesla T4
devices connected to a system by discovering such devices
and reporting them through capability 'pci_gpu_devices'.

Change-Id: If713895f05f08a9827c4c085108abb3e388b2a2e
Story: 2008118
Task: 40839
Depends-On: https://review.opendev.org/#/c/750364/
2020-09-30 18:33:53 -04:00
Zuul
e2d0f3fd07 Merge "Handle conductor_affinity earlier in the deployment process" 2020-09-30 20:50:47 +00:00
Zuul
ceb45d7670 Merge "Handle patching node /protected value with None" 2020-09-30 18:30:17 +00:00
Zuul
35281912c3 Merge "Don't migrate away from iscsi if it is the default" 2020-09-30 18:20:52 +00:00
Mark Goddard
42d83a2bff Don't migrate away from iscsi if it is the default
We hit an issue in Kayobe CI where we have the following config:

enabled_deploy_interfaces: iscsi,direct
default_deploy_interface: iscsi

In practice, direct does not work out of the box in Kayobe currently.
The online migration added recently to move nodes from iscsi to direct
caused issues in our upgrade jobs, since it migrated nodes to direct,
without the config in place to make this work.

This change avoids migrating nodes when iscsi is the default deploy
interface.

Story: 2008114
Task: 40996

Change-Id: I5cf0684dc53a2d89fac12e578b28e73e7697a97e
2020-09-30 15:03:59 +01:00