glance backend with swift upload image problem
I'm trying to use swift as glance backend,when I upload an image:
root@stack0:~# glance add name="Ubuntu 12.04 Server" is_public=true container_
Uploading image 'Ubuntu 12.04 Server'
=======
Data supplied was not valid.
Details: 400 Bad Request
The server could not comply with the request since it is either malformed or otherwise incorrect.
Error uploading image: (SSLError): [Errno 1] _ssl.c:504: error:140770FC:SSL routines:
Note: Your image metadata may still be in the registry, but the image's status will likely be 'killed'.
=======
After this,I deleted the "killed" row and upload again,but it goes the same : (
my relevant configs:
glance-api.conf :
default_store = swift
swift_store_
swift_store_
swift_store_user = service:swift
swift_store_key = swift
swift_store_
swift_store_
swift_store_
swift_store_
swift_enable_snet = False
I use keytone as swift authentication service
swiftrc:
export OS_AUTH_
export OS_AUTH_USER=swift
export OS_AUTH_KEY=swift
export OS_AUTH_URL=http://
and swift works well:
root@stack0:~# swift stat
Account: AUTH_0aa35caa39
Containers: 1
Objects: 4
Bytes: 260412361
Accept-Ranges: bytes
X-Trans-Id: txc5d880971cf04
anyone can help me solve this probelm?
Thanks,Delacroix.
Question information
- Language:
- English Edit question
- Status:
- Solved
- Assignee:
- No assignee Edit question
- Solved by:
- Victor Delacroix
- Solved:
- Last query:
- Last reply: