cloud-config-url fails to parse if booting over PXE ipv6
Bug #2045020 reported by
Federico Bosi
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
MAAS |
Fix Released
|
High
|
Jacopo Rota |
Bug Description
On MAAS 3.4-RC1, I configured a subnet my:prefix:141::/80.
The rack controller has address my:prefix:
MAAS correctly hands out DHCPv6 addresses but when the image boots, the cloud-config-url kernel parameter has the rack's ip without square brackets (see attachment) and fails saying it cannot parse the url as the added port makes in invalid.
The host then fails to enlist saying that no datasource can be found.
If in the custom kernel parameters I override it by adding
`cloud-config-url="http://[my:prefix:
Related branches
~r00ta/maas:lp-2045020-preseed-ipv6
Merged
into
maas:master
- MAAS Lander: Approve
- Anton Troyanov: Approve
-
Diff: 127 lines (+44/-16)2 files modifiedsrc/maasserver/rpc/boot.py (+6/-1)
src/maasserver/rpc/tests/test_boot.py (+38/-15)
description: | updated |
Changed in maas: | |
assignee: | nobody → Jacopo Rota (r00ta) |
Changed in maas: | |
status: | Triaged → Fix Committed |
Changed in maas: | |
milestone: | 3.5.0 → 3.5.0-beta1 |
Changed in maas: | |
status: | Fix Committed → Fix Released |
To post a comment you must log in.
Hi Federico,
Thanks for reporting this. I'll take a look and get back to you by the end of the day