Unable to determine purpose for node: node-08.maas when deploying multiple OS's
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
MAAS |
Fix Released
|
Critical
|
Blake Rouse | ||
1.8 |
Fix Released
|
Critical
|
Blake Rouse |
Bug Description
I was trying to deploy various OS at the same time, and the following error appeared:
==> /var/log/
2015-04-19 23:40:31 [maasserver] ERROR: Unable to determine purpose for node: 'node-08.maas'
2015-04-19 23:40:31 [-] Unhandled Error
Traceback (most recent call last):
File "/usr/lib/
File "/usr/lib/
File "/usr/lib/
--- <exception caught here> ---
File "/usr/lib/
result = context.call(ctx, function, *args, **kwargs)
File "/usr/lib/
return self.currentCon
File "/usr/lib/
return func(*args,**kw)
File "/usr/lib/
return func(*args, **kwargs)
File "/usr/lib/
return func_outside_
File "/usr/lib/
return func(*args, **kwargs)
File "/usr/lib/
return func(*args, **kwargs)
File "/usr/lib/
return (node, node.get_
File "/usr/lib/
File "/usr/lib/
purpose = get_available_
File "/usr/lib/
"Unable to determine purpose for node: '%s'", node.fqdn)
2015-04-19 23:40:31 [RegionServer,
7.0.0.1', 57821))
==> /var/log/
2015-04-19 23:40:31+0800 [ClusterClient,
2015-04-19 23:40:31+0800 [ClusterClient,
Traceback (most recent call last):
Failure: twisted.
Node08 was a windows deployment. However, when individually deploying just one system, this error was not present.
Related branches
- Andres Rodriguez (community): Approve
-
Diff: 254 lines (+131/-19)5 files modifiedsrc/maasserver/node_action.py (+10/-5)
src/maasserver/tests/test_node_action.py (+51/-10)
src/maasserver/utils/osystems.py (+26/-2)
src/maasserver/utils/tests/test_osystems.py (+42/-0)
src/maasserver/websockets/handlers/tests/test_node.py (+2/-2)
- Blake Rouse (community): Approve
-
Diff: 254 lines (+129/-16)5 files modifiedsrc/maasserver/node_action.py (+8/-4)
src/maasserver/tests/test_node_action.py (+51/-10)
src/maasserver/utils/osystems.py (+25/-0)
src/maasserver/utils/tests/test_osystems.py (+43/-0)
src/maasserver/websockets/handlers/tests/test_node.py (+2/-2)
- Andres Rodriguez (community): Approve
-
Diff: 18 lines (+9/-2)1 file modifieddebian/changelog (+9/-2)
Changed in maas: | |
milestone: | none → 1.8.0 |
importance: | Undecided → Critical |
status: | New → Confirmed |
summary: |
- Unable to determine purpose for node: '%s'", u'node-08.maas' + Unable to determine purpose for node: node-08.maas when deploying + windows |
summary: |
Unable to determine purpose for node: node-08.maas when deploying - windows + multiple OS's |
description: | updated |
Changed in maas: | |
status: | Confirmed → Triaged |
Changed in maas: | |
status: | Triaged → Incomplete |
Changed in maas: | |
assignee: | nobody → Blake Rouse (blake-rouse) |
Changed in maas: | |
milestone: | 1.8.0 → 1.8.2 |
Changed in maas: | |
status: | In Progress → Fix Committed |
Changed in maas: | |
milestone: | 1.8.2 → 1.9.0 |
Changed in maas: | |
status: | Fix Committed → Fix Released |
This issue is because of how operating systems that can have license keys is used. The ending '*' on the release value needs to be strip to set the correct distro_series.