330 Commits

Author SHA1 Message Date
Chandan Kumar (raukadah)
bb6a4769ac Added element to enable RDO deps repo to install sysbench
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
2022-01-25 19:22:02 +00:00
Chandan Kumar (raukadah)
a08dcb4c36 Move centos9 jobs from experimental to check
Change-Id: I31dd48509ad029c88ee79415516771019cd1314e
2022-01-25 03:38:39 +00:00
Steve Baker
66206d0b27 Remove centos7 job, python2 support
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
2022-01-21 13:35:01 +13:00
Chandan Kumar (raukadah)
811d9ff9e5 Replace genisoimage with xorriso
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
2021-12-02 15:00:14 +05:30
Zuul
32d19e3c8f Merge "add element-deps for element burn-in delete entries" 2021-11-22 11:01:01 +00:00
Bernd Mueller
c48f3141f6 add element-deps for element burn-in
delete entries

follow up of https://review.opendev.org/c/openstack/ironic-python-agent-builder/+/815453

Signed-off-by: Bernd Mueller <mueller@b1-systems.de>
Change-Id: I8be293a5d63826d7496473bbbdb076064be06304
Signed-off-by: Bernd Mueller <mueller@b1-systems.de>
2021-11-18 14:42:23 +01:00
Zuul
a594bc0451 Merge "more details where to find the iso-image-create script" 2021-11-18 13:17:47 +00:00
Zuul
8400b618a2 Merge "Build and publish arm64 debian based ipa ramdisk" 2021-11-18 10:49:01 +00:00
Riccardo Pittau
b1af22174b Build and publish arm64 debian based ipa ramdisk
Change-Id: Ic9a79fe9192ae09b13d7722dd5735ffc7709ce38
2021-11-15 08:21:56 +00:00
Bernd Mueller
4d474c7471 more details where to find the iso-image-create script
Signed-off-by: Bernd Mueller <mueller@b1-systems.de>
Change-Id: I4eb6e273c6c19dc9fdde6b0b13d46adc8557e2b6
2021-11-10 14:48:36 +01:00
Zuul
9dd67d4e86 Merge "new element burn-in for package stress-ng, added fio" 2021-11-09 11:52:21 +00:00
Zuul
349e00e7cc Merge "Bump pip for tinyipa to 21.3.1" 2021-11-03 16:38:32 +00:00
Riccardo Pittau
44b95bc047 Bump pip for tinyipa to 21.3.1
It is currently the latest stable version
https://pip.pypa.io/en/stable/news/#v21-3-1

Change-Id: I7a93122fbac109357c210e3c4830e6527465c302
2021-11-02 14:23:35 +01:00
Riccardo Pittau
de007a80af Associate pip version to python version in DIB based images
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
2021-10-29 10:47:31 +02:00
Bernd Mueller
09640d3d0f new element burn-in for package stress-ng, added fio
Signed-off-by: Bernd Mueller <mueller@b1-systems.de>

Change-Id: I244d7fdfa4967199be15a3669421b31992ff6044
2021-10-27 13:12:49 +02:00
bffece3c14 Update master for stable/xena
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
2021-09-17 13:28:59 +00:00
Julia Kreger
47ca82775c Support non-genisoimage binaries
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
3.0.0 xena-em
2021-09-15 16:21:14 -07:00
Zuul
8f8cff29b5 Merge "Remove support for iSCSI deploy from the DIB builder" 2021-09-14 13:33:21 +00:00
Zuul
af5f55496a Merge "Use Ubuntu Focal instead of the default Bionic" 2021-09-14 09:39:10 +00:00
Zuul
9e2af38300 Merge "Preliminary work to support CentOS 9 Stream" 2021-09-13 16:39:13 +00:00
Zuul
68ba6f33c9 Merge "Stop explicitly supported Fedora" 2021-09-10 22:14:41 +00:00
Dmitry Tantsur
001100e2e2 Remove support for iSCSI deploy from the DIB builder
... but keep support for iscsistart used by iBFT.

Change-Id: I8e892b505d39197dbfffc8d47408b4747679cc85
2021-09-10 15:39:38 +02:00
Dmitry Tantsur
c3186b9bf6 Use Ubuntu Focal instead of the default Bionic
Change-Id: If64f92f311e314f8c17a74c62e4f5d8c70fe58f9
2021-09-10 12:45:21 +02:00
Riccardo Pittau
3a4db0790b Use native Centos 8 Stream for dib images
Change-Id: I0ba0a529f470a3356340f0c4d9ccc32f669cedc0
2021-09-10 12:40:35 +02:00
Sagi Shnaidman
09dcdedf00 Preliminary work to support CentOS 9 Stream
Changes package mappings to default to Python 3. Unfortunately, the
build does not work yet because of some issue in DIB.

Co-Authored-By: Dmitry Tantsur <dtantsur@protonmail.com>
Change-Id: I88c1ec2590d280745daa6c8b3aa9a719f5d96e72
2021-09-10 12:17:21 +02:00
Dmitry Tantsur
f21e6dddfc Stop explicitly supported Fedora
It's a moving target that keeps breaking. Right now it's broken because
removing openssl-devel causes removal of dkms, which DIB insists on
installing.

Document the supported distributions based on what the CI runs
(yes, it's Ubuntu Bionic and openSUSE 15.1, there is no mistake).

Change-Id: I08263751ca158db5883d95407ad0f3c9807826eb
2021-09-10 12:15:05 +02:00
Dmitry Tantsur
a601b56da6 CI: specify Debian version explicitly
Change-Id: Ie89a403ff17b4d05cd5e4ef6d28e86643c458486
2021-09-10 11:43:09 +02:00
Jay Faulkner
5c8fc6fd31 Allow opt-out of full ramdisk pruning
While aggressively pruning ramdisk contents reduces the size, it can
break packages that depend on any of the pruned directories existing.
Allow anyone impacted by that case to opt out.

Change-Id: I1b5a65a56d151a26ee44446c20c6df31bb695223
2021-08-11 11:01:25 -07:00
Jay Faulkner
8ba630fb22 Revert "Allow configuration of paths to prune"
This reverts commit 68989576e3663cdc5a7182eea14d2ed6206d61e0.

Reason for revert: Breaks pruning in all cases.

Change-Id: Ib7a16ffcf3aaa6a1ffac9ad73e5cff00c7daadb1
2021-08-09 21:24:28 +00:00
Jay Faulkner
68989576e3 Allow configuration of paths to prune
Without this, it makes it impossible to install/use software that
depends on this path being available, such as any application which
wants to log to its own dir in /var/log.

Change-Id: Ie6d6efa7cf7de1dc9cd63031de05f95b2d050935
2021-07-30 13:46:10 +00:00
Bernd Mueller
ee4f3a8ec1 typo in docu, admin, ironic-python-agent-ramdisk, outputs three files -> two
Signed-off-by: Bernd Mueller <mueller@b1-systems.de>
Change-Id: I008d119a6b4487507e4ab6508a22f456962592fb
2021-07-15 09:57:44 +02:00
Riccardo Pittau
70ffdc565b Update min version of tox to use allowlist
The min version of tox is updated to 3.18.0 to replace whitelist_externals
with allowist_externals option [1]

[1] https://github.com/tox-dev/tox/blob/master/docs/changelog.rst#v3180-2020-07-23

Change-Id: I42091bde2be25a52399fe66c2ca4600274dd0350
2021-06-15 10:01:17 +02:00
Zuul
609531aa68 Merge "Restrict publishing jobs to master" 2021-06-11 16:25:21 +00:00
Riccardo Pittau
b133d4d0c9 Update requirements for diskimage-builder
Support for Centos8 Stream was added in diskimage-builder version 3.4.0 [1]
Now that we have stable branches in ipa-builder, we can finally update
this requirement that was breaking bifrost on stable/victoria [2]
This will also fix potential issues when building rpms in RDO as the min
dib version has been set to 3.4.0 already in the spec [3]

[1] cbeca0babd
[2] 863735c202
[3] https://github.com/rdo-packages/ironic-python-agent-builder-distgit/blob/rpm-master/openstack-ironic-python-agent-builder.spec#L32

Change-Id: Ifdc28956aaf74f84f4f2286ab211c56b6cbcc2e0
2021-05-18 10:06:23 +02:00
Zuul
9e4ba9bf9a Merge "Update master for stable/wallaby" 2021-05-11 18:46:50 +00:00
Dmitry Tantsur
0e243c4e51 tinyIPA: remove support for iSCSI deploy
Change-Id: Ice5ba6acefbee68a9526cf482235fda0eeef5dc4
2021-05-10 15:04:05 +02:00
Dmitry Tantsur
963b23e0ae Restrict publishing jobs to master
We already build branched versions from IPA itself, let's not increase
our space usage.

Change-Id: I796b24a7ef19c3b0cc459ca1e1dc46d22f6349b5
2021-05-10 13:17:07 +02:00
e39185c99c Update master for stable/wallaby
Add file to the reno documentation build to show release notes for
stable/wallaby.

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

Sem-Ver: feature
Change-Id: Ieca743ff2d3ccea27b686abeeedf69b03663c491
2021-05-10 13:11:29 +02:00
XinxinShen
9032aad2d3 setup.cfg: Replace dashes with underscores
Setuptools v54.1.0 introduces a warning that the use of dash-separated
options in 'setup.cfg' will not be supported in a future version [1].
Get ahead of the issue by replacing the dashes with underscores. Without
this, we see 'UserWarning' messages like the following on new enough
versions of setuptools:

  UserWarning: Usage of dash-separated 'description-file' will not be
  supported in future versions. Please use the underscore name
  'description_file' instead

[1] https://github.com/pypa/setuptools/commit/a2e9ae4cb

Change-Id: I5a121329188ebcdb002ba229156cf529da2bd17e
2021-05-08 09:14:26 +08:00
Xinliang Liu
6c74417da1 Fix build error on aarch64
Fix "error: invalid command 'bdist_wheel'" when building on aarch64.

For aarch64 platform, it seems it always tries to build wheels first for
python packages which have no wheels in PyPi. Although it will install
the source packages successfully at last.

Task: #41701
Story: #2008562
Change-Id: Id3dc4eaad9b698241ad70a69f93b8463bc15de0d
2021-05-07 01:24:02 +00:00
Zuul
1355d790ef Merge "Stop testing the iscsi deploy interface" 2021-05-03 13:24:02 +00:00
Zuul
05ff6a3353 Merge "Create tcedir with correct permissions" 2021-04-30 22:34:51 +00:00
Dmitry Tantsur
9fd4f29e9b Stop testing the iscsi deploy interface
Use a new alias for the direct deploy job.

Change-Id: I8370659702b889077a08f581d002cdc54165ca53
2021-04-30 17:13:59 +02:00
Riccardo Pittau
69107b7d04 Fix python2 compatible ipa creations
Old default versions of setuptools may have issues parsinq requirements.
To keep compatibility with Python 2.x we need to upgrade setuptools in
virtualenvs still using that version.

Change-Id: I61b77ceb6c58b5db451ccbbdfec9d92b4fa5bc89
2021-04-30 12:15:45 +02:00
Riccardo Pittau
43486c21c0 Create tcedir with correct permissions
Condense dir creation and change permissions in a single command.

Change-Id: I2021f6b4ee4992aa72b0d686bab57408c27fd10b
2021-04-12 16:21:33 +02:00
Zuul
93292bfd57 Merge "Fix: IPA image building with OpenSuse." 2.7.0 2.6.0 2021-04-08 11:28:18 +00:00
Zuul
04eb76f307 Merge "Copy resolv.conf handling from diskimage-builder" 2021-03-30 14:29:10 +00:00
smoshiur1237
853e3f73b2 Fix: IPA image building with OpenSuse.
At this moment the IPA image building with OpenSuse is broken and missing compatible packages for installation. Also, setuptools upgrade, svc mapping and package mapping are necessary for openSuse specific task. This PR will solve those issues to build IPA image with OpenSuse base image. There is another PR opened in diskimage-builder, which is adds small change for opensuse specific settings.
Depends-On: https://review.opendev.org/c/openstack/diskimage-builder/+/778723

Change-Id: I0a99d6313a38260973c1f725e2daed8d930da6c1
2021-03-26 09:23:20 +00:00
Julia Kreger
b6fefd65d3 Fix tinyipa virtual media indicator flag
The tinyipa embedded isolinux configuration
lacks the indicator flag to state that the machine
is booting from virtual media.

Change-Id: I48d054d1153be77675f88077fae6f185c934857c
Story: 2008749
Task: 42127
2021-03-25 13:54:00 -07:00
Zuul
7f4553bd37 Merge "Add a job to test tinyipa in ussuri" 2021-03-22 17:22:16 +00:00