Undercloud install is failing with Forbidden (HTTP 403)

Solution In Progress - Updated -

Issue

  • Undercloud install did not complete successfully, seeing permission denied when trying to run: ironic node-list or openstack stack list. Able to run openstack subnet list and openstack image list without issue.

  • Undercloud install fails with:

2018-01-31 09:53:20,940 DEBUG: GET call to compute for http://192.168.24.1:8774/v2.1/flavors/detail used request id req-340e20d9-de5c-45c6-b583-3767a94d338e
2018-01-31 09:53:20,942 DEBUG: REQ: curl -g -i -X GET http://192.168.24.1:6385/v1/nodes/?fields=uuid,resource_class -H "X-OpenStack-Ironic-API-Version: 1.21" -H "User-Agent: python-ironicclient" -H "Content-Type: application/json" -H "Accept: application/json" -H "X-Auth-Token: {SHA1}c2483d4d77aea8c532f4d0abc24f42cf753cbbaf"
2018-01-31 09:53:20,943 INFO: Starting new HTTP connection (1): 192.168.24.1
2018-01-31 09:53:20,944 DEBUG: "GET /v1/nodes/?fields=uuid,resource_class HTTP/1.1" 403 211
2018-01-31 09:53:20,944 DEBUG: RESP: [403] Date: Wed, 31 Jan 2018 14:53:20 GMT Server: Apache Content-Length: 211 Keep-Alive: timeout=15, max=100 Connection: Keep-Alive Content-Type: text/html; charset=iso-8859-1
RESP BODY: Omitted, Content-Type is set to text/html; charset=iso-8859-1. Only application/json responses have their bodies logged.

2018-01-31 09:53:20,945 DEBUG: An exception occurred
Traceback (most recent call last):
  File "/usr/lib/python2.7/site-packages/instack_undercloud/undercloud.py", line 1780, in install
    _post_config(instack_env)
  File "/usr/lib/python2.7/site-packages/instack_undercloud/undercloud.py", line 1678, in _post_config
    _ensure_node_resource_classes(ironic)
  File "/usr/lib/python2.7/site-packages/instack_undercloud/undercloud.py", line 1429, in _ensure_node_resource_classes
    for node in ironic.node.list(limit=0, fields=['uuid', 'resource_class']):
  File "/usr/lib/python2.7/site-packages/ironicclient/v1/node.py", line 143, in list
    limit=limit)
  File "/usr/lib/python2.7/site-packages/ironicclient/common/base.py", line 149, in _list_pagination
    resp, body = self.api.json_request('GET', url)
  File "/usr/lib/python2.7/site-packages/ironicclient/common/http.py", line 558, in json_request
    resp = self._http_request(url, method, **kwargs)
  File "/usr/lib/python2.7/site-packages/ironicclient/common/http.py", line 188, in wrapper
    return func(self, url, method, **kwargs)
  File "/usr/lib/python2.7/site-packages/ironicclient/common/http.py", line 540, in _http_request
    error_json.get('debuginfo'), method, url)
Forbidden: Forbidden (HTTP 403)
2018-01-31 09:53:20,946 ERROR:
#############################################################################
Undercloud install failed.

Reason: Forbidden (HTTP 403)

Environment

  • Red Hat OpenStack Platform 12.0

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content