BVT can't get cluster deployment info before starting OpenStack installation: 'File "/usr/lib/python2.7/site-packages/ply/lex.py", line 253, in input c = s[:1] TypeError: unhashable type'
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Fuel for OpenStack |
Fix Released
|
Critical
|
Bulat Gaifullin | ||
Mitaka |
Fix Released
|
Critical
|
Bulat Gaifullin |
Bug Description
BVT can't download cluster deployment info before starting OpenStack installation:
http://
Detailed bug description:
Test gets 500 error from API, here is an error from Nailgun logs:
2016-04-13 03:41:27.994 ERROR [7f4a67960880] (base) Unexpected exception occured
Traceback (most recent call last):
File "/usr/lib/
resp = func(cls, *args, **kwargs)
File "/usr/lib/
return self._serialize
File "/usr/lib/
graph, cluster, nodes, ignore_
File "/usr/lib/
cluster, nodes, ignore_customized
File "/usr/lib/
cluster, nodes, ignore_
File "/usr/lib/
self.
File "/usr/lib/
node['tasks'] = self.task_
File "/usr/lib/
if not serializer.
File "/usr/lib/
strict=
File "/usr/lib/
self.
File "/usr/lib/
return parser.
File "/usr/lib/
return self.parseopt_
File "/usr/lib/
lexer.
File "/usr/lib/
c = s[:1]
TypeError: unhashable type
Steps to reproduce:
1. Run system tests with bvt_2 group
Expected results:
test passed
Actual result:
test fail before starting deplyment with error: 'Internal Server Error code 500 [unhashable type]'
Reproducibility:
always
Workaround:
no workaround
Impact:
BVT permanently fail
Changed in fuel: | |
importance: | High → Critical |
Changed in fuel: | |
assignee: | Fuel Python Team (fuel-python) → Igor Kalnitsky (ikalnitsky) |
status: | New → Confirmed |
Changed in fuel: | |
status: | Triaged → In Progress |
tags: | added: release-notes |
The endpoint:
/api/ clusters/ 1/orchestrator/ deployment/ defaults/
calls legacy graph resolver, the one that doesn't know how to deal with YAQL-based expressions. We need to fix that endpoint to use different resolvers (serializers) depending on task types.