I inadvertently nobbled rndc so that it won't work and when trying to start a node I get:
ERROR 2014-10-28 12:02:19,448 django.request Internal Server Error: /MAAS/nodes/node-c46c
458c-d047-11e3-af93-e4115b13819f/view/
Traceback (most recent call last):
File "/usr/lib/python2.7/dist-packages/django/core/handlers/base.py", line 112, in get_
response
response = wrapped_callback(request, *callback_args, **callback_kwargs)
File "/usr/lib/python2.7/dist-packages/django/views/generic/base.py", line 69, in view
return self.dispatch(request, *args, **kwargs)
File "/usr/lib/python2.7/dist-packages/maasserver/views/nodes.py", line 622, in dispatc
h
return super(NodeView, self).dispatch(*args, **kwargs)
File "/usr/lib/python2.7/dist-packages/django/views/generic/base.py", line 87, in dispatch
return handler(request, *args, **kwargs)
File "/usr/lib/python2.7/dist-packages/django/views/generic/edit.py", line 228, in post
return super(BaseUpdateView, self).post(request, *args, **kwargs)
File "/usr/lib/python2.7/dist-packages/django/views/generic/edit.py", line 171, in post
return self.form_valid(form)
File "/usr/lib/python2.7/dist-packages/django/views/generic/edit.py", line 147, in form_valid
self.object = form.save()
File "/usr/lib/python2.7/dist-packages/maasserver/forms.py", line 1003, in save
message = action.execute(allow_redirect=allow_redirect)
File "/usr/lib/python2.7/dist-packages/maasserver/node_action.py", line 205, in execute
self.node.start_commissioning(self.user)
File "/usr/lib/python2.7/dist-packages/maasserver/models/node.py", line 976, in start_commissioning
[self.system_id], user, user_data=commissioning_user_data)
File "/usr/lib/python2.7/dist-packages/maasserver/models/node.py", line 436, in start_nodes
change_dns_zones({node.nodegroup for node in nodes})
File "/usr/lib/python2.7/dist-packages/maasserver/utils/__init__.py", line 193, in call_with_lock
return func(*args, **kwargs)
File "/usr/lib/python2.7/dist-packages/maasserver/dns/config.py", line 85, in change_dns_zones
zones=[zone], callback=zone_reload_subtask)
File "/usr/lib/python2.7/dist-packages/celery/app/task.py", line 453, in delay
return self.apply_async(args, kwargs)
File "/usr/lib/python2.7/dist-packages/celery/app/task.py", line 547, in apply_async
link=link, link_error=link_error, **options)
File "/usr/lib/python2.7/dist-packages/celery/app/task.py", line 735, in apply
request=request, propagate=throw)
File "/usr/lib/python2.7/dist-packages/celery/app/trace.py", line 354, in eager_trace_task
uuid, args, kwargs, request)
File "/usr/lib/python2.7/dist-packages/celery/app/trace.py", line 253, in trace_task
I, R, state, retval = on_error(task_request, exc, uuid)
File "/usr/lib/python2.7/dist-packages/celery/app/trace.py", line 240, in trace_task
R = retval = fun(*args, **kwargs)
File "/usr/lib/python2.7/dist-packages/provisioningserver/logger/utils.py", line 42, in wrapper
func(*args, **kwargs)
File "/usr/lib/python2.7/dist-packages/provisioningserver/tasks.py", line 54, in wrapper
func(*args, **kwargs)
File "/usr/lib/python2.7/dist-packages/provisioningserver/tasks.py", line 155, in write_dns_zone_config
callback.delay()
File "/usr/lib/python2.7/dist-packages/celery/canvas.py", line 168, in delay
return self.apply_async(partial_args, partial_kwargs)
File "/usr/lib/python2.7/dist-packages/celery/canvas.py", line 242, in apply_async
return _apply(args, kwargs, **options)
File "/usr/lib/python2.7/dist-packages/celery/app/task.py", line 547, in apply_async
link=link, link_error=link_error, **options)
File "/usr/lib/python2.7/dist-packages/celery/app/task.py", line 735, in apply
request=request, propagate=throw)
File "/usr/lib/python2.7/dist-packages/celery/app/trace.py", line 354, in eager_trace_task
uuid, args, kwargs, request)
File "/usr/lib/python2.7/dist-packages/celery/app/trace.py", line 253, in trace_task
I, R, state, retval = on_error(task_request, exc, uuid)
File "/usr/lib/python2.7/dist-packages/celery/app/trace.py", line 240, in trace_task
R = retval = fun(*args, **kwargs)
File "/usr/lib/python2.7/dist-packages/provisioningserver/logger/utils.py", line 42, in wrapper
func(*args, **kwargs)
File "/usr/lib/python2.7/dist-packages/provisioningserver/tasks.py", line 54, in wrapper
func(*args, **kwargs)
File "/usr/lib/python2.7/dist-packages/provisioningserver/tasks.py", line 85, in rndc_command
execute_rndc_command(arguments)
File "/usr/lib/python2.7/dist-packages/provisioningserver/dns/config.py", line 170, in execute_rndc_command
call_and_check(rndc_cmd)
File "/usr/lib/python2.7/dist-packages/provisioningserver/utils/shell.py", line 125, in call_and_check
raise ExternalProcessError(process.returncode, command, output=stderr)
ExternalProcessError: Command `rndc -c /etc/bind/maas/rndc.conf.maas reload maas` returned non-zero exit status 1:
rndc: 'reload' failed: dynamic zone
Can you give us some more context as to why this is critical?
How did this happen?
Will and end-user run into this scenario during normal operation?
Is it a regression?
If you fix rdnc, does MAAS go back to working?