We are seeing occasional failures to power on sm15k where server remains in allocated state and will not change to deploying. In regiond.log, this is the error:
2015-06-28 14:51:07 [maasserver] ERROR: ################################ Exception: u'sm15k' ################################
2015-06-28 14:51:07 [maasserver] ERROR: 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/maasserver/api/support.py", line 52, in __call__
response = upcall(request, *args, **kwargs)
File "/usr/lib/python2.7/dist-packages/django/views/decorators/vary.py", line 19, in inner_func
response = func(*args, **kwargs)
File "/usr/lib/python2.7/dist-packages/piston/resource.py", line 167, in __call__
result = self.error_handler(e, request, meth, em_format)
File "/usr/lib/python2.7/dist-packages/piston/resource.py", line 165, in __call__
result = meth(request, *args, **kwargs)
File "/usr/lib/python2.7/dist-packages/maasserver/api/support.py", line 200, in dispatch
return function(self, request, *args, **kwargs)
File "/usr/lib/python2.7/dist-packages/maasserver/api/nodes.py", line 411, in start
form = Form(instance=node)
File "/usr/lib/python2.7/dist-packages/maasserver/forms.py", line 766, in __init__
self.set_up_power_type(data, instance)
File "/usr/lib/python2.7/dist-packages/maasserver/forms.py", line 830, in set_up_power_type
power_type]
KeyError: u'sm15k'
2015-06-28 14:51:07 [-] 127.0.0.1 - - [28/Jun/2015:14:51:07 +0000] "POST /MAAS/api/1.0/nodes/node-a2ed9f80-c4cd-11e3-8102-00163efc5068/?op=start HTTP/1.1" 500 8 "-" "Go 1.1 package http"
Seems 'sm15k' is not among the supported power types supported by the cluster. Is this reproducible? (You're saying 'occasional failures'.) Can you check if there is any indication that the cluster is disconnected during the time this happens?