Bug 1540550

Summary: webui updates failing when a proxy is required
Product: Red Hat CloudForms Management Engine Reporter: luke couzens <lcouzens>
Component: ApplianceAssignee: Brandon Dunne <bdunne>
Status: CLOSED CURRENTRELEASE QA Contact: luke couzens <lcouzens>
Severity: high Docs Contact:
Priority: high    
Version: 5.9.0CC: abellott, cpelland, lcouzens, obarenbo, simaishi
Target Milestone: GAKeywords: TestOnly, ZStream
Target Release: 5.10.0   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard: webui:upgrade
Fixed In Version: 5.10.0.0 Doc Type: Bug Fix
Doc Text:
Cause: Proxy information wasn't being set for yum Consequence: Updates could not be applied Fix: Set proxy information in yum.conf Result: Updates are applied as expected
Story Points: ---
Clone Of:
: 1549625 1549626 1549627 (view as bug list) Environment:
Last Closed: 2019-02-11 14:01:56 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: CFME Core Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 1549625, 1549626, 1549627    

Description luke couzens 2018-01-31 11:39:43 UTC
Description of problem:
webui update failing on ipv6 only appliance


Version-Release number of selected component (if applicable):5.9.0.18


How reproducible:100%

Steps to Reproduce:
1.Provision appliance in ipv6 only environment
2.configure database
3.add latest repos
4.setup proxy through cli
5.export http and https proxy settings
6.connect to ui and navigate to configuration-settings-region-redhat updates
5.configure RHSM with proxy settings
6.validate and save
7.check for updates
8.apply updates

Actual results:
evm.log shows : 
[----] I, [2018-01-31T01:01:20.635075 #13717:7bd130]  INFO -- : MIQ(MiqQueue#deliver) Message id: [1000000000087], Delivering...
[----] I, [2018-01-31T01:01:20.641406 #13717:7bd130]  INFO -- : MIQ(MiqServer#check_updates) Checking for platform updates...
[----] I, [2018-01-31T01:01:25.123931 #13717:7bd130]  INFO -- : MIQ(MiqServer#check_updates) Checking for postgres updates...
[----] I, [2018-01-31T01:01:29.003553 #13717:7bd130]  INFO -- : MIQ(MiqServer#check_updates) Checking for CFME updates...
[----] I, [2018-01-31T01:01:29.429851 #13717:7bd130]  INFO -- : MIQ(MiqServer#check_updates) Checking for updates... Complete
[----] I, [2018-01-31T01:01:29.430385 #13717:7bd130]  INFO -- : Class#import_key Importing RPM-GPG-KEY: /etc/pki/rpm-gpg/RPM-GPG-KEY-redhat-beta
[----] I, [2018-01-31T01:01:29.668390 #13717:7bd130]  INFO -- : Class#import_key Importing RPM-GPG-KEY: /etc/pki/rpm-gpg/RPM-GPG-KEY-redhat-legacy-former
[----] I, [2018-01-31T01:01:29.808116 #13717:7bd130]  INFO -- : Class#import_key Importing RPM-GPG-KEY: /etc/pki/rpm-gpg/RPM-GPG-KEY-redhat-legacy-release
[----] I, [2018-01-31T01:01:30.341534 #13717:7bd130]  INFO -- : Class#import_key Importing RPM-GPG-KEY: /etc/pki/rpm-gpg/RPM-GPG-KEY-redhat-legacy-rhx
[----] I, [2018-01-31T01:01:30.620405 #13717:7bd130]  INFO -- : Class#import_key Importing RPM-GPG-KEY: /etc/pki/rpm-gpg/RPM-GPG-KEY-redhat-release
[----] I, [2018-01-31T01:01:30.743746 #13717:7bd130]  INFO -- : MIQ(MiqServer#apply_updates) Applying Updates, Services will restart when complete.

But the appliance never updates anything

Traceback http://pastebin.test.redhat.com/551567

Expected results:
Updates applied.

Additional info:
Its worth noting that the first time I checked for updates through the ui there were connection errors in the logs to one repo, see here http://pastebin.test.redhat.com/551568

That being said I ran yum update and that had no issues with the repos and updated the appliance fine.

Ping me if you are stuck for a reproducing environment.

Comment 4 Brandon Dunne 2018-01-31 22:54:04 UTC
The problem is:
[root@localhost vmdb]# yum check-update
Loaded plugins: product-id, search-disabled-repos, subscription-manager
https://cdn.redhat.com/content/dist/rhel/server/7/7Server/x86_64/os/repodata/repomd.xml: [Errno 14] curl#5 - "Could not resolve proxy: https; Name or service not known"
Trying other mirror.


 One of the configured repositories failed (Red Hat Enterprise Linux 7 Server (RPMs)),
 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=rhel-7-server-rpms ...

     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 rhel-7-server-rpms
        or
            subscription-manager repos --disable=rhel-7-server-rpms

     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=rhel-7-server-rpms.skip_if_unavailable=true

failure: repodata/repomd.xml from rhel-7-server-rpms: [Errno 256] No more mirrors to try.
https://cdn.redhat.com/content/dist/rhel/server/7/7Server/x86_64/os/repodata/repomd.xml: [Errno 14] curl#5 - "Could not resolve proxy: https; Name or service not known"

Comment 5 Brandon Dunne 2018-01-31 22:59:37 UTC
I can't seem to get any yum commands working on the command line

Comment 7 luke couzens 2018-02-01 16:55:10 UTC
Hey Brandon, not sure why its trying to access those repos during update, it should be just using the repos I added to /etc/yum.repos.d/update.repo running this worked for me tho:

yum update --disablerepo=rhel-7-server-rpms --disablerepo=rhel-server-rhscl-7-rpms

Cheers

Comment 8 Brandon Dunne 2018-02-02 16:34:20 UTC
It looks like yum update exits 1 with the following on stderr:
http://download.devel.redhat.com/released/RHEL-7/7.4/Server/x86_64/os/repodata/repomd.xml: [Errno 14] curl#7 - "Failed to connect to 10.10.160.20: Network is unreachable"
Trying other mirror.
http://download.devel.redhat.com/released/RHEL-7/7.4/Server/x86_64/os/repodata/repomd.xml: [Errno 14] curl#7 - "Failed to connect to 10.10.160.20: Network is unreachable"
Trying other mirror.
http://download.devel.redhat.com/released/RHEL-7/7.4/Server/x86_64/os/repodata/repomd.xml: [Errno 14] curl#7 - "Failed to connect to 10.10.160.20: Network is unreachable"
Trying other mirror.
http://download.devel.redhat.com/released/RHEL-7/7.4/Server/x86_64/os/repodata/repomd.xml: [Errno 14] curl#7 - "Failed to connect to 10.10.160.20: Network is unreachable"
Trying other mirror.
http://download.devel.redhat.com/released/RHEL-7/7.4/Server/x86_64/os/repodata/repomd.xml: [Errno 14] curl#7 - "Failed to connect to 10.10.160.20: Network is unreachable"
Trying other mirror.
http://download.devel.redhat.com/released/RHEL-7/7.4/Server/x86_64/os/repodata/repomd.xml: [Errno 14] curl#7 - "Failed to connect to 10.10.160.20: Network is unreachable"
Trying other mirror.
http://download.devel.redhat.com/released/RHEL-7/7.4/Server/x86_64/os/repodata/repomd.xml: [Errno 14] curl#7 - "Failed to connect to 10.10.160.20: Network is unreachable"
Trying other mirror.
http://download.devel.redhat.com/released/RHEL-7/7.4/Server/x86_64/os/repodata/repomd.xml: [Errno 14] curl#7 - "Failed to connect to 10.10.160.20: Network is unreachable"
Trying other mirror.
http://download.devel.redhat.com/released/RHEL-7/7.4/Server/x86_64/os/repodata/repomd.xml: [Errno 14] curl#7 - "Failed to connect to 10.10.160.20: Network is unreachable"
Trying other mirror.
http://download.devel.redhat.com/released/RHEL-7/7.4/Server/x86_64/os/repodata/repomd.xml: [Errno 14] curl#7 - "Failed to connect to 10.10.160.20: Network is unreachable"
Trying other mirror.
http://pulp-read.dist.prod.ext.phx2.redhat.com/content/dist/rhel/server/7/7Server/x86_64/os/repodata/repomd.xml: [Errno 14] curl#7 - "Failed to connect to 10.4.205.124: Network is unreachable"
Trying other mirror.
http://pulp-read.dist.prod.ext.phx2.redhat.com/content/dist/rhel/server/7/7Server/x86_64/os/repodata/repomd.xml: [Errno 14] curl#7 - "Failed to connect to 10.4.205.124: Network is unreachable"
Trying other mirror.
http://pulp-read.dist.prod.ext.phx2.redhat.com/content/dist/rhel/server/7/7Server/x86_64/os/repodata/repomd.xml: [Errno 14] curl#7 - "Failed to connect to 10.4.205.124: Network is unreachable"
Trying other mirror.
http://pulp-read.dist.prod.ext.phx2.redhat.com/content/dist/rhel/server/7/7Server/x86_64/os/repodata/repomd.xml: [Errno 14] curl#7 - "Failed to connect to 10.4.205.124: Network is unreachable"
Trying other mirror.
http://pulp-read.dist.prod.ext.phx2.redhat.com/content/dist/rhel/server/7/7Server/x86_64/os/repodata/repomd.xml: [Errno 14] curl#7 - "Failed to connect to 10.4.205.124: Network is unreachable"
Trying other mirror.
http://pulp-read.dist.prod.ext.phx2.redhat.com/content/dist/rhel/server/7/7Server/x86_64/os/repodata/repomd.xml: [Errno 14] curl#7 - "Failed to connect to 10.4.205.124: Network is unreachable"
Trying other mirror.
http://pulp-read.dist.prod.ext.phx2.redhat.com/content/dist/rhel/server/7/7Server/x86_64/os/repodata/repomd.xml: [Errno 14] curl#7 - "Failed to connect to 10.4.205.124: Network is unreachable"
Trying other mirror.
http://pulp-read.dist.prod.ext.phx2.redhat.com/content/dist/rhel/server/7/7Server/x86_64/os/repodata/repomd.xml: [Errno 14] curl#7 - "Failed to connect to 10.4.205.124: Network is unreachable"
Trying other mirror.
http://pulp-read.dist.prod.ext.phx2.redhat.com/content/dist/rhel/server/7/7Server/x86_64/os/repodata/repomd.xml: [Errno 14] curl#7 - "Failed to connect to 10.4.205.124: Network is unreachable"
Trying other mirror.
http://pulp-read.dist.prod.ext.phx2.redhat.com/content/dist/rhel/server/7/7Server/x86_64/os/repodata/repomd.xml: [Errno 14] curl#7 - "Failed to connect to 10.4.205.124: Network is unreachable"
Trying other mirror.
http://pulp-read.dist.prod.ext.phx2.redhat.com/content/dist/rhel/server/7/7Server/x86_64/rhscl/1/os/repodata/repomd.xml: [Errno 14] curl#7 - "Failed to connect to 10.4.205.124: Network is unreachable"
Trying other mirror.
http://pulp-read.dist.prod.ext.phx2.redhat.com/content/dist/rhel/server/7/7Server/x86_64/rhscl/1/os/repodata/repomd.xml: [Errno 14] curl#7 - "Failed to connect to 10.4.205.124: Network is unreachable"
Trying other mirror.
http://pulp-read.dist.prod.ext.phx2.redhat.com/content/dist/rhel/server/7/7Server/x86_64/rhscl/1/os/repodata/repomd.xml: [Errno 14] curl#7 - "Failed to connect to 10.4.205.124: Network is unreachable"
Trying other mirror.
http://pulp-read.dist.prod.ext.phx2.redhat.com/content/dist/rhel/server/7/7Server/x86_64/rhscl/1/os/repodata/repomd.xml: [Errno 14] curl#7 - "Failed to connect to 10.4.205.124: Network is unreachable"
Trying other mirror.
http://pulp-read.dist.prod.ext.phx2.redhat.com/content/dist/rhel/server/7/7Server/x86_64/rhscl/1/os/repodata/repomd.xml: [Errno 14] curl#7 - "Failed to connect to 10.4.205.124: Network is unreachable"
Trying other mirror.
http://pulp-read.dist.prod.ext.phx2.redhat.com/content/dist/rhel/server/7/7Server/x86_64/rhscl/1/os/repodata/repomd.xml: [Errno 14] curl#7 - "Failed to connect to 10.4.205.124: Network is unreachable"
Trying other mirror.
http://pulp-read.dist.prod.ext.phx2.redhat.com/content/dist/rhel/server/7/7Server/x86_64/rhscl/1/os/repodata/repomd.xml: [Errno 14] curl#7 - "Failed to connect to 10.4.205.124: Network is unreachable"
Trying other mirror.
http://pulp-read.dist.prod.ext.phx2.redhat.com/content/dist/rhel/server/7/7Server/x86_64/rhscl/1/os/repodata/repomd.xml: [Errno 14] curl#7 - "Failed to connect to 10.4.205.124: Network is unreachable"
Trying other mirror.
http://pulp-read.dist.prod.ext.phx2.redhat.com/content/dist/rhel/server/7/7Server/x86_64/rhscl/1/os/repodata/repomd.xml: [Errno 14] curl#7 - "Failed to connect to 10.4.205.124: Network is unreachable"
Trying other mirror.
http://pulp-read.dist.prod.ext.phx2.redhat.com/content/dist/rhel/server/7/7Server/x86_64/rhscl/1/os/repodata/repomd.xml: [Errno 14] curl#7 - "Failed to connect to 10.4.205.124: Network is unreachable"
Trying other mirror.
http://pulp-read.dist.prod.ext.phx2.redhat.com/content/dist/rhel/server/7/7Server/x86_64/rh-common/os/repodata/repomd.xml: [Errno 14] curl#7 - "Failed to connect to 10.4.205.124: Network is unreachable"
Trying other mirror.
http://pulp-read.dist.prod.ext.phx2.redhat.com/content/dist/rhel/server/7/7Server/x86_64/rh-common/os/repodata/repomd.xml: [Errno 14] curl#7 - "Failed to connect to 10.4.205.124: Network is unreachable"
Trying other mirror.
http://pulp-read.dist.prod.ext.phx2.redhat.com/content/dist/rhel/server/7/7Server/x86_64/rh-common/os/repodata/repomd.xml: [Errno 14] curl#7 - "Failed to connect to 10.4.205.124: Network is unreachable"
Trying other mirror.
http://pulp-read.dist.prod.ext.phx2.redhat.com/content/dist/rhel/server/7/7Server/x86_64/rh-common/os/repodata/repomd.xml: [Errno 14] curl#7 - "Failed to connect to 10.4.205.124: Network is unreachable"
Trying other mirror.
http://pulp-read.dist.prod.ext.phx2.redhat.com/content/dist/rhel/server/7/7Server/x86_64/rh-common/os/repodata/repomd.xml: [Errno 14] curl#7 - "Failed to connect to 10.4.205.124: Network is unreachable"
Trying other mirror.
http://pulp-read.dist.prod.ext.phx2.redhat.com/content/dist/rhel/server/7/7Server/x86_64/rh-common/os/repodata/repomd.xml: [Errno 14] curl#7 - "Failed to connect to 10.4.205.124: Network is unreachable"
Trying other mirror.
http://pulp-read.dist.prod.ext.phx2.redhat.com/content/dist/rhel/server/7/7Server/x86_64/rh-common/os/repodata/repomd.xml: [Errno 14] curl#7 - "Failed to connect to 10.4.205.124: Network is unreachable"
Trying other mirror.
http://pulp-read.dist.prod.ext.phx2.redhat.com/content/dist/rhel/server/7/7Server/x86_64/rh-common/os/repodata/repomd.xml: [Errno 14] curl#7 - "Failed to connect to 10.4.205.124: Network is unreachable"
Trying other mirror.
http://pulp-read.dist.prod.ext.phx2.redhat.com/content/dist/rhel/server/7/7Server/x86_64/rh-common/os/repodata/repomd.xml: [Errno 14] curl#7 - "Failed to connect to 10.4.205.124: Network is unreachable"
Trying other mirror.
http://pulp-read.dist.prod.ext.phx2.redhat.com/content/dist/rhel/server/7/7Server/x86_64/rh-common/os/repodata/repomd.xml: [Errno 14] curl#7 - "Failed to connect to 10.4.205.124: Network is unreachable"
Trying other mirror.
http://pulp-read.dist.prod.ext.phx2.redhat.com/content/dist/rhel/server/7/7Server/x86_64/extras/os/repodata/repomd.xml: [Errno 14] curl#7 - "Failed to connect to 10.4.205.124: Network is unreachable"
Trying other mirror.
http://pulp-read.dist.prod.ext.phx2.redhat.com/content/dist/rhel/server/7/7Server/x86_64/extras/os/repodata/repomd.xml: [Errno 14] curl#7 - "Failed to connect to 10.4.205.124: Network is unreachable"
Trying other mirror.
http://pulp-read.dist.prod.ext.phx2.redhat.com/content/dist/rhel/server/7/7Server/x86_64/extras/os/repodata/repomd.xml: [Errno 14] curl#7 - "Failed to connect to 10.4.205.124: Network is unreachable"
Trying other mirror.
http://pulp-read.dist.prod.ext.phx2.redhat.com/content/dist/rhel/server/7/7Server/x86_64/extras/os/repodata/repomd.xml: [Errno 14] curl#7 - "Failed to connect to 10.4.205.124: Network is unreachable"
Trying other mirror.
http://pulp-read.dist.prod.ext.phx2.redhat.com/content/dist/rhel/server/7/7Server/x86_64/extras/os/repodata/repomd.xml: [Errno 14] curl#7 - "Failed to connect to 10.4.205.124: Network is unreachable"
Trying other mirror.
http://pulp-read.dist.prod.ext.phx2.redhat.com/content/dist/rhel/server/7/7Server/x86_64/extras/os/repodata/repomd.xml: [Errno 14] curl#7 - "Failed to connect to 10.4.205.124: Network is unreachable"
Trying other mirror.
http://pulp-read.dist.prod.ext.phx2.redhat.com/content/dist/rhel/server/7/7Server/x86_64/extras/os/repodata/repomd.xml: [Errno 14] curl#7 - "Failed to connect to 10.4.205.124: Network is unreachable"
Trying other mirror.
http://pulp-read.dist.prod.ext.phx2.redhat.com/content/dist/rhel/server/7/7Server/x86_64/extras/os/repodata/repomd.xml: [Errno 14] curl#7 - "Failed to connect to 10.4.205.124: Network is unreachable"
Trying other mirror.
http://pulp-read.dist.prod.ext.phx2.redhat.com/content/dist/rhel/server/7/7Server/x86_64/extras/os/repodata/repomd.xml: [Errno 14] curl#7 - "Failed to connect to 10.4.205.124: Network is unreachable"
Trying other mirror.
http://pulp-read.dist.prod.ext.phx2.redhat.com/content/dist/rhel/server/7/7Server/x86_64/extras/os/repodata/repomd.xml: [Errno 14] curl#7 - "Failed to connect to 10.4.205.124: Network is unreachable"
Trying other mirror.
http://download.eng.bos.redhat.com/rcm-guest/puddles/CloudForms/4.6/latest/CFME/x86_64/os/repodata/repomd.xml: [Errno 14] curl#7 - "Failed to connect to 10.19.36.31: Network is unreachable"
Trying other mirror.
http://download.eng.bos.redhat.com/rcm-guest/puddles/CloudForms/4.6/latest/CFME/x86_64/os/repodata/repomd.xml: [Errno 14] curl#7 - "Failed to connect to 10.19.36.31: Network is unreachable"
Trying other mirror.
http://download.eng.bos.redhat.com/rcm-guest/puddles/CloudForms/4.6/latest/CFME/x86_64/os/repodata/repomd.xml: [Errno 14] curl#7 - "Failed to connect to 10.19.36.31: Network is unreachable"
Trying other mirror.
http://download.eng.bos.redhat.com/rcm-guest/puddles/CloudForms/4.6/latest/CFME/x86_64/os/repodata/repomd.xml: [Errno 14] curl#7 - "Failed to connect to 10.19.36.31: Network is unreachable"
Trying other mirror.
http://download.eng.bos.redhat.com/rcm-guest/puddles/CloudForms/4.6/latest/CFME/x86_64/os/repodata/repomd.xml: [Errno 14] curl#7 - "Failed to connect to 10.19.36.31: Network is unreachable"
Trying other mirror.
http://download.eng.bos.redhat.com/rcm-guest/puddles/CloudForms/4.6/latest/CFME/x86_64/os/repodata/repomd.xml: [Errno 14] curl#7 - "Failed to connect to 10.19.36.31: Network is unreachable"
Trying other mirror.
http://download.eng.bos.redhat.com/rcm-guest/puddles/CloudForms/4.6/latest/CFME/x86_64/os/repodata/repomd.xml: [Errno 14] curl#7 - "Failed to connect to 10.19.36.31: Network is unreachable"
Trying other mirror.
http://download.eng.bos.redhat.com/rcm-guest/puddles/CloudForms/4.6/latest/CFME/x86_64/os/repodata/repomd.xml: [Errno 14] curl#7 - "Failed to connect to 10.19.36.31: Network is unreachable"
Trying other mirror.
http://download.eng.bos.redhat.com/rcm-guest/puddles/CloudForms/4.6/latest/CFME/x86_64/os/repodata/repomd.xml: [Errno 14] curl#7 - "Failed to connect to 10.19.36.31: Network is unreachable"
Trying other mirror.
http://download.eng.bos.redhat.com/rcm-guest/puddles/CloudForms/4.6/latest/CFME/x86_64/os/repodata/repomd.xml: [Errno 14] curl#7 - "Failed to connect to 10.19.36.31: Network is unreachable"
Trying other mirror.
http://download.eng.bos.redhat.com/rcm-guest/puddles/CloudForms/4.6/latest/CFME/x86_64/os/Packages/cfme-5.9.0.19-1.el7cf.x86_64.rpm: [Errno 14] curl#7 - "Failed to connect to 10.19.36.31: Network is unreachable"
Trying other mirror.
http://download.eng.bos.redhat.com/rcm-guest/puddles/CloudForms/4.6/latest/CFME/x86_64/os/Packages/cfme-appliance-common-5.9.0.19-1.el7cf.x86_64.rpm: [Errno 14] curl#7 - "Failed to connect to 10.19.36.31: Network is unreachable"
Trying other mirror.
http://download.eng.bos.redhat.com/rcm-guest/puddles/CloudForms/4.6/latest/CFME/x86_64/os/Packages/cfme-appliance-5.9.0.19-1.el7cf.x86_64.rpm: [Errno 14] curl#7 - "Failed to connect to 10.19.36.31: Network is unreachable"
Trying other mirror.
http://download.eng.bos.redhat.com/rcm-guest/puddles/CloudForms/4.6/latest/CFME/x86_64/os/Packages/cfme-gemset-5.9.0.19-1.el7cf.x86_64.rpm: [Errno 14] curl#7 - "Failed to connect to 10.19.36.31: Network is unreachable"
Trying other mirror.
http://download.eng.bos.redhat.com/rcm-guest/puddles/CloudForms/4.6/latest/CFME/x86_64/os/Packages/cfme-5.9.0.19-1.el7cf.x86_64.rpm: [Errno 14] curl#7 - "Failed to connect to 10.19.36.31: Network is unreachable"
Trying other mirror.
http://download.eng.bos.redhat.com/rcm-guest/puddles/CloudForms/4.6/latest/CFME/x86_64/os/Packages/cfme-appliance-common-5.9.0.19-1.el7cf.x86_64.rpm: [Errno 14] curl#7 - "Failed to connect to 10.19.36.31: Network is unreachable"
Trying other mirror.
http://download.eng.bos.redhat.com/rcm-guest/puddles/CloudForms/4.6/latest/CFME/x86_64/os/Packages/cfme-appliance-5.9.0.19-1.el7cf.x86_64.rpm: [Errno 14] curl#7 - "Failed to connect to 10.19.36.31: Network is unreachable"
Trying other mirror.
http://download.eng.bos.redhat.com/rcm-guest/puddles/CloudForms/4.6/latest/CFME/x86_64/os/Packages/cfme-gemset-5.9.0.19-1.el7cf.x86_64.rpm: [Errno 14] curl#7 - "Failed to connect to 10.19.36.31: Network is unreachable"
Trying other mirror.
http://download.eng.bos.redhat.com/rcm-guest/puddles/CloudForms/4.6/latest/CFME/x86_64/os/Packages/cfme-5.9.0.19-1.el7cf.x86_64.rpm: [Errno 14] curl#7 - "Failed to connect to 10.19.36.31: Network is unreachable"
Trying other mirror.
http://download.eng.bos.redhat.com/rcm-guest/puddles/CloudForms/4.6/latest/CFME/x86_64/os/Packages/cfme-appliance-common-5.9.0.19-1.el7cf.x86_64.rpm: [Errno 14] curl#7 - "Failed to connect to 10.19.36.31: Network is unreachable"
Trying other mirror.
http://download.eng.bos.redhat.com/rcm-guest/puddles/CloudForms/4.6/latest/CFME/x86_64/os/Packages/cfme-appliance-5.9.0.19-1.el7cf.x86_64.rpm: [Errno 14] curl#7 - "Failed to connect to 10.19.36.31: Network is unreachable"
Trying other mirror.
http://download.eng.bos.redhat.com/rcm-guest/puddles/CloudForms/4.6/latest/CFME/x86_64/os/Packages/cfme-gemset-5.9.0.19-1.el7cf.x86_64.rpm: [Errno 14] curl#7 - "Failed to connect to 10.19.36.31: Network is unreachable"
Trying other mirror.
http://download.eng.bos.redhat.com/rcm-guest/puddles/CloudForms/4.6/latest/CFME/x86_64/os/Packages/cfme-5.9.0.19-1.el7cf.x86_64.rpm: [Errno 14] curl#7 - "Failed to connect to 10.19.36.31: Network is unreachable"
Trying other mirror.
http://download.eng.bos.redhat.com/rcm-guest/puddles/CloudForms/4.6/latest/CFME/x86_64/os/Packages/cfme-appliance-common-5.9.0.19-1.el7cf.x86_64.rpm: [Errno 14] curl#7 - "Failed to connect to 10.19.36.31: Network is unreachable"
Trying other mirror.
http://download.eng.bos.redhat.com/rcm-guest/puddles/CloudForms/4.6/latest/CFME/x86_64/os/Packages/cfme-appliance-5.9.0.19-1.el7cf.x86_64.rpm: [Errno 14] curl#7 - "Failed to connect to 10.19.36.31: Network is unreachable"
Trying other mirror.
http://download.eng.bos.redhat.com/rcm-guest/puddles/CloudForms/4.6/latest/CFME/x86_64/os/Packages/cfme-gemset-5.9.0.19-1.el7cf.x86_64.rpm: [Errno 14] curl#7 - "Failed to connect to 10.19.36.31: Network is unreachable"
Trying other mirror.
http://download.eng.bos.redhat.com/rcm-guest/puddles/CloudForms/4.6/latest/CFME/x86_64/os/Packages/cfme-5.9.0.19-1.el7cf.x86_64.rpm: [Errno 14] curl#7 - "Failed to connect to 10.19.36.31: Network is unreachable"
Trying other mirror.
http://download.eng.bos.redhat.com/rcm-guest/puddles/CloudForms/4.6/latest/CFME/x86_64/os/Packages/cfme-appliance-common-5.9.0.19-1.el7cf.x86_64.rpm: [Errno 14] curl#7 - "Failed to connect to 10.19.36.31: Network is unreachable"
Trying other mirror.
http://download.eng.bos.redhat.com/rcm-guest/puddles/CloudForms/4.6/latest/CFME/x86_64/os/Packages/cfme-appliance-5.9.0.19-1.el7cf.x86_64.rpm: [Errno 14] curl#7 - "Failed to connect to 10.19.36.31: Network is unreachable"
Trying other mirror.
http://download.eng.bos.redhat.com/rcm-guest/puddles/CloudForms/4.6/latest/CFME/x86_64/os/Packages/cfme-gemset-5.9.0.19-1.el7cf.x86_64.rpm: [Errno 14] curl#7 - "Failed to connect to 10.19.36.31: Network is unreachable"
Trying other mirror.
http://download.eng.bos.redhat.com/rcm-guest/puddles/CloudForms/4.6/latest/CFME/x86_64/os/Packages/cfme-5.9.0.19-1.el7cf.x86_64.rpm: [Errno 14] curl#7 - "Failed to connect to 10.19.36.31: Network is unreachable"
Trying other mirror.
http://download.eng.bos.redhat.com/rcm-guest/puddles/CloudForms/4.6/latest/CFME/x86_64/os/Packages/cfme-appliance-common-5.9.0.19-1.el7cf.x86_64.rpm: [Errno 14] curl#7 - "Failed to connect to 10.19.36.31: Network is unreachable"
Trying other mirror.
http://download.eng.bos.redhat.com/rcm-guest/puddles/CloudForms/4.6/latest/CFME/x86_64/os/Packages/cfme-appliance-5.9.0.19-1.el7cf.x86_64.rpm: [Errno 14] curl#7 - "Failed to connect to 10.19.36.31: Network is unreachable"
Trying other mirror.
http://download.eng.bos.redhat.com/rcm-guest/puddles/CloudForms/4.6/latest/CFME/x86_64/os/Packages/cfme-gemset-5.9.0.19-1.el7cf.x86_64.rpm: [Errno 14] curl#7 - "Failed to connect to 10.19.36.31: Network is unreachable"
Trying other mirror.
http://download.eng.bos.redhat.com/rcm-guest/puddles/CloudForms/4.6/latest/CFME/x86_64/os/Packages/cfme-5.9.0.19-1.el7cf.x86_64.rpm: [Errno 14] curl#7 - "Failed to connect to 10.19.36.31: Network is unreachable"
Trying other mirror.
http://download.eng.bos.redhat.com/rcm-guest/puddles/CloudForms/4.6/latest/CFME/x86_64/os/Packages/cfme-appliance-common-5.9.0.19-1.el7cf.x86_64.rpm: [Errno 14] curl#7 - "Failed to connect to 10.19.36.31: Network is unreachable"
Trying other mirror.
http://download.eng.bos.redhat.com/rcm-guest/puddles/CloudForms/4.6/latest/CFME/x86_64/os/Packages/cfme-appliance-5.9.0.19-1.el7cf.x86_64.rpm: [Errno 14] curl#7 - "Failed to connect to 10.19.36.31: Network is unreachable"
Trying other mirror.
http://download.eng.bos.redhat.com/rcm-guest/puddles/CloudForms/4.6/latest/CFME/x86_64/os/Packages/cfme-gemset-5.9.0.19-1.el7cf.x86_64.rpm: [Errno 14] curl#7 - "Failed to connect to 10.19.36.31: Network is unreachable"
Trying other mirror.
http://download.eng.bos.redhat.com/rcm-guest/puddles/CloudForms/4.6/latest/CFME/x86_64/os/Packages/cfme-5.9.0.19-1.el7cf.x86_64.rpm: [Errno 14] curl#7 - "Failed to connect to 10.19.36.31: Network is unreachable"
Trying other mirror.
http://download.eng.bos.redhat.com/rcm-guest/puddles/CloudForms/4.6/latest/CFME/x86_64/os/Packages/cfme-appliance-common-5.9.0.19-1.el7cf.x86_64.rpm: [Errno 14] curl#7 - "Failed to connect to 10.19.36.31: Network is unreachable"
Trying other mirror.
http://download.eng.bos.redhat.com/rcm-guest/puddles/CloudForms/4.6/latest/CFME/x86_64/os/Packages/cfme-appliance-5.9.0.19-1.el7cf.x86_64.rpm: [Errno 14] curl#7 - "Failed to connect to 10.19.36.31: Network is unreachable"
Trying other mirror.
http://download.eng.bos.redhat.com/rcm-guest/puddles/CloudForms/4.6/latest/CFME/x86_64/os/Packages/cfme-gemset-5.9.0.19-1.el7cf.x86_64.rpm: [Errno 14] curl#7 - "Failed to connect to 10.19.36.31: Network is unreachable"
Trying other mirror.
http://download.eng.bos.redhat.com/rcm-guest/puddles/CloudForms/4.6/latest/CFME/x86_64/os/Packages/cfme-5.9.0.19-1.el7cf.x86_64.rpm: [Errno 14] curl#7 - "Failed to connect to 10.19.36.31: Network is unreachable"
Trying other mirror.
http://download.eng.bos.redhat.com/rcm-guest/puddles/CloudForms/4.6/latest/CFME/x86_64/os/Packages/cfme-appliance-common-5.9.0.19-1.el7cf.x86_64.rpm: [Errno 14] curl#7 - "Failed to connect to 10.19.36.31: Network is unreachable"
Trying other mirror.
http://download.eng.bos.redhat.com/rcm-guest/puddles/CloudForms/4.6/latest/CFME/x86_64/os/Packages/cfme-appliance-5.9.0.19-1.el7cf.x86_64.rpm: [Errno 14] curl#7 - "Failed to connect to 10.19.36.31: Network is unreachable"
Trying other mirror.
http://download.eng.bos.redhat.com/rcm-guest/puddles/CloudForms/4.6/latest/CFME/x86_64/os/Packages/cfme-gemset-5.9.0.19-1.el7cf.x86_64.rpm: [Errno 14] curl#7 - "Failed to connect to 10.19.36.31: Network is unreachable"
Trying other mirror.
http://download.eng.bos.redhat.com/rcm-guest/puddles/CloudForms/4.6/latest/CFME/x86_64/os/Packages/cfme-5.9.0.19-1.el7cf.x86_64.rpm: [Errno 14] curl#7 - "Failed to connect to 10.19.36.31: Network is unreachable"
Trying other mirror.
http://download.eng.bos.redhat.com/rcm-guest/puddles/CloudForms/4.6/latest/CFME/x86_64/os/Packages/cfme-appliance-common-5.9.0.19-1.el7cf.x86_64.rpm: [Errno 14] curl#7 - "Failed to connect to 10.19.36.31: Network is unreachable"
Trying other mirror.
http://download.eng.bos.redhat.com/rcm-guest/puddles/CloudForms/4.6/latest/CFME/x86_64/os/Packages/cfme-appliance-5.9.0.19-1.el7cf.x86_64.rpm: [Errno 14] curl#7 - "Failed to connect to 10.19.36.31: Network is unreachable"
Trying other mirror.
http://download.eng.bos.redhat.com/rcm-guest/puddles/CloudForms/4.6/latest/CFME/x86_64/os/Packages/cfme-gemset-5.9.0.19-1.el7cf.x86_64.rpm: [Errno 14] curl#7 - "Failed to connect to 10.19.36.31: Network is unreachable"
Trying other mirror.


Error downloading packages:
  cfme-appliance-common-5.9.0.19-1.el7cf.x86_64: [Errno 256] No more mirrors to try.
  cfme-appliance-5.9.0.19-1.el7cf.x86_64: [Errno 256] No more mirrors to try.
  cfme-gemset-5.9.0.19-1.el7cf.x86_64: [Errno 256] No more mirrors to try.
  cfme-5.9.0.19-1.el7cf.x86_64: [Errno 256] No more mirrors to try.

Comment 9 luke couzens 2018-02-05 15:39:47 UTC
Hey Brandon, I took another look at this. 

Seems we had a network failure on Friday and it caused the proxy server to fall over. I just ran yum update again now and its working correctly.

http://pastebin.test.redhat.com/552831

I checked the proxy logs when running yum update and running check for updates through the UI, we only see traffic for yum update. Definitely seems like the UI is not using the proxy settings correctly.

heres the logs from proxy these lines are all from yum update
http://pastebin.test.redhat.com/552832

If I run yum clean all on the appliance and then check for updates through the UI you see the errors in the evm.log with failure to connect, see here.
http://pastebin.test.redhat.com/552839

I am also seeing the same issues in 5.8.3.2

Comment 11 CFME Bot 2018-02-08 22:26:50 UTC
New commit detected on ManageIQ/manageiq/master:
https://github.com/ManageIQ/manageiq/commit/5798d83abcf15d099dc04135cc4a61c66209e881

commit 5798d83abcf15d099dc04135cc4a61c66209e881
Author:     Brandon Dunne <brandondunne>
AuthorDate: Thu Feb 8 11:11:47 2018 -0500
Commit:     Brandon Dunne <brandondunne>
CommitDate: Thu Feb 8 11:11:47 2018 -0500

    Configure yum proxy if given for updates
    
    https://bugzilla.redhat.com/show_bug.cgi?id=1540550

 app/models/miq_server/update_management.rb       | 11 ++++++++
 spec/models/miq_server/update_management_spec.rb | 35 ++++++++++++++++++++++++
 2 files changed, 46 insertions(+)

Comment 12 luke couzens 2018-02-23 11:17:02 UTC
This is also a problem in 5.8.3.4 not sure if it should be back ported there too.

Comment 13 Brandon Dunne 2018-02-23 14:15:20 UTC
I marked the PR yes for gaprindashvili, fine and euwe, so it should get backported.

Comment 17 luke couzens 2018-06-19 10:21:49 UTC
Verified in 5.10