Action "synchronize" ignores no_proxy env vars when calling sstream-mirror

Bug #1966193 reported by Przemyslaw Lal
12
This bug affects 2 people
Affects Status Importance Assigned to Milestone
charm-simple-streams
Fix Released
Undecided
Robert Gildein

Bug Description

In _on_synchronize_action method in charm.py lines 77-80 the code propagates http and https proxy env variables, but ignores no_proxy. This results in sstream-mirror always hitting proxy server which breaks the "synchronize" action when image-source is included in no_proxy value.

Possible workaround is to comment out lines 77-80 so that ignores proxy settings completely, but the proper long-term solution would be to correctly propagate no_proxy variable.

description: updated
Changed in charm-simple-streams:
status: New → Confirmed
Changed in charm-simple-streams:
status: Confirmed → In Progress
assignee: nobody → Robert Gildein (rgildein)
milestone: none → 22.10
Revision history for this message
Robert Gildein (rgildein) wrote :
Changed in charm-simple-streams:
status: In Progress → Fix Committed
Changed in charm-simple-streams:
status: Fix Committed → Fix Released
Eric Chen (eric-chen)
Changed in charm-simple-streams:
status: Fix Released → Fix Committed
Changed in charm-simple-streams:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.