Skip to content
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

Ansible request for RHEL7 docker install #2700

Closed
sxa opened this issue Aug 18, 2022 · 5 comments
Closed

Ansible request for RHEL7 docker install #2700

sxa opened this issue Aug 18, 2022 · 5 comments
Assignees

Comments

@sxa
Copy link
Member

sxa commented Aug 18, 2022

  • Bug in ansible playbook

Details: The docker role does not work on RHEL7. The following failure was from an s390x system - unclear if it is across architectures:

fatal: [build-marist-rhel79-s390x-2]: FAILED! => {
   "changed": false,
   "msg": "https://download.docker.com/linux/rhel/docker-ce.repo/repodata/repomd.xml: [Errno 14] HTTPS Error 404 - Not Found
               Trying other mirror.
               To address this issue please refer to the below knowledge base article
               https://access.redhat.com/articles/1320623
               If above article doesn't help to resolve this issue please open a ticket with Red Hat Support.
               One of the configured repositories failed (docker YUM repo s390x),
               and yum doesn't have enough cached data to continue. At this point the only
                safe thing yum can do is fail. There are a few ways to work \"fix\" this:
                    1. Contact the upstream for the repository and get them to fix the problem.
                    2. Reconfigure the baseurl/etc. for the repository, to point to a working upstream.
                    This is most often useful if you are using a newer
                    distribution release than is supported by the repository (and the
                    packages for the previous distribution…

Note tgat in the error message https://download.docker.com/linux/rhel/docker-ce.repo is a file, not a directory, so it is likely that it is simply being referenced wrongly for some reason.

@Haroon-Khel
Copy link
Contributor

Haroon-Khel commented Aug 24, 2022

I think changing the repo url to https://download.docker.com/linux/rhel/7/stable/ looks like it might work. Doing this allowed me into install docker onto build-marist-rhel79-s390x-1.

Going to test it in AWX

@Haroon-Khel
Copy link
Contributor

Haroon-Khel commented Aug 24, 2022

Running on build-marist-rhel79-s390x-2 (no docker installed)
https://awx2.adoptopenjdk.net/#/jobs/playbook/202?job_search=page_size:20;order_by:-finished;not__launch_type:sync

@sxa
Copy link
Member Author

sxa commented Aug 24, 2022

Running on build-marist-rhel79-s390x-2 (no docker installed) https://awx2.adoptopenjdk.net/#/jobs/playbook/202?job_search=page_size:20;order_by:-finished;not__launch_type:sync

LGTM assuming it's done what it claims to have!

@Haroon-Khel
Copy link
Contributor

Pr is in #2707

@Haroon-Khel
Copy link
Contributor

Can be closed as the pr is merged

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants