Commissioning fails if use_rack_proxy is False

Bug #1938816 reported by Björn Tillenius
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
MAAS
Fix Released
High
Björn Tillenius

Bug Description

With current master, 0352fa02b20c9e3cacce8ecdaf87645bfbe51d44, it's not possible to commission machines if the use_rack_proxy config option is set to False.

The reason is that 0e490fcb9406125e479107eee8a2c3356a4ab01f made the commissoning script download the resource binary from MAAS_BASE_URL, instead of getting it from the place where the image was downloaded from.

The problem is that MAAS_BASE_URL points to the metadata endpoint. If use_rack_proxy is True, it will point to the rack, and if it's False, it will point to the region. But the resource binary is only available from the rack.

Related branches

Changed in maas:
status: New → Triaged
importance: Undecided → High
Changed in maas:
status: Triaged → In Progress
assignee: nobody → Björn Tillenius (bjornt)
Changed in maas:
milestone: none → next
status: In Progress → Fix Committed
Bill Wear (billwear)
Changed in maas:
milestone: next → 3.1.0-beta1
Bill Wear (billwear)
Changed in maas:
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.