Comment 1 for bug 1585283

Revision history for this message
Swann Croiset (swann-w) wrote :

I'm hitting this bug on MOS 9 (iso fuel-9.0-367)

I use Elasticsearch-Kibana plugin.
The initial deployment works fine with 1 controller + 1 elasticsearch-kibana node.

After adding a new Elasticsearch-kibana node through the Fuel UI (not the CLI) I get this error:

2016-05-30 09:27:59.632 ERROR [7f1e3bfc7880] (manager) Traceback (most recent call last):
  File "/usr/lib/python2.7/site-packages/nailgun/task/manager.py", line 57, in _call_silently
    to_return = method(task, *args, **kwargs)
  File "/usr/lib/python2.7/site-packages/nailgun/task/task.py", line 1450, in execute
    cls._check_nodes_roles(task)
  File "/usr/lib/python2.7/site-packages/nailgun/task/task.py", line 1531, in _check_nodes_roles
    roles, roles_metadata, models)
  File "/usr/lib/python2.7/site-packages/nailgun/api/v1/validators/assignment.py", line 153, in check_roles_requirement
    expression = condition['condition']
TypeError: string indices must be integers, not str

adding a print here[0] to debug the issue, the 'condition' variable is a string not a hash:

['settings:elasticsearch_kibana.metadata.enabled == false']

[0] https://github.com/openstack/fuel-web/blob/f38238175f7f9424fd642d8226d49befd62210b5/nailgun/nailgun/api/v1/validators/assignment.py#L151