创建glance镜像报错HTTP403

403 Forbidden: You are not authorized to complete this action. (HTTP 403)

403禁止:未授权您完成此操作。(HTTP 403)

[root@controller ~]# openstack image create "cirros" \
>   --file cirros-0.3.4-x86_64-disk.img \
>   --disk-format qcow2 --container-format bare \
>   --public
403 Forbidden: You are not authorized to complete this action. (HTTP 403)

出现这种错误一般是配置文件中flavor=keystone没有写

[paste_deploy]
flavor = keystone

查看两个配置文件glance.api与glance.registry中[paste_deploy]是否有误

你可能感兴趣的:(OpenStack错误整理,openstack,glance,创建,http403)