OSA AIO build fails on CentOS7 stable/pike during 'TASK [pip_install : Install EPEL and yum priorities plugin]' on first run

Bug #1735994 reported by Willem Basson
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
OpenStack-Ansible
Expired
Undecided
Unassigned

Bug Description

OSA AIO build fails on CentOS7 stable/pike during the first run with error:

TASK [pip_install : Install EPEL and yum priorities plugin] *******************************************************************************************************************************************************
Sunday 03 December 2017 13:20:30 +0000 (0:00:00.190) 1:20:16.754 *******
fatal: [aio1_cinder_api_container-d2d90f6a]: FAILED! => {"changed": false, "failed": true, "msg": "\n\n One of the configured repositories failed (Unknown),\n and yum doesn't have enough cached data to continue. At this point the only\n safe thing yum can do is fail. There are a few ways to work \"fix\" this:\n\n 1. Contact the upstream for the repository and get them to fix the problem.\n\n 2. Reconfigure the baseurl/etc. for the repository, to point to a working\n upstream. This is most often useful if you are using a newer\n distribution release than is supported by the repository (and the\n packages for the previous distribution release still work).\n\n 3. Run the command with the repository temporarily disabled\n yum --disablerepo=<repoid> ...\n\n 4. Disable the repository permanently, so yum won't use it by default. Yum\n will then just ignore the repository until you permanently enable it\n again or use --enablerepo for temporary usage:\n\n yum-config-manager --disable <repoid>\n or\n subscription-manager repos --disable=<repoid>\n\n 5. Configure the failing repository to be skipped, if it is unavailable.\n Note that yum will try to contact the repo. when it runs most commands,\n so will have to try and fail each time (and thus. yum will be be much\n slower). If it is a very temporary problem though, this is often a nice\n compromise:\n\n yum-config-manager --save --setopt=<repoid>.skip_if_unavailable=true\n\nCannot find a valid baseurl for repo: base/7/x86_64\n", "rc": 1, "results": []}

Attached are the host's aggregated yum repos from a clean install, post bootstrap-aio and after the error occurred.

Revision history for this message
Willem Basson (wlmbasson) wrote :
Revision history for this message
Jean-Philippe Evrard (jean-philippe-evrard) wrote :

Hello,

According to our triage conversation, we have more questions:

Was that a transient issue? Is the problem solved now?
Do you know which mirror was causing the issue?

Upstream COPR repo had issues, maybe that was the cause of this bug. Could we ensure it's the case or that it's solved now?

Changed in openstack-ansible:
status: New → Incomplete
Revision history for this message
Willem Basson (wlmbasson) wrote :

Hi,

I don't know if it is solved right now because setup is failing during 'TASK [repo_build : Wait for the venvs builds to complete]', but this has happened on every CentOS7 build I've done for at least the last 2-3 months.

How can I pinpoint the mirror? Can't find anything in yum logs.

Revision history for this message
Launchpad Janitor (janitor) wrote :

[Expired for openstack-ansible because there has been no activity for 60 days.]

Changed in openstack-ansible:
status: Incomplete → Expired
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.