Bug 1687083
Summary: | cloudforms appliance comes with enabled non-redhat non-product repositories that requires manual disablement to update appliance | ||
---|---|---|---|
Product: | Red Hat CloudForms Management Engine | Reporter: | Reartes Guillermo <greartes> |
Component: | Build | Assignee: | Satoe Imaishi <simaishi> |
Status: | CLOSED DUPLICATE | QA Contact: | Sudhir Mallamprabhakara <smallamp> |
Severity: | low | Docs Contact: | Red Hat CloudForms Documentation <cloudforms-docs> |
Priority: | unspecified | ||
Version: | 5.10.0 | CC: | dmetzger, obarenbo |
Target Milestone: | GA | ||
Target Release: | cfme-future | ||
Hardware: | x86_64 | ||
OS: | Linux | ||
Whiteboard: | |||
Fixed In Version: | Doc Type: | If docs needed, set a value | |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2019-03-11 13:32:55 UTC | Type: | Bug |
Regression: | --- | Mount Type: | --- |
Documentation: | --- | CRM: | |
Verified Versions: | Category: | --- | |
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
Cloudforms Team: | --- | Target Upstream Version: | |
Embargoed: |
Description
Reartes Guillermo
2019-03-09 16:37:20 UTC
[root@dccf47 ~]# yum repolist Loaded plugins: product-id, search-disabled-repos, subscription-manager https://releases.ansible.com/ansible/rpm/release/epel-7-x86_64/repodata/repomd.xml: [Errno 14] curl#6 - "Could not resolve host: releases.ansible.com; Unknown error" Trying other mirror. https://releases.ansible.com/ansible/rpm/release/epel-7-x86_64/repodata/repomd.xml: [Errno 14] curl#6 - "Could not resolve host: releases.ansible.com; Unknown error" Trying other mirror. cf-me-5.10-for-rhel-7-rpms/x86_64 | 2.4 kB 00:00:00 cf-me-5.10-for-rhel-7-rpms/x86_64/group | 147 B 00:00:00 cf-me-5.10-for-rhel-7-rpms/x86_64/updateinfo | 33 kB 00:00:00 cf-me-5.10-for-rhel-7-rpms/x86_64/primary | 87 kB 00:00:00 cf-me-5.10-for-rhel-7-rpms 224/224 http://download.postgresql.org/pub/repos/yum/9.6/redhat/rhel-7Server-x86_64/repodata/repomd.xml: [Errno 14] curl#6 - "Could not resolve host: download.postgresql.org; Unknown error" Trying other mirror. https://packagecloud.io/rabbitmq/erlang/el/7/x86_64/repodata/repomd.xml: [Errno 14] curl#6 - "Could not resolve host: packagecloud.io; Unknown error" Trying other mirror. https://packagecloud.io/rabbitmq/erlang/el/7/SRPMS/repodata/repomd.xml: [Errno 14] curl#6 - "Could not resolve host: packagecloud.io; Unknown error" Trying other mirror. https://packagecloud.io/rabbitmq/rabbitmq-server/el/7/x86_64/repodata/repomd.xml: [Errno 14] curl#6 - "Could not resolve host: packagecloud.io; Unknown error" Trying other mirror. https://packagecloud.io/rabbitmq/rabbitmq-server/el/7/SRPMS/repodata/repomd.xml: [Errno 14] curl#6 - "Could not resolve host: packagecloud.io; Unknown error" Trying other mirror. rhel-7-server-ansible-2.7-rpms/x86_64 | 2.4 kB 00:00:00 rhel-7-server-ansible-2.7-rpms/x86_64/group | 147 B 00:00:00 rhel-7-server-ansible-2.7-rpms/x86_64/updateinfo | 7.8 kB 00:00:00 rhel-7-server-ansible-2.7-rpms/x86_64/primary | 4.0 kB 00:00:00 rhel-7-server-ansible-2.7-rpms 13/13 rhel-7-server-extras-rpms/x86_64 | 2.0 kB 00:00:00 rhel-7-server-extras-rpms/x86_64/group | 147 B 00:00:00 rhel-7-server-extras-rpms/x86_64/updateinfo | 196 kB 00:00:00 rhel-7-server-extras-rpms/x86_64/primary | 311 kB 00:00:00 rhel-7-server-extras-rpms 1064/1064 rhel-7-server-optional-rpms/7Server/x86_64 | 2.0 kB 00:00:00 rhel-7-server-optional-rpms/7Server/x86_64/group | 21 kB 00:00:00 rhel-7-server-optional-rpms/7Server/x86_64/updateinfo | 2.3 MB 00:00:00 rhel-7-server-optional-rpms/7Server/x86_64/primary | 4.9 MB 00:00:00 rhel-7-server-optional-rpms 17422/17422 rhel-7-server-rpms/7Server/x86_64 | 2.0 kB 00:00:00 rhel-7-server-rpms/7Server/x86_64/group | 637 kB 00:00:00 rhel-7-server-rpms/7Server/x86_64/updateinfo | 3.1 MB 00:00:00 rhel-7-server-rpms/7Server/x86_64/primary | 33 MB 00:00:00 rhel-7-server-rpms 23714/23714 rhel-server-rhscl-7-rpms/7Server/x86_64 | 2.0 kB 00:00:00 rhel-server-rhscl-7-rpms/7Server/x86_64/group | 147 B 00:00:00 rhel-server-rhscl-7-rpms/7Server/x86_64/updateinfo | 962 kB 00:00:00 rhel-server-rhscl-7-rpms/7Server/x86_64/primary | 3.2 MB 00:00:00 rhel-server-rhscl-7-rpms 10935/10935 One of the configured repositories failed (Unknown), 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 release still work). 3. Run the command with the repository temporarily disabled yum --disablerepo=<repoid> ... 4. Disable the repository permanently, so yum won't use it by default. Yum will then just ignore the repository until you permanently enable it again or use --enablerepo for temporary usage: yum-config-manager --disable <repoid> or subscription-manager repos --disable=<repoid> 5. Configure the failing repository to be skipped, if it is unavailable. Note that yum will try to contact the repo. when it runs most commands, so will have to try and fail each time (and thus. yum will be be much slower). If it is a very temporary problem though, this is often a nice compromise: yum-config-manager --save --setopt=<repoid>.skip_if_unavailable=true Cannot retrieve metalink for repository: epel/x86_64. Please verify its path and try again Only redhat.repo MUST be there (!) [root@dccf47 yum.repos.d]# ls -l total 40 -rw-r--r--. 1 root root 211 Feb 7 20:12 ansible-el7.repo -rw-r--r--. 1 root root 222 Feb 7 20:12 ansible-tower.repo -rw-r--r--. 1 root root 640 Feb 7 20:12 epel-7.repo -rw-r--r--. 1 root root 440 Feb 7 20:12 pgdg-96-centos.repo -rw-r--r--. 1 root root 777 Feb 7 20:12 rabbitmq.repo -rw-r--r--. 1 root root 18063 Mar 9 13:01 redhat.repo Marking as duplicate. To clarify, non-red hat repos will not exist until "Embedded Ansible" role is enabled in the UI and ansible-tower setup runs. *** This bug has been marked as a duplicate of bug 1678614 *** |