Re: [openstack-dev] Keystone Authorization Failed: Forbidden (HTTP 403)

2016-04-27 Thread Dhvanan Shah
Hi, Problem resolved. curl 10.16.37.221:5000 returned access denied. So I added a no proxy for the host ip in the browser after which it began returning the JSON data. After this I exported the same in my keystone_adminrc file as Chinmaya pointed out. That solved the problem and it no longer

Re: [openstack-dev] Keystone Authorization Failed: Forbidden (HTTP 403)

2016-04-27 Thread Dolph Mathews
On Wed, Apr 27, 2016 at 6:53 AM, Dhvanan Shah wrote: > Hi, > > Enabling the debug flag didn't give any additional information. > > 2 node Cluster means that I have one controller that also runs the compute > and an additional compute node, thus 2 node OpenStack Cluster. > >

Re: [openstack-dev] Keystone Authorization Failed: Forbidden (HTTP 403)

2016-04-27 Thread Chinmaya Bharadwaj
Hi, Looks like its connecting to proxy first, Starting new HTTP connection (1): proxy.serc.iisc.ernet.in ​Try export no_proxy= ​ #Chinmaya On 27 April 2016 at 17:23, Dhvanan Shah wrote: > Hi, > > Enabling the debug flag didn't give any additional information. > > 2 node

Re: [openstack-dev] Keystone Authorization Failed: Forbidden (HTTP 403)

2016-04-27 Thread Jens Rosenboom
2016-04-27 12:43 GMT+02:00 Dhvanan Shah : > keystone --debug user-list gives this: > > /usr/lib/python2.7/site-packages/keystoneclient/shell.py:65: > DeprecationWarning: The keystone CLI is deprecated in favor of > python-openstackclient. For a Python library, continue using >

Re: [openstack-dev] Keystone Authorization Failed: Forbidden (HTTP 403)

2016-04-27 Thread Dhvanan Shah
Hi, Enabling the debug flag didn't give any additional information. 2 node Cluster means that I have one controller that also runs the compute and an additional compute node, thus 2 node OpenStack Cluster. The problem here is not with the password as I am able to log in through the dashboard.

Re: [openstack-dev] Keystone Authorization Failed: Forbidden (HTTP 403)

2016-04-27 Thread Dolph Mathews
Depending on which release of keystone you're running, try enabling either insecure_debug (more recent releases) or debug (older releases) to true in keystone.conf to get more detailed error messages from keystone.

Re: [openstack-dev] Keystone Authorization Failed: Forbidden (HTTP 403)

2016-04-27 Thread Dhvanan Shah
keystone --debug user-list gives this: /usr/lib/python2.7/site-packages/keystoneclient/shell.py:65: DeprecationWarning: The keystone CLI is deprecated in favor of python-openstackclient. For a Python library, continue using python-keystoneclient. 'python-keystoneclient.', DeprecationWarning)

Re: [openstack-dev] Keystone Authorization Failed: Forbidden (HTTP 403)

2016-04-27 Thread Dhvanan Shah
On running openstack-status this is what I get (all the services are running, so not included that here) == Keystone users == /usr/lib/python2.7/site-packages/keystoneclient/shell.py:65: DeprecationWarning: The keystone CLI is deprecated in favor of python-openstackclient. For a Python library,

Re: [openstack-dev] Keystone Authorization Failed: Forbidden (HTTP 403)

2016-04-27 Thread Dhvanan Shah
Hi Jens, The password is correct when I echo $OS_PASSWORD. I downloaded the admin-openrc.sh file from the dashboard and sourced. I ran a nova list after that: No handlers could be found for logger "keystoneclient.auth.identity.generic.base" ERROR (Forbidden): Forbidden (HTTP 403) It still gives

Re: [openstack-dev] Keystone Authorization Failed: Forbidden (HTTP 403)

2016-04-27 Thread Jens Rosenboom
2016-04-27 10:30 GMT+02:00 Dhvanan Shah : > UPDATE: > I am able to log into Horizon and perform all actions without any issue but > on my terminal, I am not able to do the same. The password that I thought > was wrong is not the issue as I logged in with the same password. > My

Re: [openstack-dev] Keystone Authorization Failed: Forbidden (HTTP 403)

2016-04-27 Thread Dhvanan Shah
UPDATE: I am able to log into Horizon and perform all actions without any issue but on my terminal, I am not able to do the same. The password that I thought was wrong is not the issue as I logged in with the same password. My keystone_adminrc file looks like this: unset OS_SERVICE_TOKEN

Re: [openstack-dev] Keystone Authorization Failed: Forbidden (HTTP 403)

2016-04-27 Thread Dhvanan Shah
All the services are running properly, it is just that the any action performed says I am not authenticated or Forbidden (403) which means that there is an authorization problem. In my keystone_adminrc file I have exported all the environment variables and also set the admin password. Can it be

Re: [openstack-dev] Keystone Authorization Failed: Forbidden (HTTP 403)

2016-04-27 Thread Dhvanan Shah
http://10.16.37.221:35357/v2.0/tokens/34e4b79b157a4526bc8ebb80b82cbf62 This link corresponding to the above token shows this error message - {"error": {"message": "The request you have made requires authentication.", "code": 401, "title": "Unauthorized"}} So there is a problem in

[openstack-dev] Keystone Authorization Failed: Forbidden (HTTP 403)

2016-04-27 Thread Dhvanan Shah
Hi, I have a 2 node OpenStack cluster setup running on CentOS. Due to some reason now I'm unable to perform any actions as it is not able to authorize me, it shows an error message saying "Authorization Failed: Forbidden (HTTP 403)" for Keystone when I run the command openstack-status and for