controller node
upload image *image.vmdk /tmp/images
#source keystonerc_admin
start convert from *.vmdk to qcow2
#qemu-img convert -f vmdk -O qcow2 centos7.vmdk centos7.qcow2
create image
#glance image-create --name=Centos-7-x86_64 --disk-format=qcow2 --container-format=bare --is-public=True < centos7.qcow2
Output:
+------------------+--------------------------------------+ | Property | Value | +------------------+--------------------------------------+ | checksum | d52a89842efcd3d92200a53f7d1bc500 | | container_format | bare | | created_at | 2015-10-23T22:18:08.000000 | | deleted | False | | deleted_at | None | | disk_format | qcow2 | | id | acf95971-fe84-4320-be51-b895e756eeb3 | | is_public | True | | min_disk | 0 | | min_ram | 0 | | name | Centos-7-x86_64 | | owner | 44354d05368d4137b832870fd9e920e9 | | protected | False | | size | 2805137408 | | status | active | | updated_at | 2015-10-23T22:18:41.000000 | | virtual_size | None | +------------------+--------------------------------------+