openstack创建实例计算节点报错

版权声明:转发请带出处 联系qq:1113997619 邮箱:[email protected] https://blog.csdn.net/hutiewei2008/article/details/87971379

openstack创建实例计算节点报错,compute的nova-compute.log如下 403 Forbidden, You don't have permission to access /resource_providers on this server

Failed to retrieve resource provider tree from placement API for UUID a4c9bc7f-8006-4b0e-b426-0feb30d4a939. Got 403: <!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">
<html><head>
<title>403 Forbidden</title>
</head><body>
<h1>Forbidden</h1>
<p>You don't have permission to access /resource_providers
on this server.</p>
</body></html>

 Error updating resources for node compute.: ResourceProviderRetrievalFailed: Failed to get resource provider with UUID  a4c9bc7f-8006-4b0e-b426-0feb30d4a939

openstack计算节点没权限

配置计算机的/etc/httpd/conf.d/00-nova-placement-api.conf配置文件

添加下边配置:

<Directory /usr/bin>

   <IfVersion >= 2.4>

      Require all granted

   </IfVersion>

   <IfVersion < 2.4>

      Order allow,deny

      Allow from all

   </IfVersion>

</Directory>

之后重启计算节点和控制节点openstack服务即可。

猜你喜欢

转载自blog.csdn.net/hutiewei2008/article/details/87971379