devstack stable/newton version mismatch?

asked 2016-12-06 20:06:16 -0600

When trying to start a stable/newton devstack, stack.sh aborts with "No module named plugins". It turns out that Neutron requires a package named neutron-lib, version 1.0.0 or greater, which contains plugins. However, /opt/stack/requirements/upper-constraints.txt seems to override the version with neutron-lib==0.4.0. This older version doesn't include plugins.

git clone http://git.openstack.org/openstack/requirements.git -b stable/newton does indeed contain the old upper-constraints.txt file. The requirements README mentions that USE_CONSTRAINTS can be set to False in local.conf. I tried that but USE_CONSTRAINTS seems to be ignored by the Newton stack.sh.

So I wonder where this mismatch comes from, and more importantly how I can avoid it. My local.conf is below.

[[local|localrc]]
HOST_IP=192.168.1.202
SERVICE_HOST=$HOST_IP
IP_VERSION=4
SERVICE_IP_VERSION=4
USE_CONSTRAINTS=False

ADMIN_PASSWORD=doyoureallythinkItellyoumypassword
DATABASE_PASSWORD=$ADMIN_PASSWORD
SERVICE_TOKEN=$ADMIN_PASSWORD
SERVICE_PASSWORD=$ADMIN_PASSWORD
RABBIT_PASSWORD=$ADMIN_PASSWORD
MYSQL_PASSWORD=$ADMIN_PASSWORD

# Enable Logging
LOGFILE=stack.sh.log
SCREEN_LOGDIR=$DEST/logs/screen
VERBOSE=True
LOG_COLOR=True
### RECLONE=no
### OFFLINE=true

GIT_BASE=${GIT_BASE:-http://git.openstack.org}

enable_plugin neutron https://git.openstack.org/openstack/neutron

# To be tested
enable_plugin barbican https://git.openstack.org/openstack/barbican

# Pre-requisites
enable_service rabbit
enable_service mysql
enable_service key

# Horizon
enable_service horizon

# Nova
ENABLED_SERVICES+=,n-api,n-crt,n-cpu,n-cond,n-sch,n-cauth,n-novnc

#Swift
ENABLED_SERVICES+=,s-proxy,s-object,s-container,s-account
SWIFT_REPLICAS=1
SWIFT_HASH=011688b4413657e209e

# Glance
enable_service g-api
enable_service g-reg

# Images
IMAGE_URLS+=",http://download.cirros-cloud.net/0.3.4/cirros-0.3.4-i386-disk.img"
IMAGE_URLS+=",http://download.cirros-cloud.net/0.3.4/cirros-0.3.4-x86_64-disk.img"

# Neutron
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-qos
enable_service q-metering

# Cinder
ENABLED_SERVICES+=,cinder,c-api,c-vol,c-sch,c-bak

#Heat
ENABLED_SERVICES+=,heat,h-api,h-api-cfn,h-api-cw,h-eng

# Tempest
###ENABLED_SERVICES+=,tempest

API_RATE_LIMIT=False

# Enable the ceilometer metering services
disable_service ceilometer-alarm-notifier,ceilometer-alarm-evaluator
CEILOMETER_BACKEND=mongodb
CEILOMETER_EVENT_ALARM=True
enable_plugin ceilometer https://git.openstack.org/openstack/ceilometer
enable_plugin aodh https://git.openstack.org/openstack/aodh
enable_service aodh-evaluator,aodh-notifier,aodh-api

[[post-config|$NOVA_CONF]]

[DEFAULT]
notification_driver=nova.openstack.common.notifier.rabbit_notifier,ceilometer.compute.nova_notifier
edit retag flag offensive close merge delete

Comments

Can you provide the ubuntu os version

mohit-cognizant gravatar imagemohit-cognizant ( 2016-12-07 01:54:40 -0600 )edit