<div dir="ltr">Hi,<div><br></div><div>We have glance configured with s3 backend on ceph. Everything is fine except new image creation. Looks like glance expects image size field to enable multipart upload, but on new image creation this value are still empty.</div><div><br></div><div>Our example via glance v2:</div><div><br></div><div># glance image-create --name "some-large-image" --file some-large-image.qcow2 --disk-format qcow2 --container-format bare --visibility public --progress<br></div><div><br></div><div>I've managed to upload the image via glance v1 using size option:</div><div><div><br></div><div># glance image-create --size 15559163904 --name "some-large-image" --file some-large-image.qcow2 --disk-format qcow2 --container-format bare --progress</div><div><br></div><div>This method is a little buggy, because I don't know the size of the image before it's completely uploaded to ceph s3. qemu-img info gives different size.. And would be nice to do it via glance apie v2.</div><div><br></div><div>We use openstack liberty on centos 7. Packages are from centos cloud repo: <a href="http://mirror.centos.org/centos/7/cloud/x86_64/openstack-liberty/">http://mirror.centos.org/centos/7/cloud/x86_64/openstack-liberty/</a><br></div><div><br></div><div>Anybody could give some advice on how to enable multipart from glance image-create command? </div><div>Thank you in advance!</div><div><br></div><div><br></div>-- <br><div class="gmail_signature"><div dir="ltr">Marius Vaitiekūnas</div></div>
</div></div>