I want to launch an instance from an image which size is 1TB in my openstack pike environment which uses cinder with ceph as storage backend. The volume creation process for that instance fails with the following message:
logs schedule allocate volume:Could not find any available weighted backend.
When I looked in cinder logs, I found this message:
...raise exc.from_response(resp, resp.content)\n', 'glanceclient.exc.HTTPUnauthorized: HTTP 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...
And a few lines later, I see this:
...cinder.exception.ImageNotAuthorized: Not authorized for image...
However, I can successfully create any instance with a smaller image size.
First, I suspected of token expiration in keystone, since the volume creation takes up to 4-5 hours. I raised its expiration time up to 48 hours, but the failure keeps the same.
Is it possible that glance has some token expiration time on itself, or it should be global from keystone?
0 Answers