Thanks Kris appreciate your help, added the below lines under [keystone_authtoken] now it is connecting to keystone
[keystone_authtoken] auth_uri = http://controller:5000/v2.0 identity_uri = http://controller:35357/ admin_tenant_name = service admin_user = designate admin_password = ATTlabs1! On Tue, May 10, 2016 at 1:57 PM, Kris G. Lindgren <klindg...@godaddy.com> wrote: > Which section of the config did you add that to? The [keystone_authtoken] > section? > > Also that section seems to want auth_host: > https://github.com/openstack/designate/blob/master/etc/designate/designate.conf.sample#L158 > ___________________________________________________________________ > Kris Lindgren > Senior Linux Systems Engineer > GoDaddy > > From: raju <raju.r...@gmail.com> > Date: Tuesday, May 10, 2016 at 11:52 AM > To: "openstack-operators@lists.openstack.org" < > openstack-operators@lists.openstack.org> > Subject: [Openstack-operators] Designate keystone auth issue > > Hi All, > > I am trying to integrate designate(Dnaas) with my existing kilo > environment and deployed designate in a separate node where I specified to > connect to keystone(controller) server but still it is hitting on localhost > while am trying to do api calls. > > designate conf: > > auth_uri = http://controller:5000/v2.0 > identity_uri = http://controller:35357/ > admin_tenant_name = service > admin_user = designate > admin_password = **** > > > error log: > > DEBUG keystoneclient.session [-] REQ: curl -g -i -X GET > *https://127.0.0.1:35357 > <https://127.0.0.1:35357> *-H "Accept: application/json" -H "User-Agent: > python-keystoneclient" _http_log_request > /usr/lib/python2.7/site-packages/keystoneclient/session.py:195 > 2016-05-10 13:39:38.175 27473 INFO > requests.packages.urllib3.connectionpool [-] Starting new HTTPS connection > (5): 127.0.0.1 > 2016-05-10 13:39:38.176 27473 WARNING keystonemiddleware.auth_token [-] > Authorization failed for token > 2016-05-10 13:39:38.177 27473 INFO keystonemiddleware.auth_token [-] > Invalid user token - rejecting request > 2016-05-10 13:39:38.177 27473 INFO eventlet.wsgi [-] 127.0.0.1 - - > [10/May/2016 13:39:38] "GET /v1/servers HTTP/1.1" 401 283 0.005058 > 2016-05-10 13:39:38.363 27473 DEBUG keystoneclient.session [-] REQ: curl > -g -i -X GET https://127.0.0.1:35357 -H "Accept: application/json" -H > "User-Agent: python-keystoneclient" _http_log_request > /usr/lib/python2.7/site-packages/keystoneclient/session.py:195 > 2016-05-10 13:39:38.365 27473 INFO > requests.packages.urllib3.connectionpool [-] Starting new HTTPS connection > (6): 127.0.0.1 > 2016-05-10 13:39:38.366 27473 WARNING keystonemiddleware.auth_token [-] > Authorization failed for token > 2016-05-10 13:39:38.366 27473 INFO keystonemiddleware.auth_token [-] > Invalid user token - rejecting request > 2016-05-10 13:39:38.367 27473 INFO eventlet.wsgi [-] 127.0.0.1 - - > [10/May/2016 13:39:38] "GET /v1/servers HTTP/1.1" 401 283 0.004249 >
_______________________________________________ OpenStack-operators mailing list OpenStack-operators@lists.openstack.org http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-operators