Ask Your Question

Persistant Errors after fresh Mitaka Devstack install

asked 2016-11-02 10:23:11 -0500

devmitaka gravatar image

This is my 4th time installing devstack mitaka on Ubuntu 16.04.1 LTS. Everything works fine until I turnoff the system or reboot it and log in again. I cant run any openstackclient commands in the terminal and every page on the web interface shows an error "Unable to retrieve * ". On the 4th installation, now, it is giving me the following error (e.g on openstack flavor list):

Unable to establish connection to http:// / 86f136e04e754f9ca4049ea12ea0a4b8/ flavors /detail: HTTPConnectionPool(host='', port=8774): Max retries exceeded with url: /v2.1/86f136e04e754f9ca4049ea12ea0a4b8/flavors/detail (Caused by NewConnectionError('<requests.packages.urllib3.connection.HTTPConnection object at 0x7fbd2d04f650>: Failed to establish a new connection: [Errno 111] Connection refused',))

Earlier, on the second and third fresh installation it was giving the error

*Discovering versions from the identity service failed when creating the password plugin. Attempting to determine version from URL. Internal Server Error (HTTP 500)*

here is my local.conf



# Database Backend MySQL
enable_service mysql

# RPC Backend RabbitMQ
enable_service rabbit

# Enable Keystone - OpenStack Identity Service
enable_service key

# Horizon - OpenStack Dashboard Service
enable_service horizon

# Enable Glance - OpenStack Image service
enable_service g-api g-reg

# Enable Cinder - Block Storage service for OpenStack
enable_service cinder c-api c-vol c-sch c-bak

# Enable Heat (orchestration) Service
enable_service heat h-api h-api-cfn h-api-cw h-eng

# Enable Tempest - The OpenStack Integration Test Suite
enable_service tempest

# Enable NoVNC
enable_service n-novnc

# Enabling Neutron (network) Service
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

if [ "$Q_PLUGIN" = "ml2" ]; then


# Define images to be automatically downloaded during the DevStack built proces$

What am I doing wrong. I havent touch any other file. Things works fine with fresh installation but encounter different errors every time I log into the system after a reboot or shutdown after a fresh install....Any help would be greatly appreciated

edit retag flag offensive close merge delete

1 answer

Sort by ยป oldest newest most voted

answered 2016-11-02 15:14:31 -0500

volenbovsky gravatar image


the key thing is 'after reboot'. Devstack is not persistent environment Check ( or simply Google 'reboot devstack' Note that is not available anymore, so you basically need to re-run ./ An approach to consider - VM snapshot using VirtualBox (or some equivalent appropriate for your environment)

edit flag offensive delete link more


Thank you for the pointing that out. So, then, how could I install a stable all-in-one openstack. From stable I mean without running the each time and resuming snapshots..Is there a guide to do so?

devmitaka gravatar imagedevmitaka ( 2016-11-03 02:18:51 -0500 )edit

One more question, please bare with me as I am very new to openstack. So if I install the openstack using (this) or (this) method, it will not require the and screen working as they are not Devstack-based methods, right?

devmitaka gravatar imagedevmitaka ( 2016-11-03 03:23:05 -0500 )edit
  • this ( and this (
devmitaka gravatar imagedevmitaka ( 2016-11-03 03:24:06 -0500 )edit

The first method - (Ubuntu) sounds reasonable. The second one - not One more method - Packstack ( and Openstack-Ansible (

volenbovsky gravatar imagevolenbovsky ( 2016-11-03 06:46:58 -0500 )edit

Thank you volenbovsky. I installed the packstack as you recommended and its working fine.

devmitaka gravatar imagedevmitaka ( 2016-11-10 08:11:04 -0500 )edit

Get to know Ask OpenStack

Resources for moderators

Question Tools


Asked: 2016-11-02 10:18:16 -0500

Seen: 332 times

Last updated: Nov 02 '16