RHEL/CentOS 8 dropped support for some older hardware that is still
in use. Since CentOS 7 has Python 3, let's support it for now.
Also fixes an issue with C.UTF-8 locale which does not seem to work on
CentOS 7 (and actually causes a failure with newer python packages).
Change-Id: I1b5797b030ef896ad4b2a95a504a0215ca6ee574
We're seeing some job failures with IPv6 when tinycore is
getting pulled in for rackspace hosts. The underlying issue
appears to be that we don't have an IPv6 route in the kernel.
First step, get more data.
Change-Id: I5b478893a2f114bdbeee53af5f44dc8139b02c52
Strips postfix gcc make from Centos based builds in
an attempt to reduce the overall sie of the ramdisk as C development
utilties are not needed on a ramdisk and better to not have present
on a machine as it complicates attacks to take over and launch to
additional hosts.
Postfix is also present in the ramdisk and is not needed as the
ramdisk has no use for a mail transport agent.
Also removes the GeoIP data files which are not needed by the ramdisk.
Change-Id: I7627e8a3d4924a672af37a468870ba92604e2e66
With this patch we are adding tripleo IPA build image job for C8:-
* tripleo-buildimage-ironic-python-agent-centos-8
We introduced this job as non voting.
Change-Id: If7e4e44e4f3d0606206e2212f7d8ca4945cd7ec7
When copying the DIB_IPA_CERT certificate to certificate bundle the script
fails due to incorrect print usage in python3
Change-Id: If130594b9ea041409c68498f1ae2239578217d07
As recommended, since version 3.2.0 tox switches pip invocations
to use the module -m pip instead of direct invocation.
We set min version to 3.2.1 [1] to also fix the behavior of
--parallel--safe-build
[1] https://tox.readthedocs.io/en/latest/changelog.html#v3-2-1-2018-08-10
Change-Id: I79338f6a5c67e189dfd6783ab40d2e6bd7d8b628
Use new ubuntu-focal nodeset to build tinyipa images.
This is needed to prepare to build tinyipa images based on
tinycore 11.x because we need the new kernel 5.x version to
be able to chroot.
Main changes:
- patching tce-load to conform to new squashfs options in the new
kernel
- installing python3-pip instead of python-pip
Story: 2007753
Task: 39943
Change-Id: I3d8a1ab84cae3c7185eb4f9bfefe239fab49a012
It's currently broken and not really needed anyway.
Depends-On: https://review.opendev.org/#/c/738435/
Change-Id: I767f6fc4e4177af5f7f93a0d4d3f8dcc578da2c4
Fix errors caused by dnf automatic updates that are not really
needed in ipa ramdisks.
Change-Id: I541252fc5137aec755b9feb4f15b888a71c3c1be
Story: 2007805
Task: 40067
Switch to openstackdocstheme 2.2.1 and reno 3.1.0 versions. Using
these versions will allow especially:
* Linking from HTML to PDF document
* Allow parallel building of documents
* Fix some rendering problems
Update Sphinx version as well.
Set openstackdocs_pdf_link to link to PDF file. Note that
the link to the published document only works on docs.openstack.org
where the PDF file is placed in the top-level html directory. The
site-preview places the PDF in a pdf directory.
Disable openstackdocs_auto_name to use 'project' variable as name.
Change pygments_style to 'native' since old theme version always used
'native' and the theme now respects the setting and using 'sphinx' can
lead to some strange rendering.
openstackdocstheme renames some variables, so follow the renames
before the next release removes them. A couple of variables are also
not needed anymore, remove them.
See also
http://lists.openstack.org/pipermail/openstack-discuss/2020-May/014971.html
Change-Id: Idbe930500bc7988d7e1d78cff3f39beae775db89
Bump minversion to 3.1.0 so we can use `ignore_basepython_conflict`
Added ignore_basepython_conflict, this will ensure we are testing with
the correct python version, see [1] for more details.
[1] http://lists.openstack.org/pipermail/openstack-discuss/2020-May/014809.html
Change-Id: I2a13efdd19da8eb114b1dd510f32bf0d78110c8b
The tce-load command saves info of installed packages under
/usr/local/tce.installed that is created during the build process
by the root user.
That will cause access and writing issues when running tce-load
as normal user, and we shouldn't run tce-load as root.
Change-Id: I2c369bc0280b3b73339fb49c2d257555d9d2d937
Full py3 compatible version.
Add all Python3 modules to stdlib list.
Also includes fix to an enum34 dependency bug.
Change-Id: I5eda08276c267c0866067bad1daa73513019b9b6
Consistent interface naming is helpful in collecting introspection
data and final instance system.
Change-Id: I8d434f7f8412734a540b797255abb6391325f434
This repo is now testing only with Python 3, so let's make
a few cleanups:
- Remove python 2.7 stanza from setup.py
- Remove obsolete sections from setup.cfg
- Update requirements, no need for python_version anymore
- Switch to using sphinx-build
- Cleanup doc/source/conf.py to remove now obsolete content.
- Use newer openstackdocstheme version
- Remove install_command from tox.ini, the default is fine
- Update hacking to version 3
Change-Id: I7e9e3993aeb05fb623be531160e418572fa9de54
The e2fsprogs package is mandatory if we want to create ext4
filesystem.
Story: 2007522
Task: 39312
Change-Id: I1f5fa1a15ec92ccb917670df8fc33abb83135ff9
When using a specific branch of ironic-python-agent for building
ironic images, we need to specefiy also the openstack/requirements
branch:
Change-Id: I259b5644150fe78018e2e0a6a4d719b973ab462f
The adjtime file used by hwclock in tinycore is /var/lib/hwclock/adjtime
but for some reason (bug?) the file is not created when hwclock is
invoked, causing hwclock to fail when using certain options, for example
--systohc.
We create the dir and the file to prevent that.
Change-Id: I86d7adac22be1890b271fd65a4bc49a7ab0a77bf
Since more and more python libraries are removing support for
Python 2 in the latest versions, we need to force the version of
Python used to build the DIB Debian image to 3, at least until
DIB fully converts to Python 3.
Change-Id: I8e6f15635754ab917562d758c35a8c5f4629efdf
Adds ntpdate to the binary package list for the diskimage-builder
element, and added ntpclient to the tinycore package list and added
a small shim to wrap ntpclient as ntpdate is not a native tinycore
package.
For larger ramdisks, we attempt to use chrony, which superceeds the ntp
package as a combined time server and client.
Change-Id: If99f2df31af8e4d41ad7813d25f0d779abc23f7a
Needed-By: https://review.opendev.org/#/c/707911/
Upgrading tinycore from version 9.x to 10.x
This change was merged [1] and reverted [2], let's give it another
try and eventually discuss about possible issues.
[1] https://review.opendev.org/688411
[2] https://review.opendev.org/698098
Change-Id: I831b414461f77c65e34b0f357763e38e74e65e29
Tinycore needs xfs support in order to be used in certian
low memory testing situtions with images that prefer
to use XFS as the filesystem.
Change-Id: Ief9c04a57c3e3249ddf081b249aa583169065582