On 7/14/2014 3:47 AM, Meng Jie MJ Li wrote:
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 ad...@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







_______________________________________________
OpenStack-dev mailing list
OpenStack-dev@lists.openstack.org
http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev


There was a recent change to devstack to default to running keystone in apache, that might be what you're hitting. There is an env var to disable that so it doesn't run in apache, but you'd have to look up the change for the details. Should be in the devstack/libs/keystone file history.

--

Thanks,

Matt Riedemann


_______________________________________________
OpenStack-dev mailing list
OpenStack-dev@lists.openstack.org
http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev

Reply via email to