Bug 1549625 - webui updates failing when a proxy is required
Summary: webui updates failing when a proxy is required
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat CloudForms Management Engine
Classification: Red Hat
Component: Appliance
Version: 5.9.0
Hardware: Unspecified
OS: Unspecified
high
high
Target Milestone: GA
: 5.9.2
Assignee: Brandon Dunne
QA Contact: luke couzens
URL:
Whiteboard: webui:upgrade
Depends On: 1540550
Blocks:
TreeView+ depends on / blocked
 
Reported: 2018-02-27 14:08 UTC by Satoe Imaishi
Modified: 2022-07-09 09:29 UTC (History)
7 users (show)

Fixed In Version: 5.9.2.0
Doc Type: If docs needed, set a value
Doc Text:
Clone Of: 1540550
Environment:
Last Closed: 2018-05-07 20:42:43 UTC
Category: ---
Cloudforms Team: CFME Core
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHSA-2018:1328 0 None None None 2018-05-07 20:43:06 UTC

Comment 2 CFME Bot 2018-03-07 18:31:53 UTC
New commit detected on ManageIQ/manageiq/gaprindashvili:

https://github.com/ManageIQ/manageiq/commit/e1e13c8d8389a81337f5471da921d5ae64697bb1
commit e1e13c8d8389a81337f5471da921d5ae64697bb1
Author:     Nick Carboni <ncarboni>
AuthorDate: Thu Feb  8 17:19:55 2018 -0500
Commit:     Nick Carboni <ncarboni>
CommitDate: Thu Feb  8 17:19:55 2018 -0500

    Merge pull request #16972 from bdunne/configure_proxy_info_for_yum_updates

    Configure yum proxy if given for updates
    (cherry picked from commit 58a6e5645ac73ec5a6942bf97cdb56977f5fa5c4)

    https://bugzilla.redhat.com/show_bug.cgi?id=1549625

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

Comment 3 luke couzens 2018-04-20 11:27:14 UTC
I don't believe this is working correctly. I added the rhsm settings and proxy info to the ui but check/updating the appliance still fails. Checking the file from the PR /etc/yum.conf I see no proxy info has been added. If I manually add the settings to this file it works as expected. Pushing back to on dev.

Comment 6 Brandon Dunne 2018-04-25 20:48:56 UTC
Hi Luke,  Do you have an appliance to test this on?  I don't have a proxy anywhere to test locally.  I see that the code is in 5.9.2.0, so I would expect it to work.  Did you select the server and click register first?  The proxy information is written to the config file during the registration process.

Comment 7 luke couzens 2018-04-26 12:10:25 UTC
Hi Brandon,

I didn't realize registration was required to add the proxy info to yum.conf

I just tested this again on 5.9.2.3 and it indeed seems to work correctly if you hit register first. Thanks for this info, Moving bug to verified.

Verified in 5.9.2.3

Comment 10 errata-xmlrpc 2018-05-07 20:42:43 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory, and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

https://access.redhat.com/errata/RHSA-2018:1328


Note You need to log in before you can comment on or make changes to this bug.