In these days I’m working with Redhat Openstack 6/7 versions.
When I install the undercloud component i got this error:
WARNING: keystoneclient.auth.identity.generic.base Discovering versions from the identity service failed when creating the password plugin. Attempting to determine version from URL.
WARNING: keystoneclient.auth.identity.generic.base Discovering versions from the identity service failed when creating the password plugin. Attempting to determine version from URL.
WARNING: keystoneclient.auth.identity.generic.base Discovering versions from the identity service failed when creating the password plugin. Attempting to determine version from URL.
ERROR: openstack Could not determine a suitable URL for the plugin
+ openstack role create ResellerAdmin
WARNING: keystoneclient.auth.identity.generic.base Discovering versions from the identity service failed when creating the password plugin. Attempting to determine version from URL.
WARNING: keystoneclient.auth.identity.generic.base Discovering versions from the identity service failed when creating the password plugin. Attempting to determine version from URL.
ERROR: openstack Could not determine a suitable URL for the plugin
[2015-09-19 19:58:29,620] (os-refresh-config) [ERROR] during post-configure phase. [Command ‘[‘dib-run-parts’, ‘/usr/libexec/os-refresh-config/post-configure.d’]’ returned non-zero exit status 1]
[2015-09-19 19:58:29,621] (os-refresh-config) [ERROR] Aborting…
Traceback (most recent call last):
File “”, line 1, in
File “/usr/lib/python2.7/site-packages/instack_undercloud/undercloud.py”, line 526, in install
_run_orc(instack_env)
File “/usr/lib/python2.7/site-packages/instack_undercloud/undercloud.py”, line 461, in _run_orc
_run_live_command(args, instack_env, ‘os-refresh-config’)
File “/usr/lib/python2.7/site-packages/instack_undercloud/undercloud.py”, line 297, in _run_live_command
raise RuntimeError(‘%s failed. See log for details.’, name)
RuntimeError: (‘%s failed. See log for details.’, ‘os-refresh-config’)
ERROR: openstack Command ‘instack-install-undercloud’ returned non-zero exit status 1
I read a lot of times the official documentation and I looked on Redhat Solutions but I got stuck here.
With some analisys I found that if I add the netmask on undercloud_public_vip and undercloud_admin_vip directives the script uses the ip with the whole netmask:
( undercloud.conf)
undercloud_public_vip = 172.16.111.2/24
undercloud_admin_vip = 172.16.111.3/24
(…)
++ export OS_AUTH_URL=https://172.16.111.2/24:13000/v2.0
++ OS_AUTH_URL=https://172.16.111.2/24:13000/v2.0
++ hiera controller_public_vip
+ REGISTER_SERVICE_OPTS=’-p 172.16.111.2/24′
++ hiera controller_public_vip
+ INIT_KEYSTONE_OPTS=’-s 172.16.111.2/24′
Thats’ why the command gets an error!!!
If I don’t write the netmasks the command will configure both ip with /32 netmask!!!!
I updated the Redhat bug 1251271, I’m curious to see what Redhat will reply :))