ERROR gnocchi ClientException: Authorization Failure. Authorization failed: The resource could not be found. (HTTP 404)
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Gnocchi |
Invalid
|
Undecided
|
Unassigned |
Bug Description
Hi,
I am trying to setup Gnocchi with Ceilometer on Newton release. I followed steps to install Gnocchi from this link : https:/
While running gnocchi-upgrade, I am getting this error on screen and it fails to start:
2017-02-20 12:53:21.272 3321 ERROR swiftclient [-] Authorization Failure. Authorization failed: The resource could not be found. (HTTP 404)
2017-02-20 12:53:21.272 3321 ERROR swiftclient Traceback (most recent call last):
2017-02-20 12:53:21.272 3321 ERROR swiftclient File "/usr/lib/
2017-02-20 12:53:21.272 3321 ERROR swiftclient self.url, self.token = self.get_auth()
2017-02-20 12:53:21.272 3321 ERROR swiftclient File "/usr/lib/
2017-02-20 12:53:21.272 3321 ERROR swiftclient timeout=
2017-02-20 12:53:21.272 3321 ERROR swiftclient File "/usr/lib/
2017-02-20 12:53:21.272 3321 ERROR swiftclient auth_version=
2017-02-20 12:53:21.272 3321 ERROR swiftclient File "/usr/lib/
2017-02-20 12:53:21.272 3321 ERROR swiftclient raise ClientException
2017-02-20 12:53:21.272 3321 ERROR swiftclient ClientException: Authorization Failure. Authorization failed: The resource could not be found. (HTTP 404)
2017-02-20 12:53:21.272 3321 ERROR swiftclient
2017-02-20 12:53:21.273 3321 CRITICAL gnocchi [-] ClientException: Authorization Failure. Authorization failed: The resource could not be found. (HTTP 404)
2017-02-20 12:53:21.273 3321 ERROR gnocchi Traceback (most recent call last):
2017-02-20 12:53:21.273 3321 ERROR gnocchi File "/usr/local/
2017-02-20 12:53:21.273 3321 ERROR gnocchi sys.exit(upgrade())
2017-02-20 12:53:21.273 3321 ERROR gnocchi File "/usr/local/
2017-02-20 12:53:21.273 3321 ERROR gnocchi s = storage.
2017-02-20 12:53:21.273 3321 ERROR gnocchi File "/usr/local/
2017-02-20 12:53:21.273 3321 ERROR gnocchi conf.incoming)
2017-02-20 12:53:21.273 3321 ERROR gnocchi File "/usr/local/
2017-02-20 12:53:21.273 3321 ERROR gnocchi self.swift.
2017-02-20 12:53:21.273 3321 ERROR gnocchi File "/usr/lib/
2017-02-20 12:53:21.273 3321 ERROR gnocchi query_string=
2017-02-20 12:53:21.273 3321 ERROR gnocchi File "/usr/lib/
2017-02-20 12:53:21.273 3321 ERROR gnocchi self.url, self.token = self.get_auth()
2017-02-20 12:53:21.273 3321 ERROR gnocchi File "/usr/lib/
2017-02-20 12:53:21.273 3321 ERROR gnocchi timeout=
2017-02-20 12:53:21.273 3321 ERROR gnocchi File "/usr/lib/
2017-02-20 12:53:21.273 3321 ERROR gnocchi auth_version=
2017-02-20 12:53:21.273 3321 ERROR gnocchi File "/usr/lib/
2017-02-20 12:53:21.273 3321 ERROR gnocchi raise ClientException
2017-02-20 12:53:21.273 3321 ERROR gnocchi ClientException: Authorization Failure. Authorization failed: The resource could not be found. (HTTP 404)
2017-02-20 12:53:21.273 3321 ERROR gnocchi
Changed in gnocchi: | |
status: | Triaged → Invalid |
Hi Amit!
Could you check if you configured swift access correctly in gnocchi.conf? That seems to be your problem here. If you can share your configuration value that would help.