AttributeError: 'NoneType' object has no attribute 'get_managed_cluster_interface'
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
MAAS |
Fix Released
|
Critical
|
Blake Rouse |
Bug Description
I upgraded from MAAS 1.8.3 to 1.9.0a5.
MAAS 1.8.3 initially had 2 cluster interface s(eth0, eth1), and as such, 2 network were created. However, eth1 got removed from the cluster.
After upgrade from 1.9.0, we now have 2 subnets, however, only 1 clsuter interface (eth0), which remains MANAGED for DNS/DHCP. We see the following error when trying to deploy the machine.
2015-10-22 20:04:16 [-] 127.0.0.1 - - [22/Oct/
2015-10-22 20:04:18 [maasserver] ERROR: #######
2015-10-22 20:04:18 [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, **kwargs)
File "/usr/lib/
response = upcall(request, *args, **kwargs)
File "/usr/lib/
response = func(*args, **kwargs)
File "/usr/lib/
result = self.error_
File "/usr/lib/
result = meth(request, *args, **kwargs)
File "/usr/lib/
return function(self, request, *args, **kwargs)
File "/usr/lib/
node.
File "/usr/lib/
return func_within_
File "/usr/lib/
return func(*args, **kwargs)
File "/usr/lib/
return self._start(user, user_data)
File "/usr/lib/
return func_within_
File "/usr/lib/
return func(*args, **kwargs)
File "/usr/lib/
self.
File "/usr/lib/
exclude_
File "/usr/lib/
auto_ip, exclude_addresses)
File "/usr/lib/
ngi = subnet.
AttributeError: 'NoneType' object has no attribute 'get_managed_
Related branches
- Andres Rodriguez (community): Approve
-
Diff: 513 lines (+509/-0)1 file modifiedsrc/maasserver/migrations/0187_link_missing_subnets.py (+509/-0)
description: | updated |
Changed in maas: | |
milestone: | none → 1.9.0 |
importance: | Undecided → Critical |
description: | updated |
Changed in maas: | |
status: | New → Triaged |
Changed in maas: | |
status: | In Progress → Fix Committed |
Changed in maas: | |
status: | Fix Committed → Fix Released |
Looking at the screenshot:
http:// people. canonical. com/~andreserl/ error.png
It seems that eth0 has subnet unconfigured and the IP address assigned field is empty, which might be the reason why this error was shown.