Public bug reported:

I installed nova/glance and configured glance api to use swift as the
backend. I then had to install swift but an attempt to use 'glance add'
gives:

Failed to add image. Got error:
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: (TypeError): __init__() got an unexpected
keyword argument 'auth_version'

This seem to be because the Connection constructor was updated in swift
to take this argument, but the version in Precise is older. Versions:

root@se02-1:~# dpkg -l glance
Desired=Unknown/Install/Remove/Purge/Hold
| Status=Not/Inst/Conf-files/Unpacked/halF-conf/Half-inst/trig-aWait/Trig-pend
|/ Err?=(none)/Reinst-required (Status,Err: uppercase=bad)
||/ Name                      Version                   Description
+++-=========================-=========================-==================================================================
ii  glance                    2012.1-0ubuntu1           OpenStack Image 
Registry and Delivery Service - Daemons
root@se02-1:~# dpkg -l swift
Desired=Unknown/Install/Remove/Purge/Hold
| Status=Not/Inst/Conf-files/Unpacked/halF-conf/Half-inst/trig-aWait/Trig-pend
|/ Err?=(none)/Reinst-required (Status,Err: uppercase=bad)
||/ Name                      Version                   Description
+++-=========================-=========================-==================================================================
ii  swift                     1.4.7-0ubuntu3            distributed virtual 
object store - common files
r

** Affects: swift (Ubuntu)
     Importance: Undecided
         Status: New

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/977458

Title:
  Version skew  with glance in Precise

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/swift/+bug/977458/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to