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
I'm requesting this job be temporarily merged for testing publishing
artifacts to an AFS volume instead of pushing it to a static server.
This is part of the efforts to retire our static.openstack.org server
and serve files from our distributed storage [1].
Because the publishing steps happen in the post phase using a secret
value in project-config to get the kerberos ticket for writing to AFS,
we have to commit changes to really test them.
This repository is a good user of the artifact upload process and a
good target for testing the changes on just one repository.
This adds a job ironic-python-agent-build-image-tinyipa-publish-to-afs
which is ultimately parented to the new
publish-openstack-artifacts-with-afs from project-config. The only
difference is that this will upload the output to AFS, where I will
check that everything copied as expected. We can then revert this.
Ultimately we will change the publish-openstack-artifacts job in
project-config -- this will be transparent to end-users such as this
repository as we will be switching tarballs.openstack.org to use this
at the same time.
Depends-On: https://review.opendev.org/705159
[1] https://docs.opendev.org/opendev/infra-specs/latest/specs/retire-static.html
Change-Id: Ib2ae8c2d9f59695ce7af5414f73e1f4bcc7ae462
Using the virtualenv command will generate a virtualenv with the
default python exec for the entire system, that means that even
if DIB_PYTHON is python3, the virtualenv will use python2.
With this change we use the venv embedded command if the version
of Python is 3.x to generate a virtualenv with the correct
Python 3 version.
Change-Id: I8bec32c5e0dae2dee27615146f946a9649f23fd1
As found recently, pip with Python 3.6 and forward has some issues
installing tarballs that contain files with non-ascii characters
in their names.
This is due mainly to the fact that the default locale in the
system is set to C [1].
As a workaround, we run the installation of the packages in the
virtualenv forcing C.UTF-8 locale.
[1] https://github.com/pypa/pip/issues/7667
Change-Id: Idfb8b121a43a0bb74844fd63d5c2507d7b888b15
This job is used on stable branches and is currently broken. This
change introduces a workaround for older DIB and re-enables the job.
Change-Id: I100576c639649a69a8e95463ca87bedda4bbadc3
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: Ic6ab011370b08d06a5c914736949ead2cb498e56
These systems use LIO via python-rtslib, and targetcli depends
on libX11 and other GUI packages. The target-restore package
(coming from python-rtslib) is enough to create the necessary
directories (e.g. /etc/target).
Change-Id: Ide0d23d3834c52edcbc569c05ce95ba78e1bf73d
CentOS 7 uses Python 2. Although it's possible to install Python 3
on it, it not trivial with DIB. We should rather switch to
a distribution where Python 3 is the default version.
As a nice side effect, the CentOS 8 images seem smaller.
The CentOS 7 job definitions are kept around since they're used
on stable/train.
Change-Id: I6b23da21eab19c69f7b070adff76b35e1752bf8d
Seems we have no real way to grok if there was a rescue setup failure
because we don't log any information to the console about the node
once dhcp has occured.
As such, added an additional line of text to be logged and added
the ip addr command which should save a list of addresses by
interface to the console to assist in CI job troubleshooting.
Change-Id: Ib3f6e24d0687e9da8e551355fe04faf3f86ff582
This patch converts the versions of the custom dependencies builds
to variables.
Includes:
tgt
qemu
lshq
biosdevname
ipmitool
Change-Id: I516256624b6ec12329dc02b185701b287897954d