Enlisting of AMT managed NUCs fails with power type

Bug #1274871 reported by Adam Collard
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
MAAS
Fix Released
Critical
Graham Binns

Bug Description

ERROR 2014-01-31 10:11:53,793 maasserver ################################ Exception: Bad power_type '' ################################
ERROR 2014-01-31 10:11:53,794 maasserver Traceback (most recent call last):
  File "/usr/lib/python2.7/dist-packages/django/core/handlers/base.py", line 114, in get_response
    response = wrapped_callback(request, *callback_args, **callback_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 189, in dispatch
    return function(self, request, *args, **kwargs)
  File "/usr/lib/python2.7/dist-packages/maasserver/api.py", line 545, in new
    return create_node(request)
  File "/usr/lib/python2.7/dist-packages/maasserver/api.py", line 518, in create_node
    store_node_power_parameters(node, request)
  File "/usr/lib/python2.7/dist-packages/maasserver/api.py", line 268, in store_node_power_parameters
    raise MAASAPIBadRequest("Bad power_type '%s'" % power_type)
MAASAPIBadRequest: Bad power_type ''

This seems to be a regression around r1831

Related branches

Graham Binns (gmb)
Changed in maas:
status: New → Triaged
importance: Undecided → Critical
status: Triaged → In Progress
assignee: nobody → Graham Binns (gmb)
Raphaël Badin (rvb)
Changed in maas:
milestone: none → 14.04
Graham Binns (gmb)
Changed in maas:
status: In Progress → Fix Committed
Changed in maas:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.