Internal Server Error when bind9 not running

Bug #1499378 reported by Andres Rodriguez on 2015-09-24
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
MAAS
Critical
Jeffrey C Jones

Bug Description

==> /var/log/maas/regiond.log <==
2015-09-24 10:00:29 [-] Unhandled failure dispatching AMP command. This is probably a bug. Please ensure that this error is handled within application code or declared in the signature of the Register command. [unleashed:pid=2088:cmd=Register:ask=2]
 Traceback (most recent call last):
   File "/usr/lib/python2.7/threading.py", line 783, in __bootstrap
     self.__bootstrap_inner()
   File "/usr/lib/python2.7/threading.py", line 810, in __bootstrap_inner
     self.run()
   File "/usr/lib/python2.7/threading.py", line 763, in run
     self.__target(*self.__args, **self.__kwargs)
 --- <exception caught here> ---
   File "/usr/lib/python2.7/dist-packages/twisted/python/threadpool.py", line 196, in _worker
     result = context.call(ctx, function, *args, **kwargs)
   File "/usr/lib/python2.7/dist-packages/twisted/python/context.py", line 118, in callWithContext
     return self.currentContext().callWithContext(ctx, func, *args, **kw)
   File "/usr/lib/python2.7/dist-packages/twisted/python/context.py", line 81, in callWithContext
     return func(*args,**kw)
   File "/usr/lib/python2.7/dist-packages/maasserver/utils/orm.py", line 404, in call_within_transaction
     return func_outside_txn(*args, **kwargs)
   File "/usr/lib/python2.7/dist-packages/maasserver/utils/orm.py", line 300, in retrier
     return func(*args, **kwargs)
   File "/usr/lib/django16/django/db/transaction.py", line 371, in inner
     return func(*args, **kwargs)
   File "/usr/lib/python2.7/dist-packages/maasserver/utils/__init__.py", line 229, in call_with_lock
     return func(*args, **kwargs)
   File "/usr/lib/python2.7/dist-packages/maasserver/dns/config.py", line 291, in apply
     force=self.update_all_zones_force)
   File "/usr/lib/python2.7/dist-packages/maasserver/utils/__init__.py", line 229, in call_with_lock
     return func(*args, **kwargs)
   File "/usr/lib/python2.7/dist-packages/maasserver/dns/config.py", line 217, in dns_update_all_zones_now
     bind_reload()
   File "/usr/lib/python2.7/dist-packages/provisioningserver/dns/actions.py", line 63, in bind_reload
     execute_rndc_command(("reload",))
   File "/usr/lib/python2.7/dist-packages/provisioningserver/dns/config.py", line 184, in execute_rndc_command
     call_and_check(rndc_cmd)
   File "/usr/lib/python2.7/dist-packages/provisioningserver/utils/shell.py", line 146, in call_and_check
     raise ExternalProcessError(process.returncode, command, output=stderr)
 provisioningserver.utils.shell.ExternalProcessError: Command `rndc -c /etc/bind/maas/rndc.conf.maas reload` returned non-zero exit status 1:
 rndc: connect failed: 127.0.0.1#954: connection refused

Related branches

Changed in maas:
milestone: none → 1.9.0
importance: Undecided → Critical
status: New → Triaged
Changed in maas:
assignee: nobody → Jeffrey C Jones (trapnine)
status: Triaged → In Progress
Changed in maas:
status: In Progress → Fix Committed
Changed in maas:
status: Fix Committed → Fix Released
no longer affects: maas/1.8
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers