错误现象
[root@ct ~]# openstack image create --file cirros-0.4.0-x86_64-disk.img --disk-format qcow2 --container-format bare --public cirros
HTTP 500 Internal Server Error: The server has either erred or is incapable of performing the requested operation.
解决
[root@ct ~]# su -s /bin/sh -c "glance-manage db_sync" glance
原因
没有初始化glance数据库