Error: oslo-config-generator not installed on system [closed]

asked 2017-01-13 03:14:00 -0500

Suresh Nagaraj gravatar image

updated 2017-01-13 05:06:19 -0500

Hi All,

Im using Ubuntu 14.04 LTS OS and stable/newton branch for devstack installation. Facing the below error on running ./stack.sh. The error is "ERROR: oslo-config-generator not installed on the system." Details error and local.conf file below. The error is same even after running ./unstack.sh and ./clean.sh. Also tried running ./stack.sh after trying the command "sudo pip install olso.config --upgrade". Somebody please help me in fixing this issue.

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

local.conf file

[[local|localrc]]
#FLOATING_RANGE=172.18.161.0/24
FIXED_RANGE=10.0.0.0/24
FIXED_NETWORK_SIZE=256
ADMIN_PASSWORD=supersecret
DATABASE_PASSWORD=iheartdatabases
RABBIT_PASSWORD=flopsymopsy
SERVICE_PASSWORD=iheartksl

disable_service n-net
#Enable heat services
enable_service h-eng h-api h-api-cfn h-api-cw
#Enable heat plugin
enable_plugin heat https://git.openstack.org/openstack/heat stable/newton

IMAGE_URL_SITE="https://dl.fedoraproject.org"
IMAGE_URL_PATH="/pub/archive/fedora/linux/releases/21/Cloud/Images/x86_64/"
IMAGE_URL_FILE="Fedora-Cloud-Base-20141203-21.x86_64.qcow2"
IMAGE_URLS+=","$IMAGE_URL_SITE$IMAGE_URL_PATH$IMAGE_URL_FILE

enable_service q-svc q-agt q-dhcp q-l3 q-meta neutron
PUBLIC_INTERFACE=eth1
NETWORK_GATEWAY=10.0.0.1
FLAT_INTERFACE=eth1
Q_FLOATING_ALLOCATION_POOL=start=172.24.4.10,end=172.24.4.20
PUBLIC_NETWORK_GATEWAY=172.24.4.1
Q_USE_PROVIDERNET_FOR_PUBLIC=True
OVS_PHYSICAL_BRIDGE=br-ex
PUBLIC_BRIDGE=br-ex
OVS_BRIDGE_MAPPINGS=public:br-ex
Q_PLUGIN=ml2

Thanks -Suresh

edit retag flag offensive reopen merge delete

Closed for the following reason not a real question by Suresh Nagaraj
close date 2017-01-16 10:12:20.684486