VM启动失败,log显示image未认证

计算节点启动vm时报错:
nova.openstack.common.rpc.amqp ImageNotAuthorized: Not authorized for image ab3a8302-b41c-4649-98a4-d4dbd2231e73.

google网上查说是
Well, after almost two days of wondering why second cluster does not work I have found the culprit.

nova.conf was missing the following line:
---auth_strategy=keystone


Without ir nova-compute does not attempt to auth agaisnt Keystone and send auth token to Glance.

于是在 /etc/nova/nova.conf中 增加
[DEFAULT]
auth_strategy=keystone
然后就OK了

转:https://blog.csdn.net/tsjsdbd/article/details/14483677

 

posted @ 2021-08-12 11:41  RoyFans  阅读(178)  评论(0编辑  收藏  举报