Bug #18219

Unable to sync Atomic Host Tree via proxy

Added by Thomas McKay 3 months ago. Updated 3 months ago.

Status:New
Priority:Normal
Assigned To:Partha Aji
Category:Installer
Target version:Team Tom - iteration 10
Difficulty: Pull request:
Bugzilla link:1332395
Story points-
Velocity based estimate-
ReleaseBacklogRelease relationshipAuto

Description

Cloned from https://bugzilla.redhat.com/show_bug.cgi?id=1332395

What problem/issue/behavior are you having trouble with? What do you expect to see?

Attempts to sync the Red Hat Enterprise Linux Atomic Host Trees (OSTree) product fail due to unreachable host.
On investigation, the katello server is attempting to connect directly to the upstream source rather than use the configured http proxy. Direct connections in our customer environment are denied - we MUST use the proxy.
RPM repo content mirroring is working correctly via the proxy.

root@sat62[~] # tcpdump -i eth0 -nn '( port 443 && ! host workstation1.example.org )'
tcpdump: verbose output suppressed, use -v or -vv for full protocol decode
listening on eth0, link-type EN10MB (Ethernet), capture size 65535 bytes
09:29:03.657432 IP 192.168.1.1.37341 > 173.223.172.251.443: Flags [S], seq 2436475307, win 29200, options [mss 1460,sackOK,TS val 66920754 ecr 0,nop,wscale 7], length 0
09:29:03.665083 IP 192.168.1.1.37342 > 173.223.172.251.443: Flags [S], seq 2641366363, win 29200, options [mss 1460,sackOK,TS val 66920762 ecr 0,nop,wscale 7], length 0
09:29:04.666625 IP 192.168.1.1.37342 > 173.223.172.251.443: Flags [S], seq 2641366363, win 29200, options [mss 1460,sackOK,TS val 66921764 ecr 0,nop,wscale 7], length 0

root@sat62[~] # host 173.223.172.251
251.172.223.173.in-addr.arpa domain name pointer a173-223-172-251.deploy.static.akamaitechnologies.com.

Where are you experiencing the behavior? What environment?

OSTree sync should use configured http proxy settings.

When does the behavior occur? Frequently? Repeatedly? At certain times?

100% reproducible.

What information can you provide around timeframes and urgency?

Proxy configured as per Installation guide:
foreman-installer --katello-proxy-url=http://proxy.example.org --katello-proxy-port=8080

Setting $http_proxy and $https_proxy environment variables did not change behavior.

#Note proxy works with cdn but not with ostree

History

#1 Updated by Thomas McKay 3 months ago

  • Subject changed from Unable to sync Atomic Host Tree via proxy to Unable to sync Atomic Host Tree via proxy
  • Target version set to Team Tom - iteration 10

#2 Updated by Justin Sherrill 3 months ago

  • Release set to Backlog

Also available in: Atom PDF