devstack ubuntu 16.04 openstack pike installation error

asked 2018-08-26 03:18:13 -0600

Hi i am trying to install openstack via devstack ..i am a new bie ..can you look at the below error and tell me what's wrong

+functions-common:is_service_enabled:2184 return 0 +./stack.sh:main:1176 echo_summary 'Configuring Neutron' +./stack.sh:echo_summary:426 [[ -t 3 ]] +./stack.sh:echo_summary:426 [[ True != \T\r\u\e ]] +./stack.sh:echo_summary:432 echo -e Configuring Neutron 2018-08-26 07:59:17.684 | Configuring Neutron +./stack.sh:main:1178 configure_neutron +lib/neutron:configure_neutron:512 is_neutron_legacy_enabled +lib/neutron:is_neutron_legacy_enabled:103 [[ , =~ ,neutron ]] +lib/neutron:is_neutron_legacy_enabled:104 [[ ,key,n-api,n-cpu,n-cond,n-sch,n-novnc,n-cauth,n-api-meta,placement-api,placement-client,g-api,g-reg,c-sch,c-api,c-vol,q-svc,q-dhcp,q-meta,q-agt,q-l3,horizon,rabbit,tempest,mysql,etcd3,dstat,s-proxy,s-object,s-container,s-account,h-eng,h-api,h-api-cfn,h-api-cw,q-trunk,q-qos =~ ,q- ]] +lib/neutron:is_neutron_legacy_enabled:104 return 0 +lib/neutron:configure_neutron:514 configure_mutnauq +lib/neutron-legacy:configure_mutnauq:332 _configure_neutron_common +lib/neutron-legacy:_configure_neutron_common:665 _create_neutron_conf_dir +lib/neutron-legacy:_create_neutron_conf_dir:658 sudo install -d -o stack /etc/neutron +lib/neutron-legacy:_configure_neutron_common:668 cd /opt/stack/neutron +lib/neutron-legacy:_configure_neutron_common:668 exec ./tools/generate_config_file_samples.sh Traceback (most recent call last): File "/usr/local/bin/oslo-config-generator", line 11, in <module> sys.exit(main()) File "/usr/local/lib/python2.7/dist-packages/oslo_config/generator.py", line 752, in main generate(conf) File "/usr/local/lib/python2.7/dist-packages/oslo_config/generator.py", line 719, in generate groups = _get_groups(_list_opts(conf.namespace)) File "/usr/local/lib/python2.7/dist-packages/oslo_config/generator.py", line 469, in _list_opts loaders = _get_raw_opts_loaders(namespaces) File "/usr/local/lib/python2.7/dist-packages/oslo_config/generator.py", line 413, in _get_raw_opts_loaders invoke_on_load=False) File "/usr/local/lib/python2.7/dist-packages/stevedore/named.py", line 81, in __init__ verify_requirements) File "/usr/local/lib/python2.7/dist-packages/stevedore/extension.py", line 194, in _load_plugins self._on_load_failure_callback(self, ep, err) File "/usr/local/lib/python2.7/dist-packages/stevedore/extension.py", line 186, in _load_plugins verify_requirements, File "/usr/local/lib/python2.7/dist-packages/stevedore/named.py", line 158, in _load_one_plugin verify_requirements, File "/usr/local/lib/python2.7/dist-packages/stevedore/extension.py", line 214, in _load_one_plugin plugin = ep.resolve() File "/usr/local/lib/python2.7/dist-packages/pkg_resources/__init__.py", line 2331, in resolve module = __import__(self.module_name, fromlist=['__name__'], level=0) File "/opt/stack/neutron/neutron/opts.py", line 24, in <module> import neutron.conf.agent.common File "/opt/stack/neutron/neutron/conf/agent/common.py", line 23, in <module> from neutron.common import config File "/opt/stack/neutron/neutron/common/config.py", line 31, in <module> from neutron.common import rpc as n_rpc File "/opt/stack/neutron/neutron/common/rpc.py", line 17, in <module> from neutron_lib import rpc ImportError: cannot import name rpc +lib/neutron-legacy:_configure_neutron_common: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.s8HHuvjW4k ']' +./stack.sh:exit_trap:532 rm /tmp/tmp.s8HHuvjW4k +./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