[2.1.4] Expecting object received tuple in get_default_dns_servers
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
MAAS |
Fix Released
|
Critical
|
Gavin Panella | ||
2.1 |
Fix Released
|
Undecided
|
Gavin Panella |
Bug Description
_get_gateway_tuple in node.py:2827 returns tuple, but
get_default_
which causes
2017-03-08 10:00:40 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/
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/
get_
File "/usr/lib/
yaml_config = get_curtin_
File "/usr/lib/
network_config = compose_
File "/usr/lib/
return [generator.
File "/usr/lib/
ipv4=
File "/usr/lib/
subnet = Subnet.
AttributeError: 'tuple' object has no attribute 'subnet_id'
Related branches
- Blake Rouse (community): Approve
-
Diff: 140 lines (+43/-20)2 files modifiedsrc/maasserver/models/node.py (+4/-4)
src/maasserver/models/tests/test_node.py (+39/-16)
- Gavin Panella (community): Approve
-
Diff: 140 lines (+43/-20)2 files modifiedsrc/maasserver/models/node.py (+4/-4)
src/maasserver/models/tests/test_node.py (+39/-16)
Changed in maas: | |
importance: | Undecided → Critical |
milestone: | none → 2.2.0 |
status: | New → Triaged |
summary: |
- [2.1.4]Expecting object recived tuple in get_default_dns_servers + [2.1.4] Expecting object received tuple in get_default_dns_servers |
Changed in maas: | |
assignee: | nobody → Gavin Panella (allenap) |
status: | Triaged → In Progress |
Changed in maas: | |
status: | In Progress → Fix Committed |
Changed in maas: | |
status: | Fix Committed → Fix Released |
This will cause a deploying node not to get an interface configuration. Which means it will have no /etc/network/ interfaces, so the node will not be able to contact MAAS to finish deployment.