[2.6] Machine doesn't transition to deployed state with bonds/bridges on pxe interface
Bug #1817931 reported by
Andres Rodriguez
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
MAAS |
Fix Released
|
Critical
|
Blake Rouse |
Bug Description
Deploying a machine with bonds or bridges in the PXE interface doesn't transition to deployed.
The machine boots locally but it never transitions to deployed.
Related branches
~blake-rouse/maas:fix-1817931
Merged
into
maas:master
- Andres Rodriguez (community): Approve
-
Diff: 522 lines (+133/-90)3 files modifiedsrc/maasserver/monkey.py (+14/-0)
src/maasserver/preseed_network.py (+16/-14)
src/maasserver/tests/test_preseed_network.py (+103/-76)
Changed in maas: | |
milestone: | none → 2.6.0 |
Changed in maas: | |
assignee: | nobody → Blake Rouse (blake-rouse) |
importance: | Undecided → Critical |
Changed in maas: | |
status: | New → In Progress |
Changed in maas: | |
status: | In Progress → Fix Committed |
Changed in maas: | |
milestone: | 2.6.0 → 2.6.0alpha1 |
Changed in maas: | |
status: | Fix Committed → Fix Released |
To post a comment you must log in.
The real issue it seems is that the netplan we are sending in 2.6 is incorrect.
[ 3.336953] cloud-init[376]: Cloud-init v. 18.4-0ubuntu1~ 18.04.1 running 'init-local' at Thu, 28 Feb 2019 19:18:30 +0000. Up 3.17 seconds. py[WARNING] : failed posting event: start: init-local/ check-cache: attempting to read from cache [trust] py[WARNING] : failed posting event: finish: init-local/ check-cache: SUCCESS: no cache found ------- ------- ------- ------- ------- ------- ------- ---- python3/ dist-packages/ cloudinit/ cmd/main. py", line 323, in main_init existing= existing) python3/ dist-packages/ cloudinit/ stages. py", line 351, in fetch data_source( existing= existing) python3/ dist-packages/ cloudinit/ stages. py", line 261, in _get_data_source python3/ dist-packages/ cloudinit/ sources/ __init_ _.py", line 677, in find_source undException( msg) sources. DataSourceNotFo undException: Did not find any data source, searched classes: () python3/ dist-packages/ cloudinit/ cmd/main. py", line 658, in status_wrapper python3/ dist-packages/ cloudinit/ cmd/main. py", line 341, in main_init network_ config( bring_up= not args.local) python3/ dist-packages/ cloudinit/ stages. py", line 671, in apply_network_ config apply_network_ config( netcfg, bring_up=bring_up) python3/ dist-packages/ cloudinit/ distros/ __init_ _.py", line 178, in apply_network_ config network_ config( netconfig) python3/ dist-packages/ cloudinit/ distros/ debian. py", line 114, in _write_ network_ config _write_ network_ config( netconfig) python3/ dist-packages/ cloudinit/ distros/ __init_ _.py", line 93, in _su...
[ 3.338380] cloud-init[376]: 2019-02-28 19:18:30,921 - handlers.
[ 3.345315] cloud-init[376]: 2019-02-28 19:18:30,930 - handlers.
[ OK ] Listening on Load/Save RF Kill Switch Status /dev/rfkill Watch.
[ 3.653366] cloud-init[376]: 2019-02-28 19:18:31,241 - util.py[WARNING]: failed stage init-local
[ 3.672269] cloud-init[376]: failed run of stage init-local
[ 3.673103] cloud-init[376]: -------
[ 3.674119] cloud-init[376]: Traceback (most recent call last):
[ 3.674956] cloud-init[376]: File "/usr/lib/
[ 3.680227] cloud-init[376]: init.fetch(
[ 3.683134] cloud-init[376]: File "/usr/lib/
[ 3.689217] cloud-init[376]: return self._get_
[ 3.692494] cloud-init[376]: File "/usr/lib/
[ 3.696974] cloud-init[376]: pkg_list, self.reporter)
[ 3.700725] cloud-init[376]: File "/usr/lib/
[ 3.708092] cloud-init[376]: raise DataSourceNotFo
[ 3.713043] cloud-init[376]: cloudinit.
[ 3.715414] cloud-init[376]: During handling of the above exception, another exception occurred:
[ 3.724161] cloud-init[376]: Traceback (most recent call last):
[ 3.725516] cloud-init[376]: File "/usr/lib/
[ 3.728192] cloud-init[376]: ret = functor(name, args)
[ 3.728874] cloud-init[376]: File "/usr/lib/
[ 3.736792] cloud-init[376]: init.apply_
[ 3.740703] cloud-init[376]: File "/usr/lib/
[ 3.742942] cloud-init[376]: return self.distro.
[ 3.751857] cloud-init[376]: File "/usr/lib/
[ 3.754374] cloud-init[376]: dev_names = self._write_
[ 3.755391] cloud-init[376]: File "/usr/lib/
[ 3.768212] cloud-init[376]: return self._supported
[ 3.771124] cloud-init[376]: File "/usr/lib/