Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

I am getting error while installing devstack on ubuntu 16.04.

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 -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/", line 45, in main ERROR keystone cli.main(argv=sys.argv, config_files=config_files) ERROR keystone File "/opt/stack/keystone/keystone/cmd/", line 1331, in main ERROR keystone CONF.command.cmd_class.main() ERROR keystone File "/opt/stack/keystone/keystone/cmd/", line 530, in main ERROR keystone CONF.command.version) ERROR keystone File "/opt/stack/keystone/keystone/common/sql/", line 250, in offline_sync_database_to_version ERROR keystone expand_schema() ERROR keystone File "/opt/stack/keystone/keystone/common/sql/", line 321, in expand_schema ERROR keystone _sync_common_repo(version=None) ERROR keystone File "/opt/stack/keystone/keystone/common/sql/", line 166, in _sync_common_repo ERROR keystone with sql.session_for_write() as session: ERROR keystone File "/usr/lib/python2.7/", line 17, in __enter__ ERROR keystone return ERROR keystone File "/usr/local/lib/python2.7/dist-packages/oslo_db/sqlalchemy/", line 1028, in _transaction_scope ERROR keystone context=context) as resource: ERROR keystone File "/usr/lib/python2.7/", line 17, in __enter__ ERROR keystone return ERROR keystone File "/usr/local/lib/python2.7/dist-packages/oslo_db/sqlalchemy/", 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/", line 398, in _create_session ERROR keystone self._start() ERROR keystone File "/usr/local/lib/python2.7/dist-packages/oslo_db/sqlalchemy/", line 483, in _start ERROR keystone url_args['connection'], ERROR keystone KeyError: 'connection' ERROR keystone +lib/keystone:init_keystone:1 exit_trap +./ local r=1 ++./ jobs -p +./ jobs= +./ [[ -n '' ]] +./ '[' -f /tmp/tmp.BTnAcdbaO7 ']' +./ rm /tmp/tmp.BTnAcdbaO7 +./ kill_spinner +./ '[' '!' -z '' ']' +./ [[ 1 -ne 0 ]] +./ echo 'Error on exit' Error on exit +./ type -p generate-subunit +./ generate-subunit 1530789845 1940 fail +./ [[ -z /opt/stack/logs ]] +./ /opt/stack/devstack/tools/ -d /opt/stack/logs World dumping... see /opt/stack/logs/worlddump-2018-07-05-115626.txt for details +./ 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 17:27 dstat-csv.log -rw-r--r-- 1 stack stack 36478 Jul 5 16:47 worlddump-2018-07-05-111702.txt -rw-r--r-- 1 stack stack 46162 Jul 5 17:26 worlddump-2018-07-05-115626.txt stack@ess-OptiPlex-330:~/logs$ tail worlddump-2018-07-05-115626.txt

neutron-openvswitch-agent Guru Meditation Report

Skipping as neutron-openvswitch-agent does not appear to be running

cinder-volume Guru Meditation Report

Skipping as cinder-volume does not appear to be running stack@ess-OptiPlex-330:~/logs$