DHCP value in machine interface details shows template code

Bug #1845613 reported by Alberto Donato
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
MAAS
Fix Released
High
Unassigned

Bug Description

After manually creating a machine via the UI, going to the machine details on the network tab I see the following value for the interface DHCP column: {$ getDHCPStatus(interface.vlan) $}

This seems to be coming straight from the template.

It doesn't happen for a machine composed from a KVM pod.

To reproduce, just add a machine with a random mac address and manual power type.

Tags: ui

Related branches

Alberto Donato (ack)
summary: - DHCP value in machine interface details show JS code
+ DHCP value in machine interface details show template code
summary: - DHCP value in machine interface details show template code
+ DHCP value in machine interface details shows template code
Revision history for this message
Alberto Donato (ack) wrote :

Not sure if related, but I see repeated "TypeError: Cannot read property 'external_dhcp' of null" errors in the console on the network tab with this configuration

Changed in maas:
status: New → Triaged
importance: Undecided → High
assignee: nobody → Steve Rydz (steverydz)
milestone: none → 2.7.0alpha1
Revision history for this message
Alberto Donato (ack) wrote :

This happens when an interface is disconnected from any fabric.

Changed in maas:
status: Triaged → Fix Committed
Steve Rydz (steverydz)
Changed in maas:
assignee: Steve Rydz (steverydz) → nobody
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.