MAAS uses incorrect source IP address when running rndc - Internal server error
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
MAAS |
Invalid
|
Medium
|
Unassigned |
Bug Description
Attempting to commission fails:
The commission action for 2 nodes failed with error: Command `rndc -c /etc/bind/
The commission action for 2 nodes failed with error: Command `rndc -c /etc/bind/
Add machine
$ dpkg -l | grep maas
ii maas 1.8.0~rc3+
ii maas-cli 1.8.0~rc3+
ii maas-cluster-
ii maas-common 1.8.0~rc3+
ii maas-dhcp 1.8.0~rc3+
ii maas-dns 1.8.0~rc3+
ii maas-proxy 1.8.0~rc3+
ii maas-region-
ii maas-region-
ii python-django-maas 1.8.0~rc3+
ii python-maas-client 1.8.0~rc3+
ii python-
$ Jun 17 13:20:42 maas maas.node: [INFO] junior-spot: Status transition from NEW to COMMISSIONING
Jun 17 13:20:42 maas maas.node: [INFO] brilliant-snail: Status transition from NEW to COMMISSIONING
Jun 17 13:20:42 maas maas.node: [INFO] tedious-fruit: Status transition from NEW to COMMISSIONING
Jun 17 13:20:42 maas maas.node: [WARNING] junior-spot: Unrecognised power type.
Jun 17 13:20:42 maas maas.node: [INFO] sharp-calculator: Status transition from NEW to COMMISSIONING
Jun 17 13:20:42 maas maas.node: [WARNING] brilliant-snail: Unrecognised power type.
Jun 17 13:20:42 maas maas.node: [WARNING] sharp-calculator: Unrecognised power type.
Jun 17 13:20:42 maas maas.dns: [INFO] Generating new DNS zone file for maas
Jun 17 13:20:42 maas maas.dns: [ERROR] Reloading BIND zone u'maas' failed: Command `rndc -c /etc/bind/
Jun 17 13:20:42 maas maas.dns: [INFO] Generating new DNS zone file for maas
Jun 17 13:20:42 maas maas.node: [INFO] junior-spot: Status transition from COMMISSIONING to NEW
Jun 17 13:20:42 maas maas.dns: [ERROR] Reloading BIND zone u'maas' failed: Command `rndc -c /etc/bind/
Jun 17 13:20:42 maas maas.node: [ERROR] junior-spot: Could not start node for commissioning:
2015-06-17 13:20:42 [-] Error on request (24) node.action: Command `rndc -c /etc/bind/
rndc: connection to remote host closed
This may indicate that
* the remote server is using an older version of the command protocol,
* this host is not authorized to connect,
* the clocks are not synchronized, or
* the key is invalid.
Traceback (most recent call last):
File "/usr/lib/
self.
File "/usr/lib/
self.run()
File "/usr/lib/
self.
--- <exception caught here> ---
File "/usr/lib/
result = context.call(ctx, function, *args, **kwargs)
File "/usr/lib/
return self.currentCon
File "/usr/lib/
return func(*args,**kw)
File "/usr/lib/
return func_outside_
File "/usr/lib/
return func(*args, **kwargs)
File "/usr/lib/
return func(*args, **kwargs)
File "/usr/lib/
return func(*args, **kwargs)
File "/usr/lib/
dns_
File "/usr/lib/
return func(*args, **kwargs)
File "/usr/lib/
bind_
File "/usr/lib/
execute_
File "/usr/lib/
call_
File "/usr/lib/
raise ExternalProcess
provisioningse
rndc: connection to remote host closed
This may indicate that
* the remote server is using an older version of the command protocol,
* this host is not authorized to connect,
* the clocks are not synchronized, or
* the key is invalid.
Jun 17 13:20:42 maas maas.dns: [INFO] Generating new DNS zone file for maas
Jun 17 13:20:42 maas maas.dns: [ERROR] Reloading BIND zone u'maas' failed: Command `rndc -c /etc/bind/
Jun 17 13:20:42 maas maas.node: [INFO] tedious-fruit: Status transition from COMMISSIONING to NEW
Jun 17 13:20:42 maas maas.dns: [INFO] Generating new DNS zone file for maas
Jun 17 13:20:43 maas maas.node: [ERROR] tedious-fruit: Could not start node for commissioning:
Jun 17 13:20:43 maas maas.dns: [ERROR] Reloading BIND zone u'maas' failed: Command `rndc -c /etc/bind/
Jun 17 13:20:43 maas maas.node: [INFO] sharp-calculator: Status transition from COMMISSIONING to NEW
2015-06-17 13:20:43 [-] Error on request (26) node.action: Command `rndc -c /etc/bind/
rndc: recv failed: connection reset
Traceback (most recent call last):
File "/usr/lib/
self.
File "/usr/lib/
self.run()
File "/usr/lib/
self.
--- <exception caught here> ---
File "/usr/lib/
result = context.call(ctx, function, *args, **kwargs)
File "/usr/lib/
return self.currentCon
File "/usr/lib/
return func(*args,**kw)
File "/usr/lib/
return func_outside_
File "/usr/lib/
return func(*args, **kwargs)
File "/usr/lib/
return func(*args, **kwargs)
File "/usr/lib/
return func(*args, **kwargs)
File "/usr/lib/
dns_
File "/usr/lib/
return func(*args, **kwargs)
File "/usr/lib/
bind_
File "/usr/lib/
execute_
File "/usr/lib/
call_
File "/usr/lib/
raise ExternalProcess
provisioningse
rndc: recv failed: connection reset
Jun 17 13:20:43 maas maas.node: [ERROR] sharp-calculator: Could not start node for commissioning:
2015-06-17 13:20:43 [-] Error on request (25) node.action: Command `rndc -c /etc/bind/
rndc: connection to remote host closed
This may indicate that
* the remote server is using an older version of the command protocol,
* this host is not authorized to connect,
* the clocks are not synchronized, or
* the key is invalid.
Traceback (most recent call last):
File "/usr/lib/
self.
File "/usr/lib/
self.run()
File "/usr/lib/
self.
--- <exception caught here> ---
File "/usr/lib/
result = context.call(ctx, function, *args, **kwargs)
File "/usr/lib/
return self.currentCon
File "/usr/lib/
return func(*args,**kw)
File "/usr/lib/
return func_outside_
File "/usr/lib/
return func(*args, **kwargs)
File "/usr/lib/
return func(*args, **kwargs)
File "/usr/lib/
return func(*args, **kwargs)
File "/usr/lib/
dns_
File "/usr/lib/
return func(*args, **kwargs)
File "/usr/lib/
bind_
File "/usr/lib/
execute_
File "/usr/lib/
call_
File "/usr/lib/
raise ExternalProcess
provisioningse
rndc: connection to remote host closed
This may indicate that
* the remote server is using an older version of the command protocol,
* this host is not authorized to connect,
* the clocks are not synchronized, or
* the key is invalid.
Jun 17 13:20:43 maas maas.node: [INFO] brilliant-snail: Status transition from COMMISSIONING to NEW
Jun 17 13:20:43 maas maas.node: [ERROR] brilliant-snail: Could not start node for commissioning:
2015-06-17 13:20:43 [-] Error on request (23) node.action: Command `rndc -c /etc/bind/
rndc: recv failed: connection reset
Traceback (most recent call last):
File "/usr/lib/
self.
File "/usr/lib/
self.run()
File "/usr/lib/
self.
--- <exception caught here> ---
File "/usr/lib/
result = context.call(ctx, function, *args, **kwargs)
File "/usr/lib/
return self.currentCon
File "/usr/lib/
return func(*args,**kw)
File "/usr/lib/
return func_outside_
File "/usr/lib/
return func(*args, **kwargs)
File "/usr/lib/
return func(*args, **kwargs)
File "/usr/lib/
return func(*args, **kwargs)
File "/usr/lib/
dns_
File "/usr/lib/
return func(*args, **kwargs)
File "/usr/lib/
bind_
File "/usr/lib/
execute_
File "/usr/lib/
call_
File "/usr/lib/
raise ExternalProcess
provisioningse
rndc: recv failed: connection reset
Changed in maas: | |
status: | Triaged → New |
Changed in maas: | |
importance: | Undecided → Medium |
Changed in maas: | |
status: | New → Triaged |
Looks like the MAAS-controller DNS server is either down or not working properly. Can you please have a look at /var/log/syslog and see if you can spot the problem in there (and attach /var/log/syslog to this bug report)?
Maybe this is bug 1413388 (have a look at https:/ /bugs.launchpad .net/maas/ +bug/1413388/ comments/ 8 too). This bug occurs when a configuration of the DNS server conflicts with the DNS config snippet that MAAS uses.