Undercloud install fails

asked 2020-08-13 13:46:10 -0500

diverdale gravatar image

updated 2020-08-14 13:02:19 -0500

Trying to install TripleO undercloud on a baremetal UCS server running CentOS 7 (2003).After os-refresh-config completes I get the following error(s)

2020-08-13 14:32:46,846 DEBUG: An exception occurred
Traceback (most recent call last):
File "/usr/lib/python2.7/site-packages/instack_undercloud/undercloud.py", line 2452, in install
_post_config(instack_env, upgrade)
File "/usr/lib/python2.7/site-packages/instack_undercloud/undercloud.py", line 2116, in _post_config
os_ironic_api_version='1.21')
File "/usr/lib/python2.7/site-packages/ironicclient/client.py", line 144, in get_client
{'message': exception_msg, 'error': e})
AmbiguousAuthSystem: Must provide Keystone credentials or user-defined endpoint and token, error was: Could not 
determine a suitable URL for the plugin
2020-08-13 14:32:46,858 ERROR:
#############################################################################
Undercloud install failed.

Reason: Must provide Keystone credentials or user-defined endpoint and token, error was: Could not determine a 
suitable URL for the plugin

See the previous output for details about what went wrong.  The full install
log can be found at /home/stack/.instack/install-undercloud.log.

#############################################################################

Traceback (most recent call last):
File "<string>", line 1, in <module>
File "/usr/lib/python2.7/site-packages/instack_undercloud/undercloud.py", line 2452, in install
_post_config(instack_env, upgrade)
File "/usr/lib/python2.7/site-packages/instack_undercloud/undercloud.py", line 2116, in _post_config
os_ironic_api_version='1.21')
File "/usr/lib/python2.7/site-packages/ironicclient/client.py", line 144, in get_client
{'message': exception_msg, 'error': e})
ironicclient.exc.AmbiguousAuthSystem: Must provide Keystone credentials or user-defined endpoint and token, error 
was: Could not determine a suitable URL for the plugin
Command 'instack-install-undercloud' returned non-zero exit status 1

Can't attach log file since I don't have 10 points ...

Any help is greatly appreciated.

Dale

Looking at /var/log/messages, I see this a lot

Aug 14 12:35:04 vz-nso-director ironic-inspector: 2020-08-14 12:35:04.112 64200 DEBUG 
ironic_inspector.pxe_filter.dnsmasq [-] Syncing the driver _sync /usr/lib/python2.7/site- 
packages/ironic_inspector/pxe_filter/dnsmasq.py:79
Aug 14 12:35:04 vz-nso-director ironic-inspector: 2020-08-14 12:35:04.193 64200 DEBUG 
ironic_inspector.pxe_filter.dnsmasq [-] The dnsmasq PXE filter was synchronized (took 0:00:00.080571) _sync 
/usr/lib/python2.7/site-packages/ironic_inspector/pxe_filter/dnsmasq.py:111
Aug 14 12:35:04 vz-nso-director ironic-inspector: 2020-08-14 12:35:04.194 64200 DEBUG 
ironic_inspector.pxe_filter.base [-] The PXE filter driver DnsmasqFilter, state=initialized left the 
fsm_reset_on_error context fsm_reset_on_error /usr/lib/python2.7/site- 
packages/ironic_inspector/pxe_filter/base.py:153
edit retag flag offensive close merge delete

Comments

I'm not familiar with tripleo but there's either something wrong with your keystone setup (Could not determine a suitable URL for the plugin) or you don't provide the required information. Double-check the docs and see if you have everything in place, no typos etc.

eblock gravatar imageeblock ( 2020-08-14 06:26:33 -0500 )edit

Added output from /var/log/messages to the main question ... not sure what's going on

diverdale gravatar imagediverdale ( 2020-08-14 13:47:15 -0500 )edit

Those are only debug messages, not sure if they’re really relevant here.

eblock gravatar imageeblock ( 2020-08-15 03:54:00 -0500 )edit