Unable to commission nodes
I have installed MAAS and powered on some nodes to let them declare themselves to the MAAS server (they now show up as "Declared" in the nodes list). When I try to "Accept and Commission", however, I get back a page saying "Internal Server Error". The apache logs don't show anything (neither an attempt to access something, nor any information about an error).
If instead I try to add the MAC addresses manually, the add node page gives the message:
Unable to create Node: Commissioning script is missing: etc/maas/
Looking in /etc/maas, the needed script is not, in fact, missing.
Can someone give me a pointer as to what to try next?
Thanks,
Question information
- Language:
- English Edit question
- Status:
- Answered
- For:
- MAAS Edit question
- Assignee:
- No assignee Edit question
- Last query:
- 2012-07-05
- Last reply:
- 2012-07-06
| Raphaël Badin (rvb) said : | #1 |
This definitely looks like a bug (I've filed https:/
a) When you're getting the "Internal Server Error", could you please have a look at the files in /var/log/maas/ and especially maas.log to see if you can find more information about the error?
b) When you're adding the MAC addresses manually, could you try adding the line:
COMMISSIONING_
at the end of the file /etc/maas/
(Note that you'll need to restart MAAS for that change to apply: sudo /etc/init.d/apache2 restart
Here is the relevant entry from maas.log:
ERROR 2012-07-05 14:13:00,596 django.request Internal Server Error: /MAAS/nodes/
Traceback (most recent call last):
File "/usr/lib/
response = callback(request, *callback_args, **callback_kwargs)
File "/usr/lib/
return self.dispatch(
File "/usr/lib/
return handler(request, *args, **kwargs)
File "/usr/lib/
return super(BaseUpdat
File "/usr/lib/
return self.form_
File "/usr/lib/
self.object = form.save()
File "/usr/lib/
execute(
File "/usr/lib/
'execute': lambda node, user: Node.start_
File "/usr/lib/
"Commissioning script is missing: %s" % path)
ValidationError: [u'Commissioning script is missing: etc/maas/
So, the message is the same in either case, though it presents differently.
Adding COMMISSIONING_
| Raphaël Badin (rvb) said : | #3 |
All right, so the bug I filed is definitely confirmed, thanks for reporting this.
| Raphaël Badin (rvb) said : | #4 |
> Adding COMMISSIONING_
> suggested) to /etc/maas/
Yeah, my mistake my suggestion was indeed to add the leading slash ;)
Can you help with this problem?
Provide an answer of your own, or ask Cavendish McKay for more information if necessary.

