Cannot edit physical interface in gui
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
MAAS |
Fix Released
|
High
|
Caleb Ellis | ||
2.7 |
Fix Released
|
Undecided
|
Unassigned | ||
maas-ui |
Fix Released
|
Unknown
|
Bug Description
I have a new maas server and newly added machine. I was attempting to modify the physical network interfaces and set them to static IPs via the gui, but I could not change any part of the devices. In the gui I received the error "tags: Item 0 in the array did not validate: This field cannot be null." This is the case when the machine is in the NEW or READY or ALLOCATED states.
I have tried deleting the machine and adding it again via PXE, and the result is the same for both interfaces. I can add an additional vlan interface successfully or disconnect/
Using the cli, I was eventually able to set the ip mode to DHCP using this command. I did have to use force=True, otherwise it just added a new eth1.1 alias with the config.
sudo maas admin interface link-subnet td8t43 eth1 mode=DHCP subnet=
Steps to reproduce:
1. Add new machine via pxe
2. while it is in the NEW state, attempt to update the net config in the gui to use a static or dhcp IP and save.
3. Note the error.
4. Commission the machine
5. Again, attempt to update the net config. Note the error.
Expected behavior:
I should be able to change the network settings of the physical device using the gui.
I don't know if this is related, but I have specificed kernel parameters "net.ifnames=0 biosdevname=0" in order to use old style network names. I also have a fabric with an untagged vlan for the private network and a vlan for the public. I have also previously worked with this machine using maas 2.3 and the same network, and did not have any similar issues.
I'm using a snap install.
maas 2.7.0-8233-
maas-cli 0.6.5 13 stable canonical
Stack trace from regiond.log for the gui errors is attached, and mildly redacted fabric, subnet and interface configs from cli (from before I set the mode with the cli). This stack trace is identical no matter what the attempted change was.
tags: | added: ui |
Changed in maas: | |
status: | New → Triaged |
importance: | Undecided → High |
Changed in maas-ui: | |
status: | Unknown → New |
Changed in maas: | |
status: | Triaged → In Progress |
assignee: | nobody → Caleb Ellis (caleb-ellis) |
milestone: | none → 2.8.0rc1 |
Changed in maas-ui: | |
status: | New → Fix Released |
Changed in maas: | |
milestone: | 2.8.0b3 → 2.8.0rc1 |
Changed in maas: | |
status: | In Progress → Fix Committed |
Changed in maas: | |
status: | Fix Committed → Fix Released |
I am seeing the same problem when trying to edit an interface for a recently commissioned machine. The stack trace from the reporter is the same for me as well.
Running maas 2.7.0-8232- g.6e1dba4ab- 0ubuntu1~ 18.04.1 from the ubuntu PPA http:// ppa.launchpad. net/maas/ 2.7/ubuntu