Follow-up to 8dd6589e66: PATH is not a
valid lsblk tag, we need to use KNAME with -p flag.
Also add a vmedia job to avoid breakages in the future. It's added
non-voting because we have a deadlock with this change:
https://review.opendev.org/c/openstack/ironic/+/783722
Change-Id: Ifffeac9c1c4d394526d655eaa14c9fe7bd3a1e5e
The ironic-ipa-base is based on ironic-base that is already running
on ubuntu focal, non need to specify nodeset for those jobs that
are based on it.
Change-Id: I7ffb920442d5e33ef5014152b72b9ac32e367047
Also disabling dstat in all focal based jobs because of
https://bugs.launchpad.net/ubuntu/+source/dstat/+bug/1866619
Plus including increase of alloc memory to increase job
success rate, original change from [1]
And re-enabling ipa-tempest-bios-ipmi-direct-src and
ipa-tempest-bios-ipmi-iscsi-src
[1] https://review.opendev.org/759765
Co-authored-by: Julia Kreger <juliaashleykreger@gmail.com>
Change-Id: Ia154745b71c17063eeaaabeb56950ab1cc9ce927
By default, grub2-mkconfig scans everything to look for other
environments and then load those into the grub configuration.
It makes sense, but on newer versions of grub2 in distribution
images, os-prober is taking an exceptionally long time in some
cases where more than one storage device exists with other
filesystems.
As a result, of the os-prober execution by grub2-mkconfig, the
bootloader installation can completely time out and fail the
deployment. This is presently experienced with metalsmith on
centos8.
There are numerous sporatic reports of issues like this issue
where grub2-mkconfig hangs for some period of time, and this is
observable on Centos8.2 in our CI. While one report[0] mentions
this issue, Another bug [1] has the dialog that actually helps us
frame the context as to what we likely should do.
Also, fixes the unit testing so we actually test if we're running
with grub2. :\
[0]: https://bugzilla.redhat.com/show_bug.cgi?id=1744693
[1]: https://bugzilla.redhat.com/show_bug.cgi?id=1709682
Depends-On: https://review.opendev.org/#/c/748315
Change-Id: I14bf299afef3a1ddb2006fe5f182d7f0d249e734
We'll keep using bionic as nodeset for certain jobs because of limitations
in DIB when building centos images.
DIB uses yum-tools to prepare the chroot environment, but the package is
not present in ubuntu focal because of lack of Python 2.x support.
Change-Id: I8635b7dfa6910c1721b89739d4d51fa7df488432
The IPA images we presently build/use for centos are
now smaller than their peak size a few months ago.
As such, we should be able to reduce that memory footprint
and still execcute all of the necessary tests without any
issues.
Also increases the amount of swap to 8GB as the infra
default is now 1GB.
Change-Id: I5705f1f2504803a049ed88a0d8b1d6d0bbccf9e4
Also add some info on external projects that use current jobs.
Depends-On: https://review.opendev.org/749723
Change-Id: Ifeffebf2264993e1773a1e9867380523ec49a93f
The ironic-standalone-ipa-src job uses tinyipa, which should be
ready to be moved to use Ubuntu Focal.
This will allow us to move to build tinyipa with tinycore 11 in
ipa-builder.
Depends-On: https://review.opendev.org/749357
Change-Id: I3548ca1ecb16cdefd6e51e379d5d7458e13f9ec4
Tinyipa is not that tiny anymore and we need to increase the base
memory for VMs in jobs that use it.
Depends-On: https://review.opendev.org/747397
Change-Id: I7e2d93ef566f4f2beb54caf445c7810a01aec1de
They're not easily discoverable there, let's keep them in tree.
The examples have been restructured to have two different projects
ready to be copied and adjusted. PEP8 failures have been fixed.
Change-Id: I2af04f4b7f9a2109fe83ec517e716159331a48bb
Co-Authored-By: Jay Faulkner <jay@jvf.cc>
- Increase the number of VM's since we are running two tests.
- Do no run ipa-tempest-wholedisk-* (the partition jobs are covering
this since tempest runs wholedisk and partition tests)
- Remove `partition` from the job names
Change-Id: Ic82fc9dc7b658dab52c06b3619a0118acd111bc5
This patch converts the main jobs to dib images.
The discrepancy in the names is due to the fact that some other
projects, like diskimage-builder and ironic-python-agent-builder,
use those jobs, so we leave them for the time being.
The same thing happen for the tinyipa jobs, we create some ad-hoc
jobs until we convert the jobs in the other projects.
Depends-On: https://review.opendev.org/718607
Change-Id: If12a6152015ad00145002f0e5cc2bb948ea6457a
The only reason the current 2 GiB nodes work is because DIB started
removing linux-firmware from its images. Unfortunately, we need this
package on bare metal, and readding it brings to 3 GiB consump
Change-Id: Ic0f2274b29abe7470b835cfc305898643204e1f6
We are changing the default boot in ironic to local,
to avoid breaking the CI let's set the partition
jobs to netboot.
Change-Id: I4e3ad1881ea2068dd845706b7c977e10a6bb5da3
The ironic-ipa-base job is based on ironic-base job which
will default to dib.
To prevent breaking the ironic-ipa CI we set the ramdisk
type to tinyipa for now and we'll convert the jobs here later.
Change-Id: I00a7b88289c9a0a65aabc8b1e32b63f0f787a65f
We need to be able to pick up fixes quicker than now and to use
depends-on with DIB changes. This change achieves it.
Change-Id: I70f2e13f799cc496878afd2d1416b50386dd0123
The CentOS 8 images we use now are much smaller than the previously
used CentOS 7 images, so hopefully we can require less RAM.
Change-Id: I876cd4af8fe9a0516c0802f3894a964000d0ae2b
- removed `USE_PYTHON3` from ironic-ipa-base since ironic-base
already has this configuration
- Enabled python3 for ipa-tempest-wholedisk-bios-ipmi-direct-tinyipa-src
and ipa-tempest-partition-bios-ipmi-direct-tinyipa-src
- Renamed ipa-tempest-dsvm-partition-ipmi-iscsi-tinyipa-python3 to
ipa-tempest-dsvm-partition-ipmi-iscsi-tinyipa
Change-Id: Ib955e93c19182dd6f16e00c8e8e92523d7b2e22b
We seem to be running out of it now (after CentOS 7.7?).
Also remove the unneccesary USE_PYTHON3: False.
Change-Id: Ibbc5538473b17c58d84f1cb764edec0c6747b263
The image_distro variable has to be initialized even when not actually
used, because run.yaml is one big bash script.
Change-Id: Id73931b29feaa73550d3cb4924f63e303a2fa145
* Install bindep from diskimage-builder in the DIB image job
* Switch to using ironic-python-agent-builder script
* Include distribution and branch name into target file names
* Place resulting files into correct directories
* Switch the distribution to centos7 since ubuntu seems to require
additional configuration
* Add dhcp-all-interfaces, otherwise the image won't DHCP
Change-Id: I3f95323fa59bde4d4be6ff356e5e9f20b7cd453c
Installs diskimage-builder to pass the
ironic-python-agent-buildimage-dib test for jobs using
DIB image building
Change-Id: I7be1ec3d70c59bb6bede1099e3d76fc007d8a02e
Task: 36271
Story: 2005114
Adds bandit configuration template and exclude some of
tests that we don't want to fix for the moment.
Keeping job unvoted so that we can keep an eye on possible
issues while not breaking gate.
Change-Id: I092d686ba38723d7951e8f06415f28cc809ad365
Story: 2005791
Task: 33563