10754 Commits

Author SHA1 Message Date
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
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
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
Zuul
c8baec6cc3 Merge "Update 'idrac' driver requirements for Victoria" 2020-09-30 13:38:32 +00:00
Zuul
102fb9b86a Merge "Trivial: fix formatting in the prelude" 2020-09-30 12:53:02 +00:00
Zuul
2121bd466e Merge "Minor agent version code cleanup" 2020-09-30 09:06:37 +00:00
Zuul
672c61938e Merge "Fix handling OctetString for pysnmp" 2020-09-30 09:06:34 +00:00
Zuul
1f2b0b6bcd Merge "Fix a race condition in the hash ring code" 2020-09-30 01:33:39 +00:00
Zuul
cb13246998 Merge "devstack: do not default to swift if SWIFT_ENABLE_TEMPURLS is False" 2020-09-29 19:44:47 +00:00
Zuul
1fe43da2fc Merge "Support iRMC hardware type again" 2020-09-29 17:49:34 +00:00
Julia Kreger
68cea19d99 Minor agent version code cleanup
Internal to the conductor, we have long determiend that if no
agent version is submitted by the client, that the client is a
version 3.0.0 agent.

With agent token, we're effectively requiring 6.1.0 or later
to be leveraged, so all agents should be sending versions.

An agent not sending versions is thus unsupported and would no
longer work without agent token support.

Redudnant code has thus been removed. Additionally the conductor
utility is_agent_token_supported has been removed since it is now
redundant.

Change-Id: Id6c8d1df08c3ac7af61ed7d05d274f3099003582
2020-09-29 10:02:10 -07:00
Zuul
87f3a84c8f Merge "Do not silently ignore exceptions when running next steps" 2020-09-29 16:32:55 +00:00
Yushiro FURUKAWA
8bd138ca85 Support iRMC hardware type again
This commit supports ``irmc`` hardware type again.

Co-Authored-By: Vanou Ishii <ishii.vanou@fujitsu.com>
Change-Id: I37b9ac5943a153f54ea64f26cbd758f53982a6ac
2020-09-29 23:20:21 +09:00
Dmitry Tantsur
365005ba48 devstack: do not default to swift if SWIFT_ENABLE_TEMPURLS is False
Change-Id: I93a0b548d42d4819917e61f87a0823ff6139b697
2020-09-29 15:29:21 +02:00
Dmitry Tantsur
f2d5e88e04 Trivial: fix formatting in the prelude
Change-Id: I967af0e280650156c3a9794a80e3af1177a5ffd1
2020-09-29 15:25:26 +02:00
Zuul
e46311d57d Merge "Release notes prelude for the Victoria release" 2020-09-29 13:05:15 +00:00
Zuul
4d78a23cf8 Merge "Update release mappings and API history for 16.0" 2020-09-29 13:05:12 +00:00
Yushiro FURUKAWA
0e399f750a Fix handling OctetString for pysnmp
This commit fixes getting MAC address while inspection for iRMC driver.
To remove ord() in retrieving MAC address, it can avoid the following
exception:

  TypeError: ord() expected string of length 1, but int found

Also, this commit sets the following type of mock for UT. So, I add
'pysnmp'[1] into test-requirements.txt and lower-constraints.txt.

  * pysnmp.proto.rfc1902.OctetString
  * pysnmp.proto.rfc1902.Integer32

[1] https://bit.ly/3bDeTCH
Change-Id: I1e013a93854e01a7060e1fc48aac091e7e9b74cb
2020-09-29 13:00:52 +00:00
Zuul
2151d660d2 Merge "Redfish driver firmware update" 2020-09-29 12:18:15 +00:00
Steve Baker
a1c5559fae Handle patching node /protected value with None
Calling baremetal node unset --protected will attempt to set the
protected attribute to None, which raises a 500 error because the
object attribute is not nullable[1]. This change checks for this case
in the patch call and sets protected to False.

This appears to be the only boolean attribute affected by this issue
(node, port, and portgroup boolean attributes were checked).

[1] https://opendev.org/openstack/ironic/src/branch/master/ironic/objects/node.py#L146

Change-Id: I561e059218a99154e77df075aeadd68f56b86267
Story: 2008205
Task: 40989
2020-09-29 13:55:36 +02:00
Dmitry Tantsur
631fe9d8cc Handle conductor_affinity earlier in the deployment process
Not sure why we do it only after the first deploy step, seems more
logical to it before running steps. Will simplify further refactoring.

Change-Id: Ia102c8697a9d23253c8b86fef71fc13ab9d68753
2020-09-29 13:00:49 +02:00
Richard Pioso
eae15a40e3 Update 'idrac' driver requirements for Victoria
Change-Id: Ib3ad5a0f41e8a5c5eda3fa43aac3ea74624528fd
2020-09-28 18:37:05 -04:00
Zuul
fb90ed41fe Merge "Use correct error handler instead of calling process_event('fail')" 2020-09-28 21:14:01 +00:00
Christopher Dearborn
f0e0ef634e Redfish driver firmware update
This patch adds support for performing firmware updates using the
redfish and idrac hardware types.

Co-Authored-By: Aija Jaunteva <aija.jaunteva@dell.com>

Change-Id: Ie8f3f68c4a771121ec0ee13ce9349c7cd2b1e567
Depends-On: https://review.opendev.org/#/c/745950
Story: 2008140
Task: 40872
2020-09-28 15:12:53 -04:00
Julia Kreger
9c171efdc1 Release notes prelude for the Victoria release
Change-Id: Ie22b891c2e7308b6c382e40979bc1d7c5c0b18af
2020-09-28 12:06:48 -07:00
Zuul
cfe756b59d Merge "Route conductor notification RPC to the same conductor" 2020-09-28 15:59:41 +00:00