Comment 19 for bug 1196666

Revision history for this message
weiguo sun (wsun2) wrote :

Hi Zhiteng,

At this point, I believe it is that glanceclient v2 didn't implement create function. See the following difference between v1 and v2

root@svl-ceph-10:~# grep create /usr/share/pyshared/glanceclient/v2/images.py
root@svl-ceph-10:~#
root@svl-ceph-10:~# grep create /usr/share/pyshared/glanceclient/v1/images.py
                   'size', 'id', 'created_at', 'updated_at')
    def create(self, **kwargs):
                msg = 'create() got an unexpected keyword argument \'%s\''

There is no create defined in v2 version of the glanceclient, which cinder uses when performing "upload-to-image".

--weiguo