Openstack devstack installation failed

asked 2019-06-18 06:28:49 -0500

DeveshAgarwal1 gravatar image

Hi

I am using Ubuntu 17 & trying to install openstack using devstack. But getting below error. Please support.

My local .conf file.

[[local|localrc]] ADMIN_PASSWORD=secret DATABASE_PASSWORD=\$ADMIN_PASSWORD RABBIT_PASSWORD=\$ADMIN_PASSWORD SERVICE_PASSWORD=\$ADMIN_PASSWORD HOST_IP=10.0.2.15 RECLONE=yes

DEBUG oslo_db.sqlalchemy.engines [-] MySQL server mode set to STRICT_TRANS_TABLES,STRICT_ALL_TABLES,NO_ZERO_IN_DATE,NO_ZERO_DATE,ERROR_FOR_DIVISION_BY_ZERO,TRADITIONAL,NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION {{(pid=18043) _check_effective_sql_mode /usr/local/lib/python2.7/dist-packages/oslo_db/sqlalchemy/engines.py:285}} INFO keystone.cmd.cli [None req-7ede69b6-9662-471e-a16c-6bfb7cad3a64 None None] Created domain default INFO keystone.cmd.cli [None req-7ede69b6-9662-471e-a16c-6bfb7cad3a64 None None] Created project admin DEBUG passlib.handlers.bcrypt [None req-7ede69b6-9662-471e-a16c-6bfb7cad3a64 None None] detected 'bcrypt' backend, version u'3.1.3' {{(pid=18043) _load_backend_mixin /usr/local/lib/python2.7/dist-packages/passlib/handlers/bcrypt.py:564}} DEBUG passlib.handlers.bcrypt [None req-7ede69b6-9662-471e-a16c-6bfb7cad3a64 None None] 'bcrypt' backend lacks $2$ support, enabling workaround {{(pid=18043) _finalize_backend_mixin /usr/local/lib/python2.7/dist-packages/passlib/handlers/bcrypt.py:379}} INFO keystone.cmd.cli [None req-7ede69b6-9662-471e-a16c-6bfb7cad3a64 None None] Created user admin INFO keystone.cmd.cli [None req-7ede69b6-9662-471e-a16c-6bfb7cad3a64 None None] Created role admin INFO keystone.cmd.cli [None req-7ede69b6-9662-471e-a16c-6bfb7cad3a64 None None] Granted admin on admin to user admin. WARNING py.warnings [None req-7ede69b6-9662-471e-a16c-6bfb7cad3a64 None None] /usr/local/lib/python2.7/dist-packages/pycadf/identifier.py:80: UserWarning: Invalid uuid: RegionOne. To ensure interoperability, identifiers should be a valid uuid. 'identifiers should be a valid uuid.' % (value)))

INFO keystone.cmd.cli [None req-7ede69b6-9662-471e-a16c-6bfb7cad3a64 None None] Created region RegionOne INFO keystone.cmd.cli [None req-7ede69b6-9662-471e-a16c-6bfb7cad3a64 None None] Created admin endpoint http://10.0.2.15/identity INFO keystone.cmd.cli [None req-7ede69b6-9662-471e-a16c-6bfb7cad3a64 None None] Created public endpoint http://10.0.2.15/identity INFO keystone.assignment.core [None req-7ede69b6-9662-471e-a16c-6bfb7cad3a64 None None] Creating the default role 9fe2ff9ee4384b1894a90878d3e92bab because it does not exist. +./stack.sh:main:1132 create_keystone_accounts +lib/keystone:create_keystone_accounts:331 local admin_project ++lib/keystone:create_keystone_accounts:332 oscwrap project show admin -f value -c id ++functions-common:oscwrap:2530 local out ++functions-common:oscwrap:2531 local rc ++functions-common:oscwrap:2532 local start ++functions-common:oscwrap:2533 local end +++functions-common:oscwrap:2537 date +%s%3N ++functions-common:oscwrap:2537 start=1560855936001 +++functions-common:oscwrap:2538 command openstack project show admin -f value -c id +++functions-common:oscwrap:2538 openstack project show admin -f value -c id Failed to discover available identity versions when contacting http://10.0.2.15/identity. Attempting to parse version from URL. Could not determine a suitable URL for the plugin ++functions-common:oscwrap:2538 out= ++functions-common:oscwrap:2539 rc=1 +++functions-common:oscwrap:2540 date +%s%3N ++functions-common:oscwrap:2540 end=1560855958588 ++functions-common:oscwrap:2541 echo 22587 ++functions-common:oscwrap:2543 echo '' ++functions-common:oscwrap:2544 return 1 +lib/keystone:create_keystone_accounts:332 admin_project= +lib/keystone:create_keystone_accounts:1 exit_trap +./stack.sh:exit_trap:521 local r=1 ++./stack.sh:exit_trap:522 jobs -p +./stack.sh:exit_trap:522 jobs= +./stack.sh:exit_trap:525 [[ -n '' ]] +./stack.sh:exit_trap:531 '[' -f /tmp/tmp.qiGyzQOekQ ']' +./stack.sh:exit_trap:532 rm /tmp/tmp.qiGyzQOekQ +./stack.sh:exit_trap:536 kill_spinner +./stack.sh:kill_spinner:417 '[' '!' -z '' ']' +./stack.sh:exit_trap:538 [[ 1 -ne 0 ]] +./stack.sh:exit_trap:539 ... (more)

edit retag flag offensive close merge delete

Comments

This error:

Failed to discover available identity versions

probably means that Keystone was not running at the time, or not yet. One possible cause is an under-dimensioned server. What are the server’s specs? Also check errors in the output of journalctl -u devstack@keystone.

Bernd Bausch gravatar imageBernd Bausch ( 2019-06-18 11:03:39 -0500 )edit