Nova Action not supported by the API

Bug #1843174 reported by Bo Tran
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Mistral
New
Undecided
Unassigned

Bug Description

When i install mistral with branch master. I try run an action nova.servers_find and I get an error:

2019-09-08 20:07:52.773 23269 DEBUG mistral.actions.openstack.actions [req-4607d9a1-6be0-41a3-97bc-aa0b673f0102 3502ac4dda5247829c20b6561c5d188
a 4a92824aa74445f28d7cf814a54ee283 - default default] Nova action security context: <mistral_lib.actions.context.ActionContext object at 0x7f33
b59d51d0> _create_client /root/mistral/mistral/actions/openstack/actions.py:93
2019-09-08 20:07:52.908 23269 WARNING mistral.actions.openstack.base [req-4607d9a1-6be0-41a3-97bc-aa0b673f0102 3502ac4dda5247829c20b6561c5d188a
 4a92824aa74445f28d7cf814a54ee283 - default default] Traceback (most recent call last):
  File "/root/mistral/mistral/actions/openstack/base.py", line 115, in run
    method = self._get_client_method(self._get_client(context))
  File "/root/mistral/mistral/actions/openstack/base.py", line 84, in _get_client
    return self._create_client(context)
  File "/root/mistral/mistral/actions/openstack/actions.py", line 107, in _create_client
    nova.API_MAX_VERSION
  File "/root/env/local/lib/python2.7/site-packages/novaclient/api_versions.py", line 261, in discover_version
    client)
  File "/root/env/local/lib/python2.7/site-packages/novaclient/api_versions.py", line 242, in _get_server_version_range
    version = client.versions.get_current()
  File "/root/env/local/lib/python2.7/site-packages/novaclient/v2/versions.py", line 70, in get_current
    return self._get_current()
  File "/root/env/local/lib/python2.7/site-packages/novaclient/v2/versions.py", line 53, in _get_current
    return self._get(url, "version")
  File "/root/env/local/lib/python2.7/site-packages/novaclient/base.py", line 353, in _get
    resp, body = self.api.client.get(url)
  File "/root/env/local/lib/python2.7/site-packages/keystoneauth1/adapter.py", line 386, in get
    return self.request(url, 'GET', **kwargs)
  File "/root/env/local/lib/python2.7/site-packages/novaclient/client.py", line 78, in request
    raise exceptions.from_response(resp, body, url, method)
NotAcceptable: Version 2.74 is not supported by the API. Minimum is 2.1 and maximum is 2.65. (HTTP 406) (Request-ID: req-7853813c-1003-4e5a-a1e
d-503f365e3a65)
: NotAcceptable: Version 2.74 is not supported by the API. Minimum is 2.1 and maximum is 2.65. (HTTP 406) (Request-ID: req-7853813c-1003-4e5a-a
1ed-503f365e3a65)
2019-09-08 20:07:52.909 23269 WARNING mistral.executors.default_executor [req-4607d9a1-6be0-41a3-97bc-aa0b673f0102 3502ac4dda5247829c20b6561c5d
188a 4a92824aa74445f28d7cf814a54ee283 - default default] The action raised an exception [action_ex_id=None, action_cls='<class 'mistral.actions
.action_factory.NovaAction'>', attributes='{u'client_method_name': u'servers.find'}', params='{u'status': u'available', u'id': u'abc'}']
 NovaAction.servers.find failed: Version 2.74 is not supported by the API. Minimum is 2.1 and maximum is 2.65. (HTTP 406) (Request-ID: req-7853
813c-1003-4e5a-a1ed-503f365e3a65): ActionException: NovaAction.servers.find failed: Version 2.74 is not supported by the API. Minimum is 2.1 an
d maximum is 2.65. (HTTP 406) (Request-ID: req-7853813c-1003-4e5a-a1ed-503f365e3a65)
2019-09-08 20:07:52.909 23269 ERROR mistral.executors.default_executor Traceback (most recent call last):
2019-09-08 20:07:52.909 23269 ERROR mistral.executors.default_executor File "/root/mistral/mistral/executors/default_executor.py", line 114,
in run_action
2019-09-08 20:07:52.909 23269 ERROR mistral.executors.default_executor result = action.run(action_ctx)
2019-09-08 20:07:52.909 23269 ERROR mistral.executors.default_executor File "/root/mistral/mistral/actions/openstack/base.py", line 130, in r
un
2019-09-08 20:07:52.909 23269 ERROR mistral.executors.default_executor (self.__class__.__name__, self.client_method_name, str(e))
2019-09-08 20:07:52.909 23269 ERROR mistral.executors.default_executor ActionException: NovaAction.servers.find failed: Version 2.74 is not sup
ported by the API. Minimum is 2.1 and maximum is 2.65. (HTTP 406) (Request-ID: req-7853813c-1003-4e5a-a1ed-503f365e3a65)
2019-09-08 20:07:52.909 23269 ERROR mistral.executors.default_executor
2019-09-08 20:07:52.910 23269 DEBUG mistral.executors.executor_server [req-4607d9a1-6be0-41a3-97bc-aa0b673f0102 3502ac4dda5247829c20b6561c5d188
a 4a92824aa74445f28d7cf814a54ee283 - default default] Sending action result to engine [action_ex_id=None, action_cls=mistral.actions.openstack.
actions.NovaAction] run_action /root/mistral/mistral/executors/executor_server.py:121

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.