Unable to use freezer-api 6.0 in queens

asked 2019-03-06 02:10:50 -0500

mohitdhingra gravatar image

I have install as ran the api in controller node.

[root@overcloud-controller-0 ~]# freezer-api /usr/lib/python2.7/site-packages/paste/deploy/loadwsgi.py:22: PkgResourcesDeprecationWarning: Parameters to load are deprecated. Call .resolve and .require separately. return pkg_resources.EntryPoint.parse("x=" + s).load(False) serving on http://192.168.27.13:9090

And the api is running fine,

(overcloud) [root@director ~]# curl http://192.168.27.13:9090 {"versions": [{"status": "EXPERIMENTAL", "updated": "2017-04-21T17:00:00", "id": "v2", "links": [{"href": "http://192.168.27.13:9090/v2/", "rel": "self"}]}, {"status": "CURRENT", "updated": "2015-03-23T13:45:00", "id": "v1", "links": [{"href": "http://192.168.27.13:9090/v1/", "rel": "self"}]}]}(overcloud) [root@director ~]#

but whenever i am trying to connect the api from freezer client i am getting below error.

overcloud) [root@director ~]# freezer client-list [*] Error 401: {"error": {"message": "The request you have made requires authentication.", "code": 401, "title": "Unauthorized"}} (overcloud) [root@director ~]#

Any solution for that.

edit retag flag offensive close merge delete