proxy is not used in ephemeral or commissioning

Bug #1066020 reported by Scott Moser
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
MAAS
Fix Released
High
Raphaël Badin
1.2
Fix Released
Undecided
Unassigned

Bug Description

the apt proxy is not sent down to either ephemeral environment or commissioning environment.

ephemeral is as easy as un-commenting the line in the template (preseeds/enlist_userdata):
apt_proxy: http://{{server_host}}:8000/

commissioning is more tricky as we dont have any rendered content there at all.
We should change the way we build that user-data so we can have a cloud-config part htat does this.
(which would also help with commissioning scripts).

Tags: feature

Related branches

Changed in maas:
status: New → Triaged
importance: Undecided → High
Revision history for this message
Scott Moser (smoser) wrote :

Just for conveience of people hitting this, here is a patch demonstrating what you can do to a running maas to get this fixed.
I'd like to re-work how commissioning rendering is done, and clearly we have to have access to some variables such as the squid proxy to do this correctly.

However, see the stop gap fix here.

Revision history for this message
Scott Moser (smoser) wrote :
Changed in maas:
assignee: nobody → Raphaël Badin (rvb)
tags: added: feature
Raphaël Badin (rvb)
Changed in maas:
status: Triaged → Fix Committed
Changed in maas:
status: Fix Committed → Fix Released
Revision history for this message
Scott Moser (smoser) wrote :

I've opened bug 1116331.
The changes here did not address the original intent of this bug.
proxy is still not used in ephemeral or commissioning.

Revision history for this message
Ricardo Bánffy (rbanffy) wrote :

I am assuming this was fixed since then

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.