Ask Your Question
0

Devstack installation failure

asked 2015-12-13 09:25:04 -0600

anonymous user

Anonymous

updated 2015-12-14 01:09:01 -0600

Bipin gravatar image

While installing devstack with a fresh clone I am hitting following error. I am seeing this issue since last two days.

2

015-12-13 15:13:48.822 | ++ get_field 2
2015-12-13 15:13:48.824 | ++ local data field
2015-12-13 15:13:48.825 | ++ read data
2015-12-13 15:15:57.417 | Discovering versions from the identity service failed when creating the password plugin. Attempting to determine version from URL.
2015-12-13 15:15:57.417 | Could not determine a suitable URL for the plugin
2015-12-13 15:15:57.457 | + kernel_id=
2015-12-13 15:15:57.457 | + '[' -n /home/tacker/devstack/files/images/cirros-0.3.4-x86_64-uec/cirros-0.3.4-x86_64-initrd ']'
2015-12-13 15:15:57.460 | ++ openstack --os-cloud=devstack-admin image create cirros-0.3.4-x86_64-uec-ramdisk --public --container-format ari --disk-format ari

What could be the issue here?

Here is my local.conf file

[[local|localrc]]
HOST_IP=192.168.1.121 

ADMIN_PASSWORD=root
MYSQL_PASSWORD=root
RABBIT_PASSWORD=root
SERVICE_PASSWORD=$ADMIN_PASSWORD
SERVICE_TOKEN=devstack

PIP_USE_MIRRORS=False
USE_GET_PIP=1

OFFLINE=False
RECLONE=True

LOGFILE=$DEST/logs/stack.sh.log
SCREEN_LOGDIR=$DEST/logs/screen
VERBOSE=True
ENABLE_DEBUG_LOG_LEVEL=True
ENABLE_VERBOSE_LOG_LEVEL=True


Q_PLUGIN=ml2
Q_AGENT=openvswitch

Q_USE_PROVIDERNET_FOR_PUBLIC=False
FLOATING_RANGE=10.12.161.0/24
Q_FLOATING_ALLOCATION_POOL="start=10.12.161.150,end=10.12.161.201"
PUBLIC_NETWORK_NAME=external
PUBLIC_NETWORK_GATEWAY=10.12.161.1
PUBLIC_PHYSICAL_NETWORK=public
PUBLIC_BRIDGE=br-ext


NETWORK_GATEWAY=${NETWORK_GATEWAY:-15.0.0.1}
FIXED_RANGE=${FIXED_RANGE:-15.0.0.0/24}

API_WORKERS=1

enable_plugin tacker https://git.openstack.org/openstack/tacker master

enable_service n-novnc
enable_service n-cauth

disable_service tempest

Thank you

edit retag flag offensive close merge delete

Comments

can you please paste your local.conf file here ?

Bipin gravatar imageBipin ( 2015-12-13 22:14:41 -0600 )edit

Hi Bipin,

I have updated the post with my local.conf

prashant-desai gravatar imageprashant-desai ( 2015-12-13 23:18:45 -0600 )edit

3 answers

Sort by ยป oldest newest most voted
0

answered 2016-04-18 11:51:13 -0600

aamir gravatar image

Hi all,

I just started working on some cloud stuff and following a tutorial (https://isurues.wordpress.com/2013/06/01/how-to-run-your-own-cloud-on-a-pc-using-openstack-on-ubuntu-12-04/ (https://isurues.wordpress.com/2013/06...)) I attempted to install devstack on ubuntu 14.04 LTS running inside VirtualBox.

I see the same error as reported here. I am running from master branch from following commit a344608ca9c5a.

Following the tutorial and the links provide therein I created following local.conf file.

[[local|localrc]]
DEST=/opt/stack


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

HOST_IP=192.168.0.10

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

LOGDAYS=2

I also made following change which I thought, according to one post on some other forum, would fix the issue but it didnt

diff --git a/openstack_dashboard/settings.py b/openstack_dashboard/settings.py
index 8296012..8254ac2 100644
--- a/openstack_dashboard/settings.py
+++ b/openstack_dashboard/settings.py
@@ -359,9 +359,9 @@ find_static_files(HORIZON_CONFIG)
 # horizon.utils.secret_key module and its use.
 if not SECRET_KEY:
     if not LOCAL_PATH:
-        LOCAL_PATH = os.path.join(os.path.dirname(os.path.abspath(__file__)),
-                                  'local')
-
+        #LOCAL_PATH = os.path.join(os.path.dirname(os.path.abspath(__file__)),
+        #                          'local')
+       LOCAL_PATH = '/tmp'
     from horizon.utils import secret_key
     SECRET_KEY = secret_key.generate_or_read_from_file(os.path.join(LOCAL_PATH,
                                                        '.secret_key_store'))

And I can't find the damn coulds.yaml file in my setup. There is no openstack directory created under ~/.config. Are there any othre hints on what I should try???? Please, appreciate any help.

edit flag offensive delete link more
1

answered 2016-04-13 21:38:37 -0600

hanrong gravatar image

I ran into the same issue. I need more information before Discovering versions from the identity service failed when creating the password plugin. Attempting to determine version from URL.

2016-03-03 07:29:02.134 | ++ /home/tecs/devstack/lib/keystone:bootstrap_keystone:L651: openstack token issue -c id -f value --os-username admin --os-project-name admin --os-user-domain-id default --os-project-domain-id default --os-identity-api-version 3 --os-auth-url http://192.0.6.12:35357 --os-password nomoresecrete

2016-03-03 07:29:30.453 | Discovering versions from the identity service failed when creating the password plugin. Attempting to determine version from URL.

2016-03-03 07:29:30.454 | Could not determine a suitable URL for the plugin

2016-03-03 07:29:30.501 | + /home/tecs/devstack/lib/keystone:bootstrap_keystone:L651: token_id=

2016-03-03 07:29:30.501 | + /home/tecs/devstack/lib/keystone:bootstrap_keystone:L1: exit_trap

2016-03-03 07:29:30.502 | + ./stack.sh:exit_trap:L474: local r=1

2016-03-03 07:29:30.504 | ++ ./stack.sh:exit_trap:L475: jobs -p

I found http://192.0.6.12:35357 is not available. I used proxy.

export no_proxy="10.0.0.0/8,192.0.6.12,127.0.0.1"

edit flag offensive delete link more
0

answered 2015-12-27 10:19:32 -0600

I ran into the same issue when switching between a local.conf that used devstack liberty/stable to one that used devstack / master. In my case I was also investigating tacker.

Run an unstack.sh and then clean up/delete your ~/.config/openstack/clouds.yaml file

edit flag offensive delete link more

Comments

are these steps solve the problem?

Haikal gravatar imageHaikal ( 2016-05-01 19:11:59 -0600 )edit

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Get to know Ask OpenStack

Resources for moderators

Question Tools

1 follower

Stats

Asked: 2015-12-13 09:25:04 -0600

Seen: 6,643 times

Last updated: Apr 18 '16