[2.6, master] Deploying a machine with a bridge on the PXE interface breaks the deployment
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
MAAS |
Fix Released
|
Critical
|
Blake Rouse |
Bug Description
Attempting to deploy a machine with an interface configured as a bridge fails and fallbacks to the enlistment environment.
To reproduce:
1. Create a machine with 1 nic
2. Deploy the machine
3. Release the machine
4. Configure a bridge in the machine
5. Attempt to deploy, and you will see this traceback:
==> /var/log/
2019-02-27 11:04:14 provisioningser
maas-bionic:
Traceback (most recent call last):
File "/usr/lib/
File "/usr/lib/
File "/usr/lib/
File "/usr/lib/
--- <exception caught here> ---
File "/usr/lib/
File "/usr/lib/
key = error.trap(
File "/usr/lib/
File "/usr/lib/
raise self.value.
File "/usr/lib/
result = inContext.theWork()
File "/usr/lib/
File "/usr/lib/
return self.currentCon
File "/usr/lib/
return func(*args,**kw)
File "/usr/lib/
return func(*args, **kwargs)
File "/usr/lib/
result = func(*args, **kwargs)
File "/usr/lib/
return func_outside_
File "/usr/lib/
return func(*args, **kwargs)
File "/usr/lib/
return func(*args, **kwds)
File "/usr/lib/
File "/usr/lib/
return getattr(
File "/usr/lib/
==> /var/log/
2019-02-27 11:04:14 provisioningser
Traceback (most recent call last):
Failure: twisted.
2019-02-27 11:04:14 provisioningser
2019-02-27 11:04:14 provisioningser
2019-02-27 11:04:14 provisioningser
2019-02-27 11:04:14 provisioningser
2019-02-27 11:04:14 provisioningser
2019-02-27 11:04:14 provisioningser
2019-02-27 11:04:14 provisioningser
2019-02-27 11:04:14 provisioningser
2019-02-27 11:04:14 provisioningser
2019-02-27 11:04:15 provisioningser
2019-02-27 11:04:15 provisioningser
Related branches
- Andres Rodriguez (community): Approve
-
Diff: 42 lines (+19/-1)2 files modifiedsrc/maasserver/rpc/boot.py (+2/-1)
src/maasserver/rpc/tests/test_boot.py (+17/-0)
Changed in maas: | |
importance: | Undecided → Critical |
milestone: | none → 2.6.0 |
Changed in maas: | |
assignee: | nobody → Andres Rodriguez (andreserl) |
status: | New → In Progress |
Changed in maas: | |
assignee: | Andres Rodriguez (andreserl) → Blake Rouse (blake-rouse) |
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 |
I'm not sure if this applies to 2.5 on the latest changes that have landed.