[2.0b8] node network settings revert after failed bootstrap
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
MAAS |
Invalid
|
Undecided
|
Unassigned |
Bug Description
I setup a new MAAS cluster (2.0.0-beta8), and attempted a juju (2.0.0-beta10) bootstrap:
ubuntu@maas:~$ juju bootstrap maas-controller maas
Creating Juju controller "maas-controller" on maas
Bootstrapping model "controller"
Starting new instance for initial controller
Launching instance
WARNING no architecture was specified, acquiring an arbitrary node
ERROR failed to bootstrap model: cannot start bootstrap instance: unexpected: ServerError: 400 BAD REQUEST ({"network": ["Node must be configured to use a network"]})
I inspected the node in the MAAS UI, found that all the interfaces were set to "Unconfigured", so I reconfigured one of the interfaces as "Auto assign". I then re-attempted the bootstrap, which failed do to a timeout. After juju released the node, I discovered that the network changes had reverted.
I posted a reproduction video here:
https:/
summary: |
- node network settings revert after failed bootstrap + [2.0b8] node network settings revert after failed bootstrap |
ubuntu@maas:~$ dpkg -l '*maas*'|cat Unknown/ Install/ Remove/ Purge/Hold Not/Inst/ Conf-files/ Unpacked/ halF-conf/ Half-inst/ trig-aWait/ Trig-pend /Reinst- required (Status,Err: uppercase=bad) ======= ======= ======= ======= -====== ======= ======= ======= ======= ==-==== ======= =-===== ======= ======= ======= ======= ======= ======= == bzr5134- 0ubuntu1~ xenial1 all "Metal as a Service" is a physical cloud and IPAM bzr5134- 0ubuntu1~ xenial1 all MAAS client and command-line interface controller <none> <none> (no description available) bzr5134- 0ubuntu1~ xenial1 all MAAS server common files bzr5134- 0ubuntu1~ xenial1 all MAAS DHCP server bzr5134- 0ubuntu1~ xenial1 all MAAS DNS server bzr5134- 0ubuntu1~ xenial1 all MAAS Caching Proxy controller 2.0.0~beta8+ bzr5134- 0ubuntu1~ xenial1 all Rack Controller for MAAS bzr5134- 0ubuntu1~ xenial1 all Region controller API service for MAAS controller 2.0.0~beta8+ bzr5134- 0ubuntu1~ xenial1 all Region Controller for MAAS controller- min <none> <none> (no description available) maas-provisioni ngserver <none> <none> (no description available) bzr5134- 0ubuntu1~ xenial1 all MAAS server Django web framework (Python 3) bzr5134- 0ubuntu1~ xenial1 all MAAS python API client (Python 3) maas-provisioni ngserver 2.0.0~beta8+ bzr5134- 0ubuntu1~ xenial1 all MAAS server provisioning libraries (Python 3)
Desired=
| Status=
|/ Err?=(none)
||/ Name Version Architecture Description
+++-===
ii maas 2.0.0~beta8+
ii maas-cli 2.0.0~beta8+
un maas-cluster-
ii maas-common 2.0.0~beta8+
ii maas-dhcp 2.0.0~beta8+
ii maas-dns 2.0.0~beta8+
ii maas-proxy 2.0.0~beta8+
ii maas-rack-
ii maas-region-api 2.0.0~beta8+
ii maas-region-
un maas-region-
un python-django-maas <none> <none> (no description available)
un python-maas-client <none> <none> (no description available)
un python-
ii python3-django-maas 2.0.0~beta8+
ii python3-maas-client 2.0.0~beta8+
ii python3-