408 Commits

Author SHA1 Message Date
Riccardo Pittau
3f34f04bf0 [CI] Fix job parent name
ironic-tempest-partition-uefi-redfish-vmedia was renamed to
ironic-tempest-uefi-redfish-vmedia a long time ago

Change-Id: Iaa63e9cf12d47667955973033586fa65dd18e6b7
2024-08-08 11:23:26 +02:00
Zuul
fd11cd5bfb Merge "Test devstack OSCaas against all Ironic jobs" 2024-07-30 09:17:29 +00:00
Julia Kreger
8730a1a4b8 CI: Remove grub http boot from standalone CI test
Long story short, in some circles the EFI grub network boot
over http with VMs is regarded as unstable. What appears to
be happening, with service logs at least, is we get a HEAD
request (grub code always issues a HEAD request first to minimize
memory usage), and then re-requests the file contents.

So what we end up seeing on the grub side is:

error: Fail to receive a response! status=104

error: Fail to send a request! status=0x800000000000000f.

What appears to happen is things get gumed up in firmware and
the generally that means we can't run this test in CI.

Change-Id: I1471c9429b742abb250b9a3a910108f1711ad574
2024-07-08 14:28:15 +00:00
Zuul
3820fc19c9 Merge "Update the redfish interoperability profile" 2024-07-01 09:19:22 +00:00
Dmitry Tantsur
d28a61b2c0
Update the redfish interoperability profile
* Remove @Redfish.Copyright, it's not an allowed field.
* Remove unused fields such as AssetTag.
* Mark fields used in inspection and other optional features as
  optional.
* Add missing VirtualMedia on System and VirtualMedia fields.
* Add missing Thermal information and its subresources.
* Clarify which fields on System are links.
* Add Purpose field to all fields and actions.
* Expand the BIOS object with the actual requirements.
* Add ServiceRoot and services we use.
* Add missing resources related to RAID.

Change-Id: I35f8f49e4c70e736b685c3eeebf79326592b6314
2024-06-27 16:24:24 +02:00
cid
3fd1fb3518 Follow up to change on testing CI on ARM
Setting the minimum needed for configuring devstack.

Related-Change: #915441
Change-Id: Ia94ebe2d2a1bd66cd03a4c833273b20ff15171f4
2024-06-24 20:00:53 +01:00
Zuul
19c8efd9d7 Merge "Provision ARM (aarch64) fake-bare-metal-vms" 2024-06-19 16:59:05 +00:00
cid
209ba79732 Provision ARM (aarch64) fake-bare-metal-vms
This commit introduces support for provisioning ARM (aarch64)
fake-bare-metal VMs in Ironic for the purpose of eventually supporting
CI testing on ARM64 architecture-based hardware.

Change-Id: Ie4bff8892228275ad0fb940c30e8071f7f4c423f
2024-06-19 03:17:05 +01:00
Zuul
6590f10f03 Merge "Makes metal3 integration job vote again" 2024-06-12 14:52:20 +00:00
Zuul
c75d04d68d Merge "Follow up to broken Zuul config" 2024-06-12 14:42:15 +00:00
Riccardo Pittau
aaf62c6789 Makes metal3 integration job vote again
Fix in BMO at
https://github.com/metal3-io/baremetal-operator/pull/1780

Change-Id: I3785441f4f327dcec113276803becd938fe87b9c
2024-06-12 08:54:16 +02:00
Jay Faulkner
28e83a0877 metal3 integration is unstable currently, disable
Disabling temporarily.

Change-Id: I08b7c1140e3f027b59cd6aaf2b160f67e20da314
2024-06-10 14:38:28 -07:00
Julia Kreger
46cc9e1d99 ci: fix https boot artifact path
Change-Id: Idb5720599f38b3732240e0feddacfdc739c5a67c
2024-06-07 14:41:02 -07:00
cid
e736513bec Follow up to broken Zuul config
Change-Id: I5f870dcf37bae492be30749e4e963425818e6df7
2024-06-05 12:23:52 +01:00
Zuul
df6342d1ab Merge "Fix negative lookahead assertion syntax error" 2024-05-23 16:19:33 +00:00
cid
74b148b685 Fix negative lookahead assertion syntax error
Python regexes are deprecated in Zuul, so this commit updates the
configuration to use RE2-compatible syntax.

Change-Id: If4973be103076f5a3879dc630e104d129377f7da
2024-05-23 13:56:19 +01:00
Jay Faulkner
223a700434 Test devstack OSCaas against all Ironic jobs
Depends-On: https://review.opendev.org/c/openstack/devstack/+/676016
Change-Id: Ia850715cad6f80be73372b5323d78f7a9ba74251
2024-05-14 13:34:54 -07:00
Zuul
b8bcfc33cb Merge "Remove SQLAlchemy tips jobs" 2024-05-14 17:22:53 +00:00
Zuul
0e4adceda3 Merge "Run neutron for the functional test job" 2024-05-01 04:55:23 +00:00
Julia Kreger
508b1ccab3 ci: re-enable grenade test job
Change-Id: I1d2af3918dcc7cf3248edb460898044e35812b52
2024-04-26 16:53:04 -07:00
Julia Kreger
ae4b585343 Run neutron for the functional test job
The functional test job needs neutron for neutron dependent
tests to be able to execute. As such RabbitMQ and Neutron
are enabled for the functional test job at this time.

Change-Id: I04f76ca1570b969136c0922eb07bc85360369920
2024-04-18 21:19:41 -07:00
Zuul
36251de6f1 Merge "Add note regarding metal3 ci job in CI config for stable runs" 2024-04-15 23:37:55 +00:00
Takashi Kajinami
a27f29fb4c Remove SQLAlchemy tips jobs
The most recent SQLAlchemy and Alembic versions are now in
upper-constraints. As a result, this job has served its purpose and can
be removed. For more information, see [1].

[1] https://lists.openstack.org/archives/list/openstack-discuss@lists.openstack.org/thread/RBHXHTO3GUOOXVSZXD4C2O3TKDOH2QSC/

Co-Authored-By: Stephen Finucane <stephenfin@redhat.com>
Depends-on: https://review.opendev.org/c/openstack/requirements/+/879743
Change-Id: I51fe54d10f7b1c8fa9052f6e382a97861f469859
2024-04-15 08:27:55 +00:00
Winicius Silva
774890dd7f Make codespell voting
Change-Id: Ia3e0d347d0ca80f5f632a7ad889bea17391da136
2024-04-12 14:41:56 -03:00
Winicius Silva
0f62bd2164 Fix spelling reported by codespell
Change-Id: I5a1f68189eb75b92bedeaaa8b645be7f10b0d30f
2024-04-12 14:34:49 -03:00
Julia Kreger
16e839d749 CI: Limit redfish https job to wholedisk images
Change-Id: I174b7e01e1009b6e44e529fbc1d4d1d0032f5f85
2024-04-01 17:50:39 -07:00
Julia Kreger
c2dd5fc830 Add note regarding metal3 ci job in CI config for stable runs
Change-Id: I2a9cc075579356c2d3e47b414ae8af162eea1608
2024-04-01 07:29:04 -07:00
Zuul
9fa0320458 Merge "Add redfish https boot CI job" 2024-03-24 21:36:07 +00:00
Iury Gregory Melo Ferreira
10ebbe74da Tempest test with only wholedisk for some jobs
Changing the ironic-tempest-uefi-redfish-vmedia and
ironic-tempest-ovn-uefi-ipmi-pxe jobs to only run
tempest test_baremetal_server_ops_wholedisk_image.

We saw failures on the partition tests for this jobs.

Related-Bug: #2057972
Change-Id: I2e26d7955ade11046bf89b6f4c9c2c4f16da1574
2024-03-14 18:39:39 -03:00
Zuul
8fa1de8ab0 Merge "[codespell] Adding CI target for Tox Codespell" 2024-03-14 17:38:09 +00:00
Riccardo Pittau
01b868a23e Temporary move metalsmith legacy CI job to non-voting
The job is broken because of an issue with parted.

Change-Id: Id8275e46f4c87f71964bd7afaad772a7bd3080e5
2024-03-13 16:10:28 +01:00
Julia Kreger
fcbc2b6df6 Add redfish https boot CI job
Adds a job which utilizes the redfish-https boot mechanism
code which recently landed in ironic, which operates similar
to virtual media

Change-Id: Iad55a263ed34e6b121495b72a3c79449d7471901
2024-03-11 14:15:52 +00:00
Zuul
de3fd5d88f Merge "[CI] Support for running with shards" 2024-02-29 23:54:46 +00:00
Jay Faulkner
5606c431f2 [CI] Support for running with shards
Adds support for creating nodes with shards.
Adds multinode job to test >1 n-cpus against shards.

Change-Id: I269568d83f17879fed5ac1dd5916935aea1f7fbf
2024-02-29 18:51:56 +00:00
Julia Kreger
f28b23f8c8 Multiple CI updates/improvements
* Adds httpboot enabled CI

Sets the interfaces to be enabled on the standalone job
in anticipation for standalone job support for these
interfaces[0] and switches the boot from volume
job over to utilize httpboot by default.

* Phases out now-redundant ironic-standalone job

The ironic-standalone job does all the same work as the
ironic-standalone-redfish job, and IPMI CI jobs are covering
IPMI cases. So we don't need this anymore.

Also makes a note on another redfish job which is likely
redundant as well, although does not yet remove it.

* Fix IPMI Partition Job name

This is more of a test of OVN than of partition specifically,
in fact, it runs both wholedisk and partition jobs already. Make
the name more sensible.

[0]: https://review.opendev.org/c/openstack/ironic-tempest-plugin/+/902171

Co-Authored-By: Julia Kreger <juliaashleykreger@gmail.com>
Change-Id: I6c41b8f124e2e1fbc314243bf821153d79e2e09b
2024-02-28 13:04:47 -08:00
Jay Faulkner
db7e74fd71 [ci] Temporarily disable standalone job voting
DNSMasq is not cooperating with us; it's respawning frequently.
Temporarily make these non-voting while we troubleshoot.

Change-Id: I0dcb09f31254d81d3a5ec9a52304bab93901e8f6
2024-02-28 12:32:48 -08:00
27f53debb6 ci: Source install dnsmasq-2.87
dnsmasq-2.86 shipped in Ubuntu jammy has a
known issue[1] which is fixed in dnsmasq-2.87
but it's not yet released with Ubuntu jammy.

Until fixed version is available in Ubuntu
jammy let's use source install instead of
using a older version from Ubuntu focal.

[1] https://lists.thekelleys.org.uk/pipermail/dnsmasq-discuss/2022q3/016562.html

Update from Julia:

Pushing forward the source fix again as ubuntu removed the
prior path we were using as a focal package and replaced
it with a package which is demonstrating the same basic issue.

Related-Bug: #2026757
Change-Id: I7ffcd167fc1e3a8c1192d766743bb5620d85ef35
2024-02-27 14:48:59 -08:00
Sharpz7
047b510417 [codespell] Adding CI target for Tox Codespell
Third in a series of commits to add Codespell to Ironic Repos. This commit adds the Tox Target to CI

A future commit could potentially add a git-blame-ignore-revs file if their are lots of spelling mistakes that could clutter git blame.

Change-Id: I82239bd5ca1b184e36c63d08413362c76fa8d4b4
2024-02-12 19:59:12 +00:00
Zuul
b256551b19 Merge "Disable legacy RBAC policy by default." 2024-01-23 21:58:26 +00:00
Zuul
2751ded6a4 Merge "Clean up removed services from devstack options" 2024-01-23 14:01:49 +00:00
Takashi Kajinami
c7d490f84f Clean up removed services from devstack options
The following services were removed some time ago.
 - nova-objectstore
 - nova-consoleauth
 - glance-registry

Change-Id: I3a577c44abe46fc6cb146f3540bded1c5cb4a511
2024-01-23 12:48:30 +09:00
Julia Kreger
4359323558 Disable legacy RBAC policy by default.
Change the default RBAC policy in ironic such that the new RBAC
policy is enforced by default and the legacy policy is not usable
unless explicitly re-enabled.

Depends-On: https://review.opendev.org/c/openstack/metalsmith/+/905012
Change-Id: Id559f1d8b9a76c8a570b598585c2d58c56d08837
2024-01-22 11:10:53 -08:00
Takashi Kajinami
7032a0d9ac Stop using a specific mirror in infra
The host currently hard-coded is not functioning. This replaces
the hard-coded mirror by the local CI mirror detected. In case
mirror info is not available then upstream centos mirror is used.

Change-Id: I96a8cb45154c9dbb50efecc22d34c4ff75c6722a
2024-01-22 22:11:08 +09:00
Zuul
336f799641 Merge "CI: Remove ironic-inspector-tempest-managed-non-standalone" 2024-01-12 02:16:39 +00:00
Julia Kreger
84397f3501 CI: Remove ironic-inspector-tempest-managed-non-standalone
The standalone job has not passed on the master branch in a
very long time. I stopped looking at the history as of August 2023,
but it was only passing on Xena and Wallaby stable branches.

A few things to note:

* It appears to be intended to exercise inspector as a WSGI app,
  and loads quite a bit of different configuration.
* Overall, it is failing due to the image it is trying to use
  (cirros) which doesn't support setting a bootloader up, but
  that is sort of required.
* Job is configured to netboot a node for an OS on the disk,
  but that is not something ironic does really anymore. Quite
  possibly, that is why the job is failing.
* Inspector, as a non-integrated thing, is on the path of
  deprecation at this point, so we don't really need to focus
  on this specific case anymore.

Overall, it seems like a job we should have just removed some
time ago. So... doing so.

Change-Id: I3aca63c183af863d9db1f27a4cfe0d6495bb03c2
2024-01-08 21:00:23 -08:00
Julia Kreger
310603f3ba Make bandit voting on check and gate
Bandit 1.7.5 introduced some changes which broke the bandit job,
which caused the job to fail ages ago. We've since fixed those.

But, moving forward we need to fix these relatively quickly when
they occur, as such changing the test to voting improves our overall
security posture by forcing us to address these as they occur.

Change-Id: I4a7954bfd20eafdb578896e1f61204edc7f9ec7e
2024-01-03 15:29:53 -08:00
Dmitry Tantsur
4cc167cc6e
Test redfish with reduced sushy-tools feature set
Two jobs are changed to test a reduced Redfish implementation:
one PXE job uses the minimum version (only boot/power management)
one vmedia job uses the reduced version (+ NICs, virtual media)

Change-Id: Ib3afdb26b9cd36c0e4f3d736b9c69a5bf508fc0e
2023-12-15 11:38:00 +01:00
Iury Gregory Melo Ferreira
2cdb09ba93 Revert "Move BFV job to non-voting"
This reverts commit 6ffef5b165d78508f8ebd2fc5e94d95d3ac27e51.

Reason for revert: We have the fix in nova, when it merges we can revert the BFV job to voting
Depends-On: https://review.opendev.org/c/openstack/nova/+/903324

Change-Id: Iadee0d696b13ecfe6f93c241b3f9e59be66f6f43
2023-12-12 16:02:54 +00:00
Iury Gregory Melo Ferreira
6ffef5b165 Move BFV job to non-voting
The BFV started failling after Thursday (2023-12-07)

https://zuul.opendev.org/t/openstack/build/f624cbf5d0164a9e8c2a90f9508940b3

This can be a problem in changes that landed in nova for the ironic
driver, since the job has Nova running.

Change-Id: I68ff71b56c582ed7975f7db53c2f2cf5d44891e2
2023-12-10 21:58:24 -03:00
Riccardo Pittau
d6491b0c82 [trivial] remove note on non-voting snmp job
Also fix a couple of yaml lint errors

Change-Id: I47f1734fe9c7af75d8eda61a36b97df0ce360ed0
2023-12-01 09:15:59 +01:00