IPv6 address for power control fails

Bug #1881948 reported by Stéphane Graber
8
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:b0f8:1020:225:90ff:feef:ff31" but then promptly failed as MAAS tried to turn this into a URL and failed miserably.

Error: No connection adapters were found for '2001://470:b0f8:1020:225:90ff:feef:ff31:8443/1.0'

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

Lee Trager (ltrager)
Changed in maas:
milestone: none → 2.8.0rc1
status: New → Triaged
importance: Undecided → High
Revision history for this message
Lee Trager (ltrager) wrote :

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.

Alberto Donato (ack)
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.
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.