Devstack ./stack install fails stable/kilo

asked 2016-01-29 07:26:31 -0500

Muff gravatar image

When I try to lanuch openstack with the ./stable.sh script on the the stable/kilo branch the installation is aborted with an error.

However, when I use the master branch the installation succeeds. I cant figure out how to fix it.

Below I've attached the error message and the local.conf file I'm using.

Error:

Traceback (most recent call last):
  File "testsrv.py", line 4, in <module>
    from oslo_service import service
  File "/home/saad/Desktop/dev/projects/kvmha/local/lib/python2.7/site-packages/oslo_service/service.py", line 37, in <module>
    from oslo_service import eventlet_backdoor
  File "/home/saad/Desktop/dev/projects/kvmha/local/lib/python2.7/site-packages/oslo_service/eventlet_backdoor.py", line 31, in <module>
    from oslo_service._i18n import _LI
  File "/home/saad/Desktop/dev/projects/kvmha/local/lib/python2.7/site-packages/oslo_service/_i18n.py", line 28, in <module>
    _C = _translators.contextual_form
AttributeError: 'TranslatorFactory' object has no attribute 'contextual_form

local.conf :

[[local|localrc]]                               
# Load the external LBaaS plugin.               
enable_plugin neutron-lbaas https://git.openstack.org/openstack/neutron-lbaas 
enable_plugin octavia https://git.openstack.org/openstack/octavia             

ADMIN_PASSWORD=pass
MYSQL_PASSWORD=pass
RABBIT_PASSWORD=pass
SERVICE_PASSWORD=pass
SERVICE_TOKEN=a682f596-76f3-11e3-b3b2-e716f9080d50

# Enable Logging
LOGFILE=$DEST/logs/stack.sh.log
VERBOSE=True                   
LOG_COLOR=True                 
SCREEN_LOGDIR=$DEST/logs       

# Recloning will insure that your stack is up to date. The downside
# is overhead on restarts and potentially losing a stable environment.
# If set to yes, will reclone all repos every time stack.sh is run.   
# The default is no.                                                  
#RECLONE=yes                                                          

# Set ``OFFLINE`` to ``True`` to configure ``stack.sh`` to run cleanly without
# Internet access. ``stack.sh`` must have been previously run with Internet   
# access to install prerequisites and fetch repositories.                     
# OFFLINE=True                                                                

# Note: there are several network setting changes that may be
# required to get networking properly configured in your environment.
# This file is just using the defaults set up by devstack.           
# For a more detailed treatment of devstack network configuration    
# options, please see: http://devstack.org/guides/single-machine.html

### SERVICES

# Pre-requisite
ENABLED_SERVICES=rabbit,mysql,key

# Horizon
ENABLED_SERVICES+=,horizon
# Nova                    
ENABLED_SERVICES+=,n-api,n-crt,n-cpu,n-cond,n-sch
# Glance                                         
ENABLED_SERVICES+=,g-api,g-reg
# Cinder
ENABLED_SERVICES+=,c-api,c-vol,c-sch
# Tempest
ENABLED_SERVICES+=,tempest

# Enable Swift (Object Store) without replication
enable_service s-proxy s-object s-container s-account
SWIFT_HASH=66a3d6b56c1f479c8b4e70ab5c2000f5
SWIFT_REPLICAS=1
SWIFT_DATA_DIR=$DEST/data/swift

# Enable Neutron (Networking)
# to use nova net rather than neutron, comment out the following group
disable_service n-net
enable_service q-svc
enable_service q-agt
enable_service q-dhcp
enable_service q-l3
enable_service q-meta
enable_service q-metering
enable_service neutron
enable_service q-fwaas
enable_service q-vpn
# end group

# Enable LBaaS v2
ENABLED_SERVICES+=,q-lbaasv2
ENABLED_SERVICES+=,octavia,o-cw,o-hk,o-hm,o-api


# Enable Ceilometer (Metering)
enable_service ceilometer-acompute ceilometer-acentral ceilometer-anotification ceilometer-collector ceilometer-api

### PLUGINS

# Enable Sahara (Data Processing)
#enable_plugin sahara git://git.openstack.org/openstack/sahara

# Enable Trove (Database)
#enable_plugin trove git://git.openstack.org/openstack/trove

[[post-config|$GLANCE_API_CONF]]
[DEFAULT]
default_store=file
edit retag flag offensive close merge delete