[openstack-dev] About the ERROR:cliff.app Service Unavailable during deploy openstack by devstack.
Meng Jie MJ Li
mengjiel at cn.ibm.com
Mon Jul 14 08:47:58 UTC 2014
HI,
I tried to use devstack to deploy openstack. But encountered an issue :
ERROR: cliff.app Service Unavailable (HTTP 503). Tried several times all
same result.
========================================
2014-07-14 05:53:39.430 | + create_keystone_accounts
2014-07-14 05:53:39.431 | ++ get_or_create_project admin
2014-07-14 05:53:39.433 | +++ openstack project show admin -f value -c id
2014-07-14 05:53:40.147 | +++ openstack project create admin -f value -c
id
2014-07-14 05:53:40.771 | ERROR: cliff.app Service Unavailable (HTTP 503)
....
2014-07-14 05:53:41.519 | +++ openstack user create admin --password admin
--project --email admin at example.com -f value -c id
2014-07-14 05:53:42.080 | usage: openstack user create [-h] [-f
{shell,table,value}] [-c COLUMN]
2014-07-14 05:53:42.080 | [--max-width
<integer>] [--prefix PREFIX]
2014-07-14 05:53:42.080 | [--password
<user-password>] [--password-prompt]
2014-07-14 05:53:42.080 | [--email
<user-email>] [--project <project>]
2014-07-14 05:53:42.080 | [--enable |
--disable]
2014-07-14 05:53:42.080 | <user-name>
2014-07-14 05:53:42.081 | openstack user create: error: argument
--project: expected one argument
2014-07-14 05:53:42.109 | ++ USER_ID=
2014-07-14 05:53:42.109 | ++ echo
2014-07-14 05:53:42.109 | + ADMIN_USER=
2014-07-14 05:53:42.110 | ++ get_or_create_role admin
2014-07-14 05:53:42.111 | +++ openstack role show admin -f value -c id
2014-07-14 05:53:42.682 | +++ openstack role create admin -f value -c id
2014-07-14 05:53:43.235 | ERROR: cliff.app Service Unavailable (HTTP 503)
========================================
By checked in google, found someone encountered the same problem logged in
https://bugs.launchpad.net/devstack/+bug/1291111, I tried to workaround
but didn't work. The below is workaround way.
=====================
1st, I tried setting HOST_IP to 127.0.0.1.
Next, I set it to 9.21.xxx.xxx , which is the address of my eth0
interface, and added
export no_proxy=localhost,127.0.0.1,9.21.xxx.xxx
Neither of these fixed the problem.
========================
My localrc file:
========================
HOST_IP=9.21.xxx.xxx
FLAT_INTERFACE=eth0
#FIXED_RANGE=10.4.128.0/20
#FIXED_NETWORK_SIZE=4096
#FLOATING_RANGE=192.168.42.128/25
MULTI_HOST=1
LOGFILE=/opt/stack/logs/stack.sh.log
ADMIN_PASSWORD=admin
MYSQL_PASSWORD=admin
RABBIT_PASSWORD=admin
SERVICE_PASSWORD=admin
SERVICE_TOKEN=xyzpdqlazydog
===========================
Any help appreciated!!!!
Regards
Mengjie
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstack.org/pipermail/openstack-dev/attachments/20140714/027f13d6/attachment.html>
More information about the OpenStack-dev
mailing list