I am getting error while installing devstack on ubuntu 16.04.

asked 2018-07-05 07:03:05 -0500

Rupesh gravatar image

I am not able to install Devstack on my system and error is and error log is also given , please help me in fixing this. and I downloaded the devstack from Git repository of : git clone https://github.com/openstack-dev/devstack.git (https://github.com/openstack-dev/devs...) -b stable/pike devstack/

CRITICAL keystone [-] Unhandled error: KeyError: 'connection' ERROR keystone Traceback (most recent call last): ERROR keystone File "/usr/local/bin/keystone-manage", line 10, in <module> ERROR keystone sys.exit(main()) ERROR keystone File "/opt/stack/keystone/keystone/cmd/manage.py", line 45, in main ERROR keystone cli.main(argv=sys.argv, config_files=config_files) ERROR keystone File "/opt/stack/keystone/keystone/cmd/cli.py", line 1331, in main ERROR keystone CONF.command.cmd_class.main() ERROR keystone File "/opt/stack/keystone/keystone/cmd/cli.py", line 530, in main ERROR keystone CONF.command.version) ERROR keystone File "/opt/stack/keystone/keystone/common/sql/upgrades.py", line 250, in offline_sync_database_to_version ERROR keystone expand_schema() ERROR keystone File "/opt/stack/keystone/keystone/common/sql/upgrades.py", line 321, in expand_schema ERROR keystone _sync_common_repo(version=None) ERROR keystone File "/opt/stack/keystone/keystone/common/sql/upgrades.py", line 166, in _sync_common_repo ERROR keystone with sql.session_for_write() as session: ERROR keystone File "/usr/lib/python2.7/contextlib.py", line 17, in __enter__ ERROR keystone return self.gen.next() ERROR keystone File "/usr/local/lib/python2.7/dist-packages/oslo_db/sqlalchemy/enginefacade.py", line 1028, in _transaction_scope ERROR keystone context=context) as resource: ERROR keystone File "/usr/lib/python2.7/contextlib.py", line 17, in __enter__ ERROR keystone return self.gen.next() ERROR keystone File "/usr/local/lib/python2.7/dist-packages/oslo_db/sqlalchemy/enginefacade.py", line 633, in _session ERROR keystone bind=self.connection, mode=self.mode) ERROR keystone File "/usr/local/lib/python2.7/dist-packages/oslo_db/sqlalchemy/enginefacade.py", line 398, in _create_session ERROR keystone self._start() ERROR keystone File "/usr/local/lib/python2.7/dist-packages/oslo_db/sqlalchemy/enginefacade.py", line 483, in _start ERROR keystone url_args['connection'], ERROR keystone KeyError: 'connection' ERROR keystone +lib/keystone:init_keystone: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.BTnAcdbaO7 ']' +./stack.sh:exit_trap:532 rm /tmp/tmp.BTnAcdbaO7 +./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 echo 'Error on exit' Error on exit +./stack.sh:exit_trap:541 type -p generate-subunit +./stack.sh:exit_trap:542 generate-subunit 1530789845 1940 fail +./stack.sh:exit_trap:544 [[ -z /opt/stack/logs ]] +./stack.sh:exit_trap:547 /opt/stack/devstack/tools/worlddump.py -d /opt/stack/logs World dumping... see /opt/stack/logs/worlddump-2018-07-05-115626.txt for details +./stack.sh:exit_trap:556 exit 1 stack@ess-OptiPlex-330:~/devstack$ cd .. stack@ess-OptiPlex-330:~$ cd logs/ stack@ess-OptiPlex-330:~/logs$ ll total 112 drwxr-xr-x 2 stack stack 4096 Jul 5 17:26 ./ drwxr-xr-x 18 stack stack 4096 Jul 5 17:26 ../ -rw-r--r-- 1 stack stack 17022 Jul 5 ... (more)

edit retag flag offensive close merge delete