DevStack startup is failed

Bug #1542902 reported by Han Manjong
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Solum
Fix Released
High
Han Manjong

Bug Description

When starting DevStack, it failed. Because, it doesn't use the functions which are provided by DevStack functions-common.

Setting endpoint, user, project is depends on
OpenStack version. So, through the general functions, it is
need to support various OpenStack versions.

I'm using Liberty version.

2016-02-05 23:02:57.274 | ++ [[ sql = \s\q\l ]]
2016-02-05 23:02:57.278 | +++ openstack service create application_deployment --name=solum --description=Solum
2016-02-05 23:02:57.280 | +++ grep ' id '
2016-02-05 23:02:57.282 | +++ get_field 2
2016-02-05 23:02:57.283 | +++ local data field
2016-02-05 23:02:57.283 | +++ read data
2016-02-05 23:02:58.301 | +++ '[' 2 -lt 0 ']'
2016-02-05 23:02:58.301 | +++ field='$3'
2016-02-05 23:02:58.301 | +++ echo '| id | 5704c8f419294af984ea41539dd41f86 |'
2016-02-05 23:02:58.302 | +++ awk '-F[ \t]*\\|[ \t]*' '{print $3}'
2016-02-05 23:02:58.306 | +++ read data
2016-02-05 23:02:58.306 | ++ SOLUM_SERVICE=5704c8f419294af984ea41539dd41f86
2016-02-05 23:02:58.307 | ++ openstack endpoint create --region RegionOne 5704c8f419294af984ea41539dd41f86 public http://192.168.176.156:9777
2016-02-05 23:02:59.150 | usage: openstack endpoint create [-h] [-f {html,json,shell,table,value,yaml}]
2016-02-05 23:02:59.151 | [-c COLUMN] [--max-width <integer>]
2016-02-05 23:02:59.151 | [--noindent] [--prefix PREFIX] --publicurl
2016-02-05 23:02:59.151 | <url> [--adminurl <url>]
2016-02-05 23:02:59.151 | [--internalurl <url>] [--region <region-id>]
2016-02-05 23:02:59.151 | <service>
2016-02-05 23:02:59.151 | openstack endpoint create: error: argument --publicurl is required
2016-02-05 23:02:59.189 | + exit_trap
2016-02-05 23:02:59.190 | + local r=2
2016-02-05 23:02:59.194 | ++ jobs -p
2016-02-05 23:02:59.201 | + jobs=
2016-02-05 23:02:59.202 | + [[ -n '' ]]
2016-02-05 23:02:59.203 | + kill_spinner
2016-02-05 23:02:59.203 | + '[' '!' -z '' ']'
2016-02-05 23:02:59.204 | + [[ 2 -ne 0 ]]
2016-02-05 23:02:59.204 | + echo 'Error on exit'
2016-02-05 23:02:59.204 | Error on exit
2016-02-05 23:02:59.204 | + [[ -z /opt/stack/logs ]]
2016-02-05 23:02:59.204 | + /home/stack/devstack/tools/worlddump.py -d /opt/stack/logs
2016-02-05 23:02:59.717 | + exit 2

Han Manjong (aksmj8855)
description: updated
Revision history for this message
Devdatta Kulkarni (devdatta-kulkarni) wrote :

Hi Han,

Thanks for filing this bug and proposing patch to fix it.

Can you mention what version of openstack cli were you using?

Devdatta

Changed in solum:
importance: Undecided → High
assignee: nobody → Han Manjong (aksmj8855)
milestone: none → next-mitaka
Revision history for this message
Han Manjong (aksmj8855) wrote :

Hi, Devdatta.
I'm using Liberty. I'll update the description too.
Thanks.

description: updated
Revision history for this message
Devdatta Kulkarni (devdatta-kulkarni) wrote :

Hi Han,

Could you try the steps outlined here:

https://github.com/devdattakulkarni/solum-provenance/blob/master/steps-to-enable-solum-with-devstack

Let me know if you are able to get a working solum setup in devstack.

Devdatta

Revision history for this message
Hidekazu Nakamura (nakamura-h) wrote :

I am not Han, but I installed Solum in devstack successfully following the URL.

Revision history for this message
Devdatta Kulkarni (devdatta-kulkarni) wrote :

@nakamura-h: Thanks for confirming that the instructions above worked for you.

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to solum (master)

Reviewed: https://review.openstack.org/277194
Committed: https://git.openstack.org/cgit/openstack/solum/commit/?id=4bd1a6e932fd6fa14c338c41cd0c92589fddc30c
Submitter: Jenkins
Branch: master

commit 4bd1a6e932fd6fa14c338c41cd0c92589fddc30c
Author: Han Manjong <email address hidden>
Date: Mon Feb 8 03:12:10 2016 +0900

    Setting endpoint, user, project using DevStack functions-common

    DevStack provides the general setting functions through the file
    functions-common. Setting endpoint, user, project is depends on
    OpenStack version. So, through the general functions, it is
    need to support various OpenStack versions.

    Co-Authored-By: zhurong <email address hidden>
    Closes-Bug: #1542902
    Change-Id: I6e468a50e00ce6e9cd032fcf54d072f73ad4b0a2

Changed in solum:
status: New → Fix Released
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix included in openstack/solum 5.1.0

This issue was fixed in the openstack/solum 5.1.0 release.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.