swift-storage should always assume noproxy for swift-proxy's IP

Bug #1401666 reported by Ante Karamatić
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
OpenStack Swift Storage Charm
Triaged
Medium
Unassigned
swift-storage (Juju Charms Collection)
Invalid
Medium
Unassigned

Bug Description

In an environment where proxy for http exists, adding relation between swift-storage (SS) and swift-proxy (SP) will fail.

What happens is that juju provides http_proxy and no-proxy options to SS, which then uses that when it wgets rings from SP. Since SP's IP is not in no-proxy variable, wget might fail, depending on http proxy's configuration (it could be set to proxy only external requests). This can be fixed by adding SP's IP into juju's no-proxy variable. But, the problem is that IP might be unknown until SP is deployed. This is easy to solve when VIP for SP is known before deploying.

Ideally, SS would always append SP's VIP and SP's IP to no-proxy provided by juju.

Tags: cts
Ante Karamatić (ivoks)
tags: added: cts
description: updated
Revision history for this message
James Page (james-page) wrote :

Ideally we'd not proxy traffic for any IP that resides within the deployment but I think that's beyond the scope of what we should be doing in the charm.

Revision history for this message
James Page (james-page) wrote :

Hmm or does it do that already?

Changed in swift-storage (Juju Charms Collection):
importance: Undecided → Medium
status: New → Opinion
status: Opinion → Triaged
Revision history for this message
James Page (james-page) wrote :

Marking as Triaged as I can see exactly how this would be an issue; the VIP is unknown to Juju so won't automatically get added to anything.

James Page (james-page)
Changed in charm-swift-storage:
importance: Undecided → Medium
status: New → Triaged
Changed in swift-storage (Juju Charms Collection):
status: Triaged → Invalid
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.