DevStack startup is failed
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_
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 | 5704c8f419294af
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=
2016-02-05 23:02:58.307 | ++ openstack endpoint create --region RegionOne 5704c8f419294af
2016-02-05 23:02:59.150 | usage: openstack endpoint create [-h] [-f {html,json,
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/
2016-02-05 23:02:59.717 | + exit 2
description: | updated |
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