How to install oslo-config-generator on ubuntu 14.04 LTS

asked 2017-01-16 10:20:57 -0500

Suresh Nagaraj gravatar image

Hi All, I'm getting the error "ERROR: oslo-config-generator not installed on the system." on running ./stack.sh on stable/newton branch. Please let me know how to install oslo-config-generator. Is this automatically installed with the python2.7? Recently I had uninstalled/installed python 2.7. Not sure whether this issue was because of uninstall/install of python 2.7. Please find the logs below and let me know how to install oslo-config-generator.

Python and PIP version used:

stack@01HW462427:/opt/stack/neutron$ python --version Python 2.7.6 stack@01HW462427:/opt/stack/neutron$ pip --version pip 9.0.1 from /usr/local/lib/python2.7/dist-packages (python 2.7)

Error:

+./stack.sh:main:1100 echo_summary 'Configuring Neutron' +./stack.sh:echo_summary:392 [[ -t 3 ]] +./stack.sh:echo_summary:392 [[ True != \T\r\u\e ]] +./stack.sh:echo_summary:398 echo -e Configuring Neutron 2017-01-13 08:47:37.095 | Configuring Neutron +./stack.sh:main:1102 configure_neutron +lib/neutron:configure_neutron:537 is_neutron_legacy_enabled +lib/neutron:is_neutron_legacy_enabled:92 [[ ,key,n-api,n-cpu,n-cond,n-sch,n-novnc,n-cauth,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,dstat,h-eng,h-api,h-api-cfn,h-api-cw =~ ,q- ]] +lib/neutron:is_neutron_legacy_enabled:92 return 0 +lib/neutron:configure_neutron:539 configure_mutnauq +lib/neutron-legacy:configure_mutnauq:331 _configure_neutron_common +lib/neutron-legacy:_configure_neutron_common:684 _create_neutron_conf_dir +lib/neutron-legacy:_create_neutron_conf_dir:677 sudo install -d -o stack /etc/neutron +lib/neutron-legacy:_configure_neutron_common:687 cd /opt/stack/neutron +lib/neutron-legacy:_configure_neutron_common:687 exec ./tools/generate_config_file_samples.sh ERROR: oslo-config-generator not installed on the system. +lib/neutron-legacy:_configure_neutron_common:1 exit_trap +./stack.sh:exit_trap:487 local r=1 ++./stack.sh:exit_trap:488 jobs -p +./stack.sh:exit_trap:488 jobs= +./stack.sh:exit_trap:491 [[ -n '' ]] +./stack.sh:exit_trap:497 kill_spinner +./stack.sh:kill_spinner:383 '[' '!' -z '' ']' +./stack.sh:exit_trap:499 [[ 1 -ne 0 ]] +./stack.sh:exit_trap:500 echo 'Error on exit' Error on exit +./stack.sh:exit_trap:501 generate-subunit 1484296442 815 fail ./stack.sh: line 501: generate-subunit: command not found

Thanks -Suresh

edit retag flag offensive close merge delete