In some cases, things such as dracut regenerating the
initramfs file, may leave some artifacts in /var/tmp/ from
the ramdisk build. These are not needed and can be discarded.
Change-Id: Ibd2a61a7e42adfea868679c52c7a786d9aab1b36
Update the URL to the upper-constraints file to point to the redirect
rule on releases.openstack.org so that anyone working on this branch
will switch to the correct upper-constraints list automatically when
the requirements repository branches.
Until the requirements repository has as stable/zed branch, tests will
continue to use the upper-constraints list on master.
Change-Id: I339e5811d71dd6adb82c0485db9e40e0eaeaf47c
This package includes smartctl, which is necessary for ATA secure erase
disk cleaning.
Without this package, IPA will fall back to shredding ATA devices, and
you will lose hours of your life. Worse, until
https://review.opendev.org/c/openstack/ironic-python-agent/+/847591, the
lack of smartctl was silently ignored.
Change-Id: I6952b833e0be4a47e45e9c4d4459956093628b6a
Removes webkit and polkit from ramdisks which are not
operationally needed as we don't need to render web pages
in the ramdisk, and we don't need to do system wide policy
enforcement. This does chain them with || true, just to be
on the safe side as we're trying to opportunistically cut
excess cruft in order to save space overall.
Locally, these changes have taken the uncompressed ramdisk
footprint from 780MB to 730MB.
Change-Id: I402a60c61f1b88b98798d9fae52420b1ca256512
The conditions are left in the code in case someone somehow make it
work. We can clean them up later.
Change-Id: I65f6da0e90560c00eb82e8e4366fdaf3bbde8da1
IPA can no longer be installed on them, other projects will follow.
Leave the jobs in place for projects that consume them.
Publish Stream 9 images (we'll need to clean up tarballs.o.o later).
Also force using Python 3.9 for tinyipa.
Change-Id: I350c563c1c4ab60ac10d7c9e4bb0715bfde1b1db
This commits introduces a new element `multipath-io`
that should be used when the system contains multipath devices.
Change-Id: I52761aecf0e17ed7482897b50a9b64ee514edfbe
Add file to the reno documentation build to show release notes for
stable/yoga.
Use pbr instruction to increment the minor version number
automatically so that master versions are higher than the versions on
stable/yoga.
Sem-Ver: feature
Change-Id: I34c29fb486962154532ca1c8751881533ff0fc67
Systemd, depending on the version and the configuration,
can attempt to open urandom when a ramdisk boots, before
the udevd is launched to handle the devices. In particular
in FIPS mode, this can result in the ramdisk crashing.
In order to handle this, we pre-create the chracter device
files which can be statically used in the early start sequence
to allow the agent to boot and deploy.
Change-Id: I587e66a0d6b652c4aeca6fc211602d999d4641e8
The current stable release for debian is bullseye, this patch switches
dib-based images to that version.
Change-Id: Id607d7697c0aa8464b533047a4e5938648a0e25b
In CentOS Stream/RHEL 9, synbench package is removed and
it is currently available and maintained under rdo deps repo.
Since sysbench is needed in extra-hardware element for running
tests.
This patch enables the repo to install sysbench.
Signed-off-by: Chandan Kumar (raukadah) <chkumar@redhat.com>
Change-Id: I8ebb405a1921282f49952e7cfdd19558ef7f1b1d
Override the default for DIB_DHCP_NETWORK_MANAGER_AUTO
to `true` on RHEL and CentOS release 8 and later.
The dhcp-all-interfaces element is configured to only
apply NetworkManager configuration. The service:
dhcp-all-interfaces will not be enabled. Not enabling the
service allows NetworkManager to do the interface auto-
configuration. In release 8 and later it should do this
just as good, or even better, compared to the
dhcp-all-interfaces.sh script.
Depends-On: Id6f8d6aaaf52a78175bb6c065ec88274c364834e
Change-Id: I12950733bfe54cae62d299b4c5987449d551857a
This change does the following:
- Removes the centos7 job, it uses python2 even though python2 was
dropped from IPA in 2019.
(see Ifd0e0b99bb82a7d7e82d6c14309468196f5734fc)
- Allow 60-ironic-python-agent-ramdisk-install to assume python3 and
the venv module, the remaining centos7-python3 job will also test this
- Replaces the pip-and-virtualenv element with ensure-venv.
pip-and-virtualenv exists to install virtualenv for python2
environments, and it is unmaintained and mostly technical debt.
Change-Id: I9b6e03f50a4eb2484a04748e51d7348401b6ca04
genisoimage has been removed from RHEL-9 and is replaced with
xorriso.
This patch updates the package map to xorriso instead of
replacing the genisoimage key map to avoid the breakage for
other distros.
Closes-Bug: #1953013
Signed-off-by: Chandan Kumar (raukadah) <chkumar@redhat.com>
Change-Id: I31f6d4f080afd93ae067c37348e9ef570f0a34d4
Use current latest version of pip for Python 3.x
For Python 2.x use the last pip version to support it [1].
[1] https://pypi.org/project/pip/20.3.4/
Change-Id: I7384beb16d3810ddede51e6e2660bb826bd47415
Add file to the reno documentation build to show release notes for
stable/xena.
Use pbr instruction to increment the minor version number
automatically so that master versions are higher than the versions on
stable/xena.
Sem-Ver: feature
Change-Id: Idb2e6fe598fa3ca185423f237bd048fe787cf176
Updates tinyipa build script so it can use one of the multiple
different ISO filesystem generation tools in the ecosystem.
Also updates the dib docs which states IPA requires genisoimage,
which is... not... true.
Change-Id: I505aed2ec98674a0495174219609694042d59070