Plugin search breaks because the field in the db is "plugin_name", not plugin.
We will debate whether this is something to patch in Sahara, or in Horizon
2015-10-06 15:22:12.025 20175 ERROR sahara.utils.api [req-9af7d84b-2945-4d60-b2be-86abb5f23356 ] Traceback (most recent call last):
File "/home/fedora/sahara/sahara/utils/api.py", line 97, in handler
return func(**kwargs)
File "/home/fedora/sahara/sahara/api/acl.py", line 44, in handler
return func(*args, **kwargs)
File "/home/fedora/sahara/sahara/api/v10.py", line 148, in node_group_templates_list
**u.get_request_args().to_dict())])
File "/home/fedora/sahara/sahara/service/api.py", line 201, in get_node_group_templates
return conductor.node_group_template_get_all(context.ctx(), **kwargs)
File "/home/fedora/sahara/sahara/conductor/resource.py", line 42, in handle
ret = func(*args, **kwargs)
File "/home/fedora/sahara/sahara/conductor/api.py", line 220, in node_group_template_get_all
return self._manager.node_group_template_get_all(context, **kwargs)
File "/home/fedora/sahara/sahara/conductor/manager.py", line 312, in node_group_template_get_all
return self.db.node_group_template_get_all(context, **kwargs)
File "/home/fedora/sahara/sahara/db/api.py", line 95, in decorator
res = func(*args, **kwargs)
File "/home/fedora/sahara/sahara/db/api.py", line 246, in node_group_template_get_all
return IMPL.node_group_template_get_all(context, **kwargs)
File "/home/fedora/sahara/sahara/db/sqlalchemy/api.py", line 532, in node_group_template_get_all
return query.filter_by(**kwargs).all()
File "/home/fedora/sahara/.tox/venv/lib/python2.7/site-packages/sqlalchemy/orm/query.py", line 1334, in filter_by
for key, value in kwargs.items()]
File "/home/fedora/sahara/.tox/venv/lib/python2.7/site-packages/sqlalchemy/orm/base.py", line 383, in _entity_descriptor
(description, key)
InvalidRequestError: Entity '<class 'sahara.db.sqlalchemy.models.NodeGroupTemplate'>' has no property 'plugin'
Plugin search breaks because the field in the db is "plugin_name", not plugin.
We will debate whether this is something to patch in Sahara, or in Horizon
2015-10-06 15:22:12.025 20175 ERROR sahara.utils.api [req-9af7d84b- 2945-4d60- b2be-86abb5f233 56 ] Traceback (most recent call last): fedora/ sahara/ sahara/ utils/api. py", line 97, in handler fedora/ sahara/ sahara/ api/acl. py", line 44, in handler fedora/ sahara/ sahara/ api/v10. py", line 148, in node_group_ templates_ list get_request_ args(). to_dict( ))]) fedora/ sahara/ sahara/ service/ api.py" , line 201, in get_node_ group_templates node_group_ template_ get_all( context. ctx(), **kwargs) fedora/ sahara/ sahara/ conductor/ resource. py", line 42, in handle fedora/ sahara/ sahara/ conductor/ api.py" , line 220, in node_group_ template_ get_all node_group_ template_ get_all( context, **kwargs) fedora/ sahara/ sahara/ conductor/ manager. py", line 312, in node_group_ template_ get_all node_group_ template_ get_all( context, **kwargs) fedora/ sahara/ sahara/ db/api. py", line 95, in decorator fedora/ sahara/ sahara/ db/api. py", line 246, in node_group_ template_ get_all group_template_ get_all( context, **kwargs) fedora/ sahara/ sahara/ db/sqlalchemy/ api.py" , line 532, in node_group_ template_ get_all by(**kwargs) .all() fedora/ sahara/ .tox/venv/ lib/python2. 7/site- packages/ sqlalchemy/ orm/query. py", line 1334, in filter_by fedora/ sahara/ .tox/venv/ lib/python2. 7/site- packages/ sqlalchemy/ orm/base. py", line 383, in _entity_descriptor rror: Entity '<class 'sahara. db.sqlalchemy. models. NodeGroupTempla te'>' has no property 'plugin'
File "/home/
return func(**kwargs)
File "/home/
return func(*args, **kwargs)
File "/home/
**u.
File "/home/
return conductor.
File "/home/
ret = func(*args, **kwargs)
File "/home/
return self._manager.
File "/home/
return self.db.
File "/home/
res = func(*args, **kwargs)
File "/home/
return IMPL.node_
File "/home/
return query.filter_
File "/home/
for key, value in kwargs.items()]
File "/home/
(description, key)
InvalidRequestE