Error 412 between Glance and Swift - TempAuth
Hello!
I am having an issue when I am trying to upload an image to Glance. Glance is working fine when I am using the default_store =file.
Since I installed Swift, I wanted to upload my images there with Glance.
I changed the following fields in the glance-api.conf:
default_store = swift
swift_store_
swift_store_user = system:root
swift_store_key = mypass
swift_store_
swift_store_
Then I restarted Glance API, and used the glance command to upload an image, but I got this error:
-------
glance add -A stack0t name=ttylinux-
Failed to add image. Got error:
400 Bad Request
The server could not comply with the request since it is either malformed or otherwise incorrect.
Error uploading image: (ClientException): Auth GET failed: http://
Note: Your image metadata may still be in the registry, but the image's status will likely be 'killed'.
-------
I poked around a little, look at some Launchpad threads but none of the solutions worked for me.
I tried with a Glance stable/diablo and a Glance trunk version but the error is the same.
I am using Swift 1.4.5. I can check my installation with the "swift stat -v" and a curl command, they both work fine.
Does anyone had this issue before?
Thanks a ton for your help!
Warik
Question information
- Language:
- English Edit question
- Status:
- Solved
- For:
- Glance Edit question
- Assignee:
- No assignee Edit question
- Solved by:
- Warik
- Solved:
- Last query:
- Last reply: