LXD REST API connection goes via proxy
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
MAAS |
Fix Released
|
Medium
|
Adam Collard |
Bug Description
When MAAS talks to LXD it does so over a HTTP(S) connection using pylxd.
pylxd in turn uses requests to talk HTTP, which will respect os.environ[
This can be seen e.g. in systemtests
- Marking node failed: Power on for the node failed: Failed talking to node's BMC: Pod mg8atc: Failed to connect to the LXD REST API: HTTPSConnection
Related branches
- Alexsander de Souza: Approve
- MAAS Lander: Approve
-
Diff: 71 lines (+17/-0)3 files modifiedsrc/provisioningserver/drivers/pod/lxd.py (+2/-0)
src/provisioningserver/drivers/pod/tests/test_lxd.py (+14/-0)
utilities/check-imports (+1/-0)
Changed in maas: | |
status: | New → In Progress |
assignee: | nobody → Adam Collard (adam-collard) |
importance: | Undecided → Medium |
milestone: | none → 3.4.0 |
Changed in maas: | |
status: | In Progress → Fix Committed |
Changed in maas: | |
milestone: | 3.4.0 → 3.4.0-beta1 |
Changed in maas: | |
status: | Fix Committed → Fix Released |