Ask Your Question

On Stein, "nova-status upgrade check" check failed [closed]

asked 2019-05-23 00:04:06 -0600

mystic gravatar image

updated 2019-05-23 20:31:53 -0600

[root@controller ~]# nova-status upgrade check

Traceback (most recent call last):
File "/usr/lib/python2.7/site-packages/nova/cmd/", line 515, in main
ret = fn(fn_args, *fn_kwargs)
File "/usr/lib/python2.7/site-packages/oslo_upgradecheck/", line 99, in check
result = func(self)
File "/usr/lib/python2.7/site-packages/nova/cmd/", line 160, in _check_placement
versions = self._placement_get("/")
File "/usr/lib/python2.7/site-packages/nova/cmd/", line 150, in _placement_get
return client.get(path, raise_exc=True).json()
File "/usr/lib/python2.7/site-packages/keystoneauth1/", line 375, in get
return self.request(url, 'GET', *kwargs)
File "/usr/lib/python2.7/site-packages/keystoneauth1/", line 237, in request
return self.session.request(url, method, *
File "/usr/lib/python2.7/site-packages/keystoneauth1/", line 890, in request
raise exceptions.from_response(resp, method, url)
Forbidden: Forbidden (HTTP 403)

[root@controller ~]#
edit retag flag offensive reopen merge delete

Closed for the following reason the question is answered, right answer was accepted by mystic
close date 2019-05-28 20:22:06.545978

1 answer

Sort by » oldest newest most voted

answered 2019-05-23 00:09:33 -0600

mystic gravatar image

I think it's a bug on Stein. It needs to edit the /etc/httpd/conf.d/00-placement-api.conf to add the following config inside <virtualhost *:8778=""> section.

<Directory /usr/bin>
<IfVersion >= 2.4>
    Require all granted
<IfVersion < 2.4>
    Order allow,deny
    Allow from all

But this info is not declared in the documentation.

edit flag offensive delete link more


This depends on how your cloud is deployed. For example, on my cloud nova-status upgrade check doesn't generate an error, and the placement config file is named 10-placement_wsgi.conf.

Perhaps Placement is not packaged correctly on Centos.

Bernd Bausch gravatar imageBernd Bausch ( 2019-05-23 00:14:55 -0600 )edit

No, it's a bug since queens version, which is still not fixed on Stein. (placement) The following link is the queen's nova installation. (Nova)

mystic gravatar imagemystic ( 2019-05-23 01:16:16 -0600 )edit

Maybe openstack thinks they had fixed the problem, so they removed the solution from the stein documentation. But, in fact, the problem still exists in the stein version.

mystic gravatar imagemystic ( 2019-05-23 01:19:19 -0600 )edit

I don’t want to split hairs, but the bug is in openstack-nova-placement-api-15.0.0-1.el7, which is the Red Hat package of the Placement service. It’s Red Hat’s packaging bug. Other distros’ packages are likely to be different.

Rocky and Stein Packstack on Centos don’t have this problem.

Bernd Bausch gravatar imageBernd Bausch ( 2019-05-23 01:47:44 -0600 )edit

Thanks a lot. I worked on rhel7.6.

mystic gravatar imagemystic ( 2019-05-23 03:56:38 -0600 )edit

Get to know Ask OpenStack

Resources for moderators

Question Tools

1 follower


Asked: 2019-05-23 00:04:06 -0600

Seen: 1,644 times

Last updated: May 23 '19