Ask Your Question

Failed to create resource provider record in placement API for UUID 45d80a41-13ca-425b-84a2-60eaf454119f. Got 503:

asked 2017-11-13 06:26:35 -0500

s-esm gravatar image

Dear Members,

I try to manually install openstack with 3 nodes (controller, network, compute).

I have installed keystone and glance successfully but when I installed nova it is giving some errors in compute-node:/var/log/nova/nova-compute.log.

  • OS:CentOS7.4
  • Version:Pike


2017-11-13 11:37:56.030 16477 ERROR [req-899eb41e-b694-4420-8762-62688fc1451f - - - - -] [req-cf53b99b-be14-43f3-90ca-dec175bba31d] Failed to retrieve resource provider record from placement API for UUID 45d80a41-13ca-425b-84a2-60eaf454119f. Got 503: <html>
  <title>503 Service Unavailable</title>
  <h1>503 Service Unavailable</h1>
  The server is currently unavailable. Please try again at a later time.<br /><br />
2017-11-13 11:37:56.857 16477 WARNING [req-899eb41e-b694-4420-8762-62688fc1451f - - - - -] Unable to refresh my resource provider record


enabled_apis = osapi_compute,metadata
transport_url = rabbit://openstack:password@controller
my_ip =
use_neutron = True
firewall_driver = nova.virt.firewall.NoopFirewallDriver

connection = mysql+pymysql://nova:password@controller/nova_api

connection = mysql+pymysql://nova:password@controller/nova

auth_strategy = keystone

auth_uri = http://controller:5000
auth_url = http://controller:35357
memcached_servers = controller:11211
auth_type = password
project_domain_name = default
user_domain_name = default
project_name = service
username = nova
password = password

enabled = true
vncserver_listen = $my_ip
vncserver_proxyclient_address = $my_ip

api_servers = http://controller:9292

lock_path = /var/lib/nova/tmp

os_region_name = RegionOne
project_domain_name = default
project_name = service
auth_type = password
user_domain_name = default
auth_url = http://controller:35357/v3
username = placement
password = password


Listen 8778

<VirtualHost *:8778>
  WSGIProcessGroup nova-placement-api
  WSGIApplicationGroup %{GLOBAL}
  WSGIPassAuthorization On
  WSGIDaemonProcess nova-placement-api processes=3 threads=1 user=nova group=nova
  WSGIScriptAlias / /usr/bin/nova-placement-api
  <IfVersion >= 2.4>
    ErrorLogFormat "%M"
  ErrorLog /var/log/nova/nova-placement-api.log
  #SSLEngine On
  #SSLCertificateFile ...
  #SSLCertificateKeyFile ...

Alias /nova-placement-api /usr/bin/nova-placement-api
<Location /nova-placement-api>
  SetHandler wsgi-script
  Options +ExecCGI
  WSGIProcessGroup nova-placement-api
  WSGIApplicationGroup %{GLOBAL}
  WSGIPassAuthorization On

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

Any help would be highly appreciated. Thanks.

edit retag flag offensive close merge delete


this help mine.

I was installing on CentOS 7 with train.

Nepolean.Salam gravatar imageNepolean.Salam ( 2020-03-15 14:56:26 -0500 )edit

2 answers

Sort by ยป oldest newest most voted

answered 2017-11-14 05:48:07 -0500

Mohit gravatar image

Try : su -s /bin/sh -c "nova-manage cell_v2 discover_hosts --verbose" nova

edit flag offensive delete link more

answered 2017-11-14 06:23:16 -0500

s-esm gravatar image

Thanks for your response.

I tryied it, but I still have error..

[root@controller ~]# su -s /bin/sh -c "nova-manage cell_v2 discover_hosts --verbose" nova
Found 2 cell mappings.
Skipping cell0 since it does not contain hosts.
Getting compute nodes from cell 'cell1': 31e51fbb-ded3-4954-a8fd-8686e98058d8
Found 0 unmapped computes in cell: 31e51fbb-ded3-4954-a8fd-8686e98058d8
[root@controller ~]#
[root@controller ~]# openstack compute service list
The server is currently unavailable. Please try again at a later time.<br /><br />
 (HTTP 503) (Request-ID: req-b984e127-4a9b-44c4-8cef-77edf7e1ec1b)
[root@controller ~]#
[root@controller ~]# nova-status upgrade check
Traceback (most recent call last):
  File "/usr/lib/python2.7/site-packages/nova/cmd/", line 459, in main
    ret = fn(*fn_args, **fn_kwargs)
  File "/usr/lib/python2.7/site-packages/nova/cmd/", line 389, in check
    result = func(self)
  File "/usr/lib/python2.7/site-packages/nova/cmd/", line 203, in _check_placement
    versions = self._placement_get("/")
  File "/usr/lib/python2.7/site-packages/nova/cmd/", line 191, in _placement_get
    return client.get(path, endpoint_filter=ks_filter).json()
  File "/usr/lib/python2.7/site-packages/keystoneauth1/", line 845, in get
    return self.request(url, 'GET', **kwargs)
  File "/usr/lib/python2.7/site-packages/positional/", line 101, in inner
    return wrapped(*args, **kwargs)
  File "/usr/lib/python2.7/site-packages/keystoneauth1/", line 742, in request
    raise exceptions.from_response(resp, method, url)
ServiceUnavailable: Service Unavailable (HTTP 503) (Request-ID: req-613f5a12-b74f-425a-a10f-f90601681c79)
[root@controller ~]#
edit flag offensive delete link more

Get to know Ask OpenStack

Resources for moderators

Question Tools

1 follower


Asked: 2017-11-13 06:26:35 -0500

Seen: 3,546 times

Last updated: Nov 14 '17