第一张图,看执行镜像上传口令加--debug没报错显示上传成功,但是上传成功的镜像大小为0.无法使用
1
执行的命令为
openstack image create "cirros23456" --file cirros-0.3.5-x86_64-disk.img --disk-format qcow2 --container-format bare --public --debug
第二张图显示glance目录下文件大小也为0
2
第三张图是我重启glance-api /registry 的大致情况
3
4
下面是我的glance配置
[DEFAULT]
[cors]
[cors.subdomain]
[database]
connection = mysql+pymysql://glance:taiken@controller/glance
[glance_store]
stores = file,http,cinder
default_store = file
filesystem_store_datadir = /var/lib/glance/images/
[image_format]
[keystone_authtoken]
auth_url = http://controller:5000
auth_url = http://controller:35357
memcached_servers = controller:11211
auth_type = password
project_domain_name = default
user_domain_name = default
project_name = service
username = glance
password = itnihao
[matchmaker_redis]
[oslo_concurrency]
[oslo_messaging_amqp]
[oslo_messaging_kafka]
[oslo_messaging_notifications]
[oslo_messaging_rabbit]
[oslo_messaging_zmq]
[oslo_middleware]
[oslo_policy]
[paste_deploy]
flavor = keystone
[profiler]
[store_type_location_strategy]
[task]
[taskflow_executor]
执行镜像上传是成功的,但是也是失败的,因为上传的镜像后为0,做成镜像后的虚拟机以没有启动磁盘而无法启动。
请各位大神帮我看看
|
|