deploying node re-enlists. regiond.log shows 'Unable to determine purpose for node'
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
MAAS |
Fix Released
|
Critical
|
Lee Trager |
Bug Description
we upgraded yesterday from:
python-
that potentially is the cause for this.
I have a node in maas, i deploy it via UI or cmdline and it goes into enlisting mode. the node enlists, seemingly successfully (although maas already new about it). the enlistment process changes the ipmi password, so that maas can no longer turn it on or off.
/etc/maas/
MAAS_URL="http://
CLUSTER_
/var/log/
2015-07-09 17:53:17+0000 [TFTP (UDP)] Datagram received from ('10.245.168.10', 25305): <RRQDatagram(
2015-07-09 17:53:17+0000 [HTTPPageGetter
Traceback (most recent call last):
Failure: twisted.
2015-07-09 17:53:17+0000 [TFTP (UDP)] Datagram received from ('10.245.168.10', 25306): <RRQDatagram(
/var/log/
ERROR 2015-07-09 17:53:17,798 maasserver Unable to determine purpose for node: 'horsea.dellstack'
ERROR 2015-07-09 17:53:17,800 maasserver #######
ERROR 2015-07-09 17:53:17,802 maasserver Traceback (most recent call last):
File "/usr/lib/
response = wrapped_
File "/usr/lib/
if node is None or node.get_
File "/usr/lib/
preseed_type = get_deploying_
File "/usr/lib/
purpose = get_available_
File "/usr/lib/
"Unable to determine purpose for node: '%s'", node.fqdn)
PreseedError: (u"Unable to determine purpose for node: '%s'", u'horsea.
regiond.log also has those errors.
2015-07-09 17:53:17 [maasserver] ERROR: Unable to determine purpose for node: 'horsea.dellstack'
2015-07-09 17:53:17 [maasserver] ERROR: #######
2015-07-09 17:53:17 [maasserver] ERROR: Traceback (most recent call last):
File "/usr/lib/
response = wrapped_
File "/usr/lib/
if node is None or node.get_
File "/usr/lib/
preseed_type = get_deploying_
File "/usr/lib/
purpose = get_available_
File "/usr/lib/
"Unable to determine purpose for node: '%s'", node.fqdn)
PreseedError: (u"Unable to determine purpose for node: '%s'", u'horsea.
Related branches
- Blake Rouse (community): Approve
- Lee Trager (community): Needs Resubmitting
- Mike Pontillo (community): Abstain
- Jason Hobbs: Pending requested
-
Diff: 580 lines (+436/-2)8 files modifiedsrc/maasserver/api/pxeconfig.py (+11/-0)
src/maasserver/api/tests/test_node.py (+165/-0)
src/maasserver/forms.py (+91/-0)
src/maasserver/models/bootresource.py (+40/-0)
src/maasserver/models/tests/test_bootresource.py (+67/-0)
src/maasserver/preseed.py (+21/-1)
src/maasserver/tests/test_forms_node.py (+14/-0)
src/maasserver/tests/test_preseed.py (+27/-1)
Changed in maas: | |
importance: | Undecided → Critical |
milestone: | none → 1.9.0 |
summary: |
- deploying node re-enlists regiond.log shows 'Unable to determine purpose - for node' + deploying node re-enlists. regiond.log shows 'Unable to determine + purpose for node' |
Changed in maas: | |
assignee: | nobody → Lee Trager (ltrager) |
status: | New → Triaged |
status: | Triaged → In Progress |
Changed in maas: | |
status: | In Progress → Fix Committed |
no longer affects: | maas/1.8 |
Changed in maas: | |
status: | Fix Committed → Fix Released |
FYI, also see potentially-related bug https:/ /bugs.launchpad .net/maas/ +bug/1460097.