[2.0a2] Deploying machine with primary rack dead fails
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
MAAS |
Fix Released
|
Critical
|
Blake Rouse |
Bug Description
Now PXE booting works but the preseed generation fails when the primary_rack controller is down.
Looking at the stack trace below it is trying to perform RPC to maas-2 (4y3h7p), when the rack controller it actually booted from was the secondary rack controller maas-1 (4y3h7n).
Mar 17 19:24:04 localhost sh[13986]: 2016-03-17 19:24:04 [-] 127.0.0.1 - - [17/Mar/
Mar 17 19:24:05 localhost sh[13986]: 2016-03-17 19:24:05 [maasserver] ERROR: #######
Mar 17 19:24:05 localhost sh[13986]: 2016-03-17 19:24:05 [maasserver] ERROR: Traceback (most recent call last):
Mar 17 19:24:05 localhost sh[13986]: File "/usr/lib/
Mar 17 19:24:05 localhost sh[13986]: response = wrapped_
Mar 17 19:24:05 localhost sh[13986]: File "/usr/lib/
Mar 17 19:24:05 localhost sh[13986]: return view_atomic(*args, **kwargs)
Mar 17 19:24:05 localhost sh[13986]: File "/usr/lib/
Mar 17 19:24:05 localhost sh[13986]: return func(*args, **kwds)
Mar 17 19:24:05 localhost sh[13986]: File "/usr/lib/
Mar 17 19:24:05 localhost sh[13986]: response = upcall(request, *args, **kwargs)
Mar 17 19:24:05 localhost sh[13986]: File "/usr/lib/
Mar 17 19:24:05 localhost sh[13986]: response = func(*args, **kwargs)
Mar 17 19:24:05 localhost sh[13986]: File "/usr/lib/
Mar 17 19:24:05 localhost sh[13986]: result = self.error_
Mar 17 19:24:05 localhost sh[13986]: File "/usr/lib/
Mar 17 19:24:05 localhost sh[13986]: result = meth(request, *args, **kwargs)
Mar 17 19:24:05 localhost sh[13986]: File "/usr/lib/
Mar 17 19:24:05 localhost sh[13986]: return function(self, request, *args, **kwargs)
Mar 17 19:24:05 localhost sh[13986]: File "/usr/lib/
Mar 17 19:24:05 localhost sh[13986]: return HttpResponse(
Mar 17 19:24:05 localhost sh[13986]: File "/usr/lib/
Mar 17 19:24:05 localhost sh[13986]: osystem=
Mar 17 19:24:05 localhost sh[13986]: File "/usr/lib/
Mar 17 19:24:05 localhost sh[13986]: node, osystem, release, rack_controller
Mar 17 19:24:05 localhost sh[13986]: File "/usr/lib/
Mar 17 19:24:05 localhost sh[13986]: 'preseed_data': compose_
Mar 17 19:24:05 localhost sh[13986]: File "/usr/lib/
Mar 17 19:24:05 localhost sh[13986]: return get_preseed_
Mar 17 19:24:05 localhost sh[13986]: File "/usr/lib/
Mar 17 19:24:05 localhost sh[13986]: return func(*args, **kwargs)
Mar 17 19:24:05 localhost sh[13986]: File "/usr/lib/
Mar 17 19:24:05 localhost sh[13986]: client = getClientFor(
Mar 17 19:24:05 localhost sh[13986]: File "/usr/lib/
Mar 17 19:24:05 localhost sh[13986]: return func_in_
Mar 17 19:24:05 localhost sh[13986]: File "/usr/lib/
Mar 17 19:24:05 localhost sh[13986]: result.
Mar 17 19:24:05 localhost sh[13986]: File "/usr/lib/
Mar 17 19:24:05 localhost sh[13986]: raise self.value.
Mar 17 19:24:05 localhost sh[13986]: File "/usr/lib/
Mar 17 19:24:05 localhost sh[13986]: current.result = callback(
Mar 17 19:24:05 localhost sh[13986]: File "/usr/lib/
Mar 17 19:24:05 localhost sh[13986]: "available." % system_id, uuid=system_id)
Mar 17 19:24:05 localhost sh[13986]: provisioningser
Related branches
- Mike Pontillo (community): Approve
-
Diff: 215 lines (+86/-11)7 files modifiedsrc/maasserver/clusterrpc/osystems.py (+1/-1)
src/maasserver/compose_preseed.py (+2/-2)
src/maasserver/models/node.py (+16/-0)
src/maasserver/models/tests/test_node.py (+59/-0)
src/maasserver/preseed.py (+6/-6)
src/maasserver/preseed_network.py (+1/-1)
src/metadataserver/user_data/utils.py (+1/-1)
description: | updated |
Changed in maas: | |
status: | In Progress → Fix Committed |
Changed in maas: | |
status: | Fix Committed → Fix Released |