Grizzly Quantum CLI Auth Failure

Asked by Bruce Martins

I am installing the Openstack Grizzly release, I have keystone setup and operating properly as well as glance with an image imported, I installed quantum and configured it for the most part the same way I did with the folsom release but I get auth failures when executing commands.

OUTPUT:

~$ quantum net-list
401 Unauthorized

This server could not verify that you are authorized to access the document you requested. Either you supplied the wrong credentials (e.g., bad password), or your browser does not understand how to supply the credentials required.

 Authentication required

QUANTUM LOG: (DEBUG)

2013-04-13 09:10:30 DEBUG [keystoneclient.middleware.auth_token] Token validation failure.
Traceback (most recent call last):
  File "/usr/lib/python2.7/dist-packages/keystoneclient/middleware/auth_token.py", line 688, in _validate_user_token
    verified = self.verify_signed_token(user_token)
  File "/usr/lib/python2.7/dist-packages/keystoneclient/middleware/auth_token.py", line 1043, in verify_signed_token
    if self.is_signed_token_revoked(signed_text):
  File "/usr/lib/python2.7/dist-packages/keystoneclient/middleware/auth_token.py", line 1007, in is_signed_token_revoked
    revocation_list = self.token_revocation_list
  File "/usr/lib/python2.7/dist-packages/keystoneclient/middleware/auth_token.py", line 1079, in token_revocation_list
    self.token_revocation_list = self.fetch_revocation_list()
  File "/usr/lib/python2.7/dist-packages/keystoneclient/middleware/auth_token.py", line 1106, in fetch_revocation_list
    raise ServiceError('Unable to fetch token revocation list.')
ServiceError: Unable to fetch token revocation list.
2013-04-13 09:10:30 DEBUG [keystoneclient.middleware.auth_token] Marking token MIIJjAYJKoZIhvcNAQcCoIIJfTCCCXkCAQExCTAHBgUrDgMCGjCCCGUGCSqGSIb3DQEHAaCCCFYEgghSeyJhY2Nlc3MiOiB7InRva2Vupc3N1ZWRfYXQiOiAiMjAxMy0wNC0xM1QxMzoxMDoyOS4zNTM4MzgiLCAiZXhwaXJlcyI6ICIyMDEzLTA0LTE0VDEzOjEwOjI5WiIsICJpZCI6ICJwbGFjZWhvbGRlciIsICJ0ZW5hbnQiOiB7ImRlc2NyaXB0aW9uIjogbnVsbCwgImVuYWJsZWQiOLCAiaWQiOiAiNTg0MzU1YjRhYmQxN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cm5hbWUiOiAibXlhZG1pbiIsICJysaW5rcyI6IFtdLCAiaWQiOiAiZWI1MDA0ZjgxMTliNDU5OThmZWY0ZTc1ZmQ1YzYyMzQiLCAicm9sZXMiOiBbeyJuYW1lIjogIl9tZW1iZXJfIn0sIHsibmFtZSI6ICJhZG1pbiJ9XSwgIm5hbWUiOiAibXlhZG1pbiJ9LCAibWV0YWRhdGEiOiB7IbWluIjogMCwgInJvbGVzIjogWyI5ZmUyZmY5ZWU0Mzg0YjE4OTRhOTA4NzhkM2U5MmJhYiIsICJiMGRlOWM4NDIzZmM0YjE5OWQ3MTMzYWMzODU4MGFmNiJdfX19MYH-MIH8AgEBMFwwVzELMAkGA1UEBhMCVVMxDjAMBgNVBAgTBVVuc2V0MQ4wDAwVVbnNldDEOMAwGA1UEChMFVW5zZXQxGDAWBgNVBAMTD3d3dy5leGFtcGxlLmNvbQIBATAHBgUrDgMCGjANBgkqhkiG9w0BAQEFAASBgIqpbLWWYPVgYn5bxkitbEEKLZAQmGSR3oCXsJxVn-AjVqqThYKJLiHQs7CedGyHp+qhIkJchS3ZzYdsh3N2-IxoEMY1Vsdm4yq1NSm3S1cGmCdGJ4+iUZkQNT2D8Ti85JlPXfratYnubwN5q0IhGpsscyuxrmH7mrJYU
2013-04-13 09:10:30 INFO [keystoneclient.middleware.auth_token] Invalid user token - rejecting request

-------------------------------------------------log snippet end --------------------------------------------------------------

Question information

Language:
English Edit question
Status:
Solved
For:
neutron Edit question
Assignee:
No assignee Edit question
Solved by:
Bruce Martins
Solved:
Last query:
Last reply:
Revision history for this message
Bruce Martins (bmartins) said :
#1

resolved it, typo in my quantum config was point to another instance of keystone on the network it should have

Revision history for this message
Klaudia (graklaudia) said :
#2

did you manages to solve this problem? I have similar one, I cant quantum net-list cause i get

root@grizzly:~# quantum net-list
[Errno 111] Connection refused

Do you know why? :)

Revision history for this message
sngirame (sngirame) said :
#3

In keystone.conf, try putting enable = False instead of enable = True in [ssl] section & give a try.