Fuyaql is broken for 9.1 release
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Fuel for OpenStack |
Fix Committed
|
High
|
Bulat Gaifullin | ||
Mitaka |
Fix Released
|
High
|
Bulat Gaifullin | ||
Newton |
Fix Committed
|
High
|
Bulat Gaifullin |
Bug Description
Current 9.1 ISO (got this on 9.0 upgraded to 9.1 with proposed-
For current 9.1 release we cannot debug fuyaql anymore:
[root@nailgun etc]# manage.py yaql
2016-09-23 10:33:18.535 DEBUG [7f2000e5c740] (settings) Looking for settings.yaml package config using old style __file__
2016-09-23 10:33:18.535 DEBUG [7f2000e5c740] (settings) Trying to read config file /usr/lib/
2016-09-23 10:33:18.821 DEBUG [7f2000e5c740] (settings) Trying to read config file /etc/nailgun/
fuel-yaql> :show clusters
id | name | status
-------
1 | test | error
fuel-yaql> :use cluster 1
/usr/lib64/
util.
fuel-yaql> :show tasks
id | status
------------------
6 | error
fuel-yaql> :use task1 6
fuel-yaql> :use task2 6
fuel-yaql> :show nodes
uid | status | roles
-------
Unexpected error: 'uid'
Traceback (most recent call last):
File "/usr/lib/
r = self.execute_
File "/usr/lib/
return f(*args)
File "/usr/lib/
lambda x: node_ids.
File "/usr/lib/
print('*' * (get_selected_
File "/usr/lib/
lambda x: node_ids.
KeyError: 'uid'
fuel-yaql>
It lead us to inability of troubleshooting problems related to YAQL extensions in cluster.
How to reproduce:
1. Install Fuel 9.1 master node
2. Create cluster
3. Add nodes to cluster
4. Deploy
5. Try to get nodes list from fuyaql cli (called by 'manage.py yaql' on master node)
Expected: it works
Actual: it fails with python traceback
tags: | added: area-python |
tags: | added: on-verification |
tags: | removed: on-verification |
Fix proposed to branch: master /review. openstack. org/375384
Review: https:/