Unable to setup devstack

asked 2016-09-12 00:23:27 -0500

itsme gravatar image

Good Day,

I am using devstack in my development environment.

Using Mitaka version of devstack.

When I am trying to do stack.sh it is giving me the error as follows:

+functions-common:is_service_enabled:2055 return 1
+./stack.sh:main:1016 cat
+./stack.sh:main:1031 source /home/murali/devstack/userrc_early
++userrc_early:source:4 export OS_IDENTITY_API_VERSION=3
++userrc_early:source:4 OS_IDENTITY_API_VERSION=3
++userrc_early:source:5 export OS_AUTH_URL=http://172.27.3.182:35357
++userrc_early:source:5 OS_AUTH_URL=http://172.27.3.182:35357
++userrc_early:source:6 export OS_USERNAME=admin
++userrc_early:source:6 OS_USERNAME=admin
++userrc_early:source:7 export OS_USER_DOMAIN_ID=default
++userrc_early:source:7 OS_USER_DOMAIN_ID=default
++userrc_early:source:8 export OS_PASSWORD=secret
++userrc_early:source:8 OS_PASSWORD=secret
++userrc_early:source:9 export OS_PROJECT_NAME=admin
++userrc_early:source:9 OS_PROJECT_NAME=admin
++userrc_early:source:10 export OS_PROJECT_DOMAIN_ID=default
++userrc_early:source:10 OS_PROJECT_DOMAIN_ID=default
++userrc_early:source:11 export OS_REGION_NAME=RegionOne
++userrc_early:source:11 OS_REGION_NAME=RegionOne
+./stack.sh:main:1033 create_keystone_accounts
+lib/keystone:create_keystone_accounts:372 local admin_tenant
++lib/keystone:create_keystone_accounts:373 openstack project show admin -f value -c id
Discovering versions from the identity service failed when creating the password plugin. Attempting to determine version from URL.
Could not determine a suitable URL for the plugin
+lib/keystone:create_keystone_accounts:373 admin_tenant=
+lib/keystone:create_keystone_accounts:1 exit_trap
+./stack.sh:exit_trap:474 local r=1
++./stack.sh:exit_trap:475 jobs -p
+./stack.sh:exit_trap:475 jobs=
+./stack.sh:exit_trap:478 [[ -n '' ]]
+./stack.sh:exit_trap:484 kill_spinner
+./stack.sh:kill_spinner:370 '[' '!' -z '' ']'
+./stack.sh:exit_trap:486 [[ 1 -ne 0 ]]
+./stack.sh:exit_trap:487 echo 'Error on exit'

Attaching the local.conf file too.

[local|localrc]]

SWIFT_HASH=66a3d6b56c1f479c8b4e70ab5c2000f5

SWIFT_REPLICAS=1

SWIFT_DATA_DIR=$DEST/data

ADMIN_PASSWORD=secret
DATABASE_PASSWORD=secret
RABBIT_PASSWORD=secret
SERVICE_PASSWORD=secret

HOST_IP=172.27.3.182

# Do not use Nova-Network
disable_service n-net
disable_service tempest

# Enable Neutron
ENABLED_SERVICES+=,q-svc,q-agt,q-dhcp,q-l3,q-meta,neutron,q-lbaas
ENABLED_SERVICES+=,s-proxy,s-object,s-container,s-account

## Neutron options
Q_USE_SECGROUP=True
FLOATING_RANGE="172.27.3.0/24"
FIXED_RANGE="10.0.0.0/24"
Q_FLOATING_ALLOCATION_POOL=start=172.27.3.211,end=172.27.3.217
PUBLIC_NETWORK_GATEWAY="172.27.3.1"
PUBLIC_INTERFACE=eth0

# Open vSwitch provider networking configuration
Q_USE_PROVIDERNET_FOR_PUBLIC=True
OVS_PHYSICAL_BRIDGE=br-ex
PUBLIC_BRIDGE=br-ex
OVS_BRIDGE_MAPPINGS=public:br-ex

enable_plugin ceilometer https://github.com/openstack/ceilometer.git stable/mitaka
enable_plugin aodh https://git.openstack.org/openstack/aodh master stable/mitaka

enable_service h-eng h-api h-api-cfn h-api-cw

VIRT_DRIVER=novadocker.virt.docker.DockerDriver

MULTI_HOST=1

# Introduce glance to docker images
[[post-config|$GLANCE_API_CONF]]
[DEFAULT]
container_formats=ami,ari,aki,bare,ovf,ova,docker

# Configure nova to use the nova-docker driver
[[post-config|$NOVA_CONF]]
[DEFAULT]
compute_driver=novadocker.virt.docker.DockerDriver

LOGFILE=$DEST/logs/stack.sh.log

LOGDAYS=2

Someone have a look at this.

Any help is appreciable.

edit retag flag offensive close merge delete

1 answer

Sort by ยป oldest newest most voted
1

answered 2016-09-12 04:09:50 -0500

j-harbott gravatar image

You are checking out aodh from master branch, this gives you incompatible library requirements.

edit flag offensive delete link more

Get to know Ask OpenStack

Resources for moderators

Question Tools

1 follower

Stats

Asked: 2016-09-12 00:23:27 -0500

Seen: 411 times

Last updated: Sep 12 '16