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
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 pyshared/ glanceclient/ v1/images. py
'size' , 'id', 'created_at', 'updated_at')
root@svl-ceph-10:~#
root@svl-ceph-10:~# grep create /usr/share/
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