-
Notifications
You must be signed in to change notification settings - Fork 113
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Start using Centos 8 as base #100
Conversation
There seem to be CentOS 8 packages for Train now: https://trunk.rdoproject.org/centos8-train/status_report.html. Time to continue? |
Dockerfile
Outdated
|
||
RUN yum install -y python-requests && \ | ||
curl https://raw.githubusercontent.com/openstack/tripleo-repos/master/tripleo_repos/main.py | python - -b stein current-tripleo && \ | ||
RUN yum install -y python3 python3-requests && \ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Do you really need to install python3 explicitly?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
it was necessary until last time :/
Dockerfile
Outdated
RUN yum install -y python-requests && \ | ||
curl https://raw.githubusercontent.com/openstack/tripleo-repos/master/tripleo_repos/main.py | python - -b stein current-tripleo && \ | ||
RUN yum install -y python3 python3-requests && \ | ||
curl https://raw.githubusercontent.com/openstack/tripleo-repos/master/tripleo_repos/main.py | python3 - -b train current-tripleo && \ | ||
yum update -y && \ | ||
yum install -y openstack-ironic-api openstack-ironic-conductor crudini \ | ||
iproute iptables dnsmasq httpd qemu-img-ev iscsi-initiator-utils parted gdisk ipxe-bootimgs psmisc sysvinit-tools \ | ||
mariadb-server python2-chardet genisoimage && \ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
python3-chardet?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
this has been already corrected in a different patch
4b97584
to
f4ff74f
Compare
@dtantsur python interpreter is not installed by default in Centos 8 base images, so we need to explicitly install it |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good. Did you try running it?
Also do you plan on switching the builder as well?
sysvinit-tools mariadb-server genisoimage python-ironic-prometheus-exporter \ | ||
python-jinja2 && \ | ||
yum clean all && \ | ||
RUN dnf install -y python3 python3-requests && \ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Installing python3-requests is supposed to pull in python 3, I wonder why it's not the case..
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
this is "fun", I was also expecting that but apparently python3-requests doesn't care about python3!
The only dependencies are python3-chardet, python3-idna, python3-pysocks, python3-urllib3
@dtantsur I tested the builder conversion to centos 8 but there is an issue when building the ESP image:
despite having the grub2-efi-x64-modules package. |
@dtantsur I tested this locally and it seems working fine |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Okay, let's merge this first and deal with the builder later. I'm keeping this PR open to let others have a look.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
/lgtm
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: dtantsur, elfosardo The full list of commands accepted by this bot can be found here. The pull request process is described here
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
Install packages from file content
Start testing images with Centos 8 as base.