[2.0a1/2.0pre-a2] Fail to commission when Fabric on Machine Interface and Rack Interface dont match
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
MAAS |
Fix Released
|
Critical
|
Blake Rouse |
Bug Description
==> /var/log/
2016-03-12 00:16:59 [maasserver] ERROR: #######
2016-03-12 00:16:59 [maasserver] ERROR: Traceback (most recent call last):
File "/usr/lib/
response = wrapped_
File "/usr/lib/
return view_atomic(*args, **kwargs)
File "/usr/lib/
return func(*args, **kwds)
File "/usr/lib/
preseed_url = compose_
File "/usr/lib/
base_url = node.get_
AttributeError: 'NoneType' object has no attribute 'url'
2016-03-12 00:16:59 [-] 127.0.0.1 - - [11/Mar/
ckcontroller_
Related branches
- Mike Pontillo (community): Approve
-
Diff: 1581 lines (+571/-212)11 files modifiedsrc/maasserver/rpc/boot.py (+16/-2)
src/maasserver/rpc/regionservice.py (+3/-3)
src/maasserver/rpc/tests/test_boot.py (+87/-34)
src/maasserver/rpc/tests/test_regionservice.py (+2/-0)
src/provisioningserver/plugin.py (+13/-10)
src/provisioningserver/pserv_services/tests/test_tftp.py (+209/-84)
src/provisioningserver/pserv_services/tftp.py (+94/-73)
src/provisioningserver/rpc/region.py (+2/-0)
src/provisioningserver/tests/test_plugin.py (+1/-5)
src/provisioningserver/utils/tests/test_twisted.py (+95/-0)
src/provisioningserver/utils/twisted.py (+49/-1)
Changed in maas: | |
milestone: | none → 2.0.0 |
importance: | Undecided → Critical |
importance: | Critical → High |
Changed in maas: | |
importance: | High → Critical |
summary: |
- [2.0a1] PXE interface is incorrectly determined or not determined at all + [2.0a1] PXE interface is incorrectly determined |
summary: |
- [2.0a1] PXE interface is incorrectly determined + [2.0a1] PXE interface & fabric are incorrectly determined |
summary: |
- [2.0a1] PXE interface & fabric are incorrectly determined + [2.0a1] Fabric are incorrectly determined, which may cause PXE interface + incorrectly showed in the UI |
description: | updated |
summary: |
- [2.0a1] Fabric are incorrectly determined, which may cause PXE interface - incorrectly showed in the UI + [2.0a1] Fabric are incorrectly determined during enlistment, which may + cause PXE interface incorrectly showed in the UI |
summary: |
- [2.0a1] Fabric are incorrectly determined during enlistment, which may - cause PXE interface incorrectly showed in the UI + [2.0a1/2.0pre-a2] Fabric are incorrectly determined during enlistment, + which may cause PXE interface incorrectly showed in the UI |
summary: |
- [2.0a1/2.0pre-a2] Fabric are incorrectly determined during enlistment, - which may cause PXE interface incorrectly showed in the UI + [2.0a1/2.0pre-a2] Incorrect fabric on machine interface, causes + commissioning to fail |
description: | updated |
summary: |
- [2.0a1/2.0pre-a2] Incorrect fabric on machine interface, causes - commissioning to fail + [2.0a1/2.0pre-a2] Outdated Fabric may cause commissioning to fail |
summary: |
- [2.0a1/2.0pre-a2] Outdated Fabric may cause commissioning to fail + [2.0a1/2.0pre-a2] Fail to commission when Fabric on Machine Interface + and Rack Interface dont match |
Changed in maas: | |
status: | New → Triaged |
Changed in maas: | |
status: | Triaged → In Progress |
assignee: | nobody → Blake Rouse (blake-rouse) |
Changed in maas: | |
status: | In Progress → Fix Committed |
Changed in maas: | |
status: | Fix Committed → Fix Released |
from another bug:
2016-03-11 14:57:52 [maasserver] ERROR: ####### ####### ####### ####### #### Exception: 'NoneType' object has no attribute 'url' ####### ####### ####### ####### #### python3/ dist-packages/ django/ core/handlers/ base.py" , line 132, in get_response callback( request, *callback_args, **callback_kwargs) python3/ dist-packages/ maasserver/ utils/views. py", line 180, in view_atomic_ with_post_ commit_ savepoint python3. 5/contextlib. py", line 30, in inner python3/ dist-packages/ maasserver/ api/pxeconfig. py", line 202, in pxeconfig preseed_ url(node) python3/ dist-packages/ maasserver/ preseed. py", line 704, in compose_preseed_url boot_primary_ rack_controller ().url
2016-03-11 14:57:52 [maasserver] ERROR: Traceback (most recent call last):
File "/usr/lib/
response = wrapped_
File "/usr/lib/
return view_atomic(*args, **kwargs)
File "/usr/lib/
return func(*args, **kwds)
File "/usr/lib/
preseed_url = compose_
File "/usr/lib/
base_url = node.get_
AttributeError: 'NoneType' object has no attribute 'url'