IPv6 address for power control fails
Bug #1881948 reported by
Stéphane Graber
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
MAAS |
Fix Released
|
High
|
Jack Lloyd-Walters |
Bug Description
Most of my systems don't have an IPv4 address, so I tried configuring a VM on a LXD host, selecting the LXD power control and entering the IPv6 address of the host as its address.
This was accepted by MAAS setting it to "2001:470:
Error: No connection adapters were found for '2001:/
Looks like MAAS ought to detect that this is an IPv6 address and then properly put it in between square brackets when generating a URL.
Related branches
~lloydwaltersj/maas:ipv6-address-fail
Merged
into
maas:master
- MAAS Lander: Approve
- Anton Troyanov: Approve
-
Diff: 35 lines (+8/-0)2 files modifiedsrc/maasserver/tests/test_vmhost.py (+2/-0)
src/maasserver/vmhost.py (+6/-0)
Changed in maas: | |
milestone: | none → 2.8.0rc1 |
status: | New → Triaged |
importance: | Undecided → High |
Changed in maas: | |
milestone: | 2.8.0rc1 → 2.8.0 |
Changed in maas: | |
milestone: | 2.8.0 → none |
Changed in maas: | |
assignee: | nobody → Jack Lloyd-Walters (lloydwaltersj) |
Changed in maas: | |
status: | Triaged → In Progress |
Changed in maas: | |
milestone: | none → 3.3.0 |
Changed in maas: | |
status: | In Progress → Fix Committed |
Changed in maas: | |
milestone: | 3.3.0 → 3.3.0-beta1 |
Changed in maas: | |
status: | Fix Committed → Fix Released |
To post a comment you must log in.
Note I suspect this is the case for all power drivers. MAAS determines which rack controller to proxy BMC commands through based on the IP address. It appears that code was never updated to support IPv6.