报错现象:
解决办法:
初始化glance数据库,生成相关表结构
[root@ct ~]# su -s /bin/sh -c "glance-manage db_sync" glance
重启服务查看端口状态再次上传
[root@ct ~]# systemctl restart openstack-glance-api.service
[root@ct ~]# netstat -natp | grep 9292
tcp 0 0 0.0.0.0:9292 0.0.0.0:* LISTEN 26061/python2
[root@ct ~]# openstack image create --file cirros-0.3.5-x86_64-disk.img --disk-format qcow2 --container-format bare --public cirros
上传成功问题解决