Bug 1559019
| Summary: | CloudForms appliance is ignoring azure proxy settings in advanced tab. | ||||||||
|---|---|---|---|---|---|---|---|---|---|
| Product: | Red Hat CloudForms Management Engine | Reporter: | Justin Burdine <jburdine> | ||||||
| Component: | Providers | Assignee: | Daniel Berger <dberger> | ||||||
| Status: | CLOSED CURRENTRELEASE | QA Contact: | Brandon Squizzato <bsquizza> | ||||||
| Severity: | high | Docs Contact: | |||||||
| Priority: | high | ||||||||
| Version: | 5.9.0 | CC: | bsquizza, cpelland, dluong, gblomqui, jburdine, jfrey, jhardy, jocarter, mslemr, obarenbo | ||||||
| Target Milestone: | GA | Keywords: | TestOnly, ZStream | ||||||
| Target Release: | 5.10.0 | ||||||||
| Hardware: | All | ||||||||
| OS: | All | ||||||||
| Whiteboard: | |||||||||
| Fixed In Version: | 5.10.0.0 | Doc Type: | If docs needed, set a value | ||||||
| Doc Text: | Story Points: | --- | |||||||
| Clone Of: | |||||||||
| : | 1563268 (view as bug list) | Environment: | |||||||
| Last Closed: | 2019-02-11 14:07:23 UTC | Type: | Bug | ||||||
| Regression: | --- | Mount Type: | --- | ||||||
| Documentation: | --- | CRM: | |||||||
| Verified Versions: | Category: | --- | |||||||
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |||||||
| Cloudforms Team: | Azure | Target Upstream Version: | |||||||
| Embargoed: | |||||||||
| Bug Depends On: | |||||||||
| Bug Blocks: | 1563268 | ||||||||
| Attachments: |
|
||||||||
|
Comment 5
Justin Burdine
2018-03-22 18:44:12 UTC
I cannot duplicate this locally on master. I created a local TLSv1 authenticating proxy using WEBrick on port 8080, fired up a local instance of cloudforms and adjusted the settings to point at it. I can see the traffic going through the proxy without issue. I'll try on 5.9.022 next. In the meantime, can you provide more information about the proxy itself. Is it authenticating? What port is it using? What are the SSL settings on it, if any? I also tried 5.9.0.22, but was not able to replicate the issue. The proxy worked as expected. Hi Daniel, For my testing purposes (trying to replicate what the client is seeing) I'm using Squid, without any encryption. When I'm on 5.9.0.22 I can see Amazon EC2 provider going through the proxy (using default proxy entry), however when I set the azure specific proxy entry, I don't see any traffic for Azure. I'll reach out to the customer and ask for specifics on their proxy. New commit detected on ManageIQ/manageiq/master: https://github.com/ManageIQ/manageiq/commit/b6d05345bd2820316215fdee8a8777f109495903 commit b6d05345bd2820316215fdee8a8777f109495903 Author: Martin Slemr <mslemr> AuthorDate: Wed Mar 28 06:18:57 2018 -0400 Commit: Martin Slemr <mslemr> CommitDate: Wed Mar 28 06:18:57 2018 -0400 Makes http_proxy_uri class method Instance method uses new class method, which is needed by provider validation. Fixes https://bugzilla.redhat.com/show_bug.cgi?id=1552114 Fixes https://bugzilla.redhat.com/show_bug.cgi?id=1559019 app/models/manageiq/providers/base_manager.rb | 6 +- 1 file changed, 5 insertions(+), 1 deletion(-) Back to ON_DEV, there will be 2nd PR customer's specifics on their proxy server: Software: BlueCoat appliances Port: 8080 is what’s configured in the desktop environment, however we also tried just using 443. We used 443 after finding the proxyserver worked when we set it in the UI for redhat updates. I’ve attached two screen shots. Shows the error we are getting now the other shows the proxy configuration in the advanced tab Created attachment 1414885 [details]
Error we are currently getting
Created attachment 1414886 [details]
Customer's advance tab settings
New commit detected on ManageIQ/manageiq-ui-classic/master: https://github.com/ManageIQ/manageiq-ui-classic/commit/a7c478ed01008fcc59f5082ce3342a5d97bfde6f commit a7c478ed01008fcc59f5082ce3342a5d97bfde6f Author: Martin Slemr <mslemr> AuthorDate: Wed Mar 28 06:23:09 2018 -0400 Commit: Martin Slemr <mslemr> CommitDate: Wed Mar 28 06:23:09 2018 -0400 Validation of new provider with proxy Validation of new Amazon,Azure,Google provider take care of http_proxy settings. Fixes https://bugzilla.redhat.com/show_bug.cgi?id=1552114 Fixes https://bugzilla.redhat.com/show_bug.cgi?id=1559019 app/controllers/mixins/ems_common_angular.rb | 6 +- 1 file changed, 3 insertions(+), 3 deletions(-) Verified on 5.10.0.4 Set up mitmproxy, ensured CFME->azure traffic is being routed through the proxy for these configurations: 1) azure proxy defined, no default proxy defined 2) azure proxy defined, default proxy defined w/ a bogus IP 3) no azure proxy defined, only default proxy defined Works for all 3 cases. |