cliff.app service unavailable when using devstack to deploy in Ubuntu 12.04

Bug #1291111 reported by Jerry Li
22
This bug affects 5 people
Affects Status Importance Assigned to Milestone
devstack
Invalid
Undecided
Zu Qiang

Bug Description

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. Any clue? Thank you very much.

2014-03-11 16:00:21.039 | + is_service_enabled tls-proxy
2014-03-11 16:00:21.051 | + return 1
2014-03-11 16:00:21.061 | + SERVICE_ENDPOINT=http://10.0.2.15:35357/v2.0
2014-03-11 16:00:21.078 | + is_service_enabled tls-proxy
2014-03-11 16:00:21.095 | + return 1
2014-03-11 16:00:21.109 | + export OS_SERVICE_TOKEN=2f78640c541d361cde52
2014-03-11 16:00:21.118 | + OS_SERVICE_TOKEN=2f78640c541d361cde52
2014-03-11 16:00:21.123 | + export OS_SERVICE_ENDPOINT=http://10.0.2.15:35357/v2.0
2014-03-11 16:00:21.151 | + OS_SERVICE_ENDPOINT=http://10.0.2.15:35357/v2.0
2014-03-11 16:00:21.166 | + export OS_TOKEN=2f78640c541d361cde52
2014-03-11 16:00:21.173 | + OS_TOKEN=2f78640c541d361cde52
2014-03-11 16:00:21.177 | + export OS_URL=http://10.0.2.15:35357/v2.0
2014-03-11 16:00:21.190 | + OS_URL=http://10.0.2.15:35357/v2.0
2014-03-11 16:00:21.199 | + create_keystone_accounts
2014-03-11 16:00:21.205 | ++ get_field 2
2014-03-11 16:00:21.219 | ++ read data
2014-03-11 16:00:21.241 | ++ grep ' id '
2014-03-11 16:00:21.264 | ++ openstack project create admin

2014-03-11 16:01:37.571 | ERROR: cliff.app Service Unavailable (HTTP 503)
2014-03-11 16:01:37.623 | + ADMIN_TENANT=
2014-03-11 16:01:37.636 | ++ openstack user create admin --project '' --email <email address hidden> --password password
2014-03-11 16:01:37.640 | ++ grep ' id '
2014-03-11 16:01:37.649 | ++ get_field 2
2014-03-11 16:01:37.659 | ++ read data
2014-03-11 16:02:53.574 | ERROR: cliff.app Service Unavailable (HTTP 503)
2014-03-11 16:02:53.619 | + ADMIN_USER=
2014-03-11 16:02:53.639 | ++ get_field 2
2014-03-11 16:02:53.653 | ++ read data
2014-03-11 16:02:53.657 | ++ openstack role create admin
2014-03-11 16:02:53.665 | ++ grep ' id '
2014-03-11 16:04:09.573 | ERROR: cliff.app Service Unavailable (HTTP 503)
2014-03-11 16:04:09.612 | + ADMIN_ROLE=
2014-03-11 16:04:09.618 | + openstack role add --project --user
2014-03-11 16:04:10.412 | usage: openstack role add [-h] [-f {shell,table}] [-c COLUMN]
2014-03-11 16:04:10.420 | [--variable VARIABLE] [--prefix PREFIX] --project
2014-03-11 16:04:10.424 | <project> --user <user>
2014-03-11 16:04:10.435 | <role>
2014-03-11 16:04:10.447 | openstack role add: error: argument --project: expected one argument
2014-03-11 16:04:10.464 | + exit_trap
2014-03-11 16:04:10.468 | + local r=2
2014-03-11 16:04:10.472 | ++ jobs -p
2014-03-11 16:04:10.475 | + jobs=
2014-03-11 16:04:10.478 | + [[ -n '' ]]
2014-03-11 16:04:10.483 | + exit 2

Jerry Li (lichen970)
description: updated
Revision history for this message
Zu Qiang (qiang-zu) wrote :

got the same problem when installing Trove

Revision history for this message
Emilio Recio (emilio-recio) wrote :

I had the same problem but i solve it. I added a host_ip var on localrc with a wrong IP, so I changeit and start working.

Revision history for this message
Ramy Asselin (ramy-asselin) wrote :

I also had the same problem and my HOST_IP var in localrc was set correctly, but my ip address was NOT set in my no_proxy environment variable. Once set it worked.

Try adding "10.0.2.15" to this.
e.g.
export no_proxy=localhost,127.0.0.1,localaddress,.localdomain.com,10.0.2.15

Changed in devstack:
status: New → Invalid
Revision history for this message
Zu Qiang (qiang-zu) wrote :

This a problem with the Devstack environments proxy configuration. The FLOATING_RANG and the HOST_IP shall be added into no_proxy.

Zu Qiang (qiang-zu)
Changed in devstack:
status: Invalid → In Progress
Jerry Li (lichen970)
Changed in devstack:
status: In Progress → Fix Committed
Zu Qiang (qiang-zu)
Changed in devstack:
assignee: nobody → Zu Qiang (qiang-zu)
Revision history for this message
Keith Smith (keithsmithccc) wrote :

I have the same problem. I installed devstack, started it and it worked fine. I then restarted (after running unstack.sh and clean.sh) and it hit this same problem. I tried the workarounds but didn't work, assuming I did correctly.

1st, I tried setting HOST_IP to 127.0.0.1.
Next, I set it to 192.168.122.1, which is the address of my virbr0 interface, and added
   export no_proxy=localhost,127.0.0.1,localaddress,.localdomain.com,192.168.122.1
Neither of these fixed the problem.

I saw that a fix was committed, so I tried setting RECLONE=yes in my local.conf as shown below. I assumed that would have refreshed with any committed fixes.

Any help appreciated,
Keith

[[local|localrc]]
LOGFILE=/home/keith/devstack/logs/stack.sh.log
ADMIN_PASSWORD=foobar
DATABASE_PASSWORD=$ADMIN_PASSWORD
RABBIT_PASSWORD=$ADMIN_PASSWORD
SERVICE_PASSWORD=$ADMIN_PASSWORD
SERVICE_TOKEN=a682f596-76f3-11e3-b3b2-e716f9080d50
#FIXED_RANGE=172.31.1.0/24
#FLOATING_RANGE=192.168.20.0/25
HOST_IP=192.168.122.1
RECLONE=yes

Revision history for this message
Zu Qiang (qiang-zu) wrote :
Zu Qiang (qiang-zu)
Changed in devstack:
status: Fix Committed → In Progress
Revision history for this message
Glenn M. Gobeli (ggobeli) wrote :

I seem to be having a related problem: cliff.app fails when settung up devstack.
...
2014-05-27 16:54:15.952 | + USER_PASS=nova
2014-05-27 16:54:15.953 | + USER_NAME=admin
2014-05-27 16:54:15.955 | + '[' -z all ']'
2014-05-27 16:54:15.956 | + export -n SERVICE_TOKEN SERVICE_ENDPOINT OS_SERVICE_TOKEN OS_SERVICE_ENDPOINT
2014-05-27 16:54:15.958 | ++ openstack endpoint show -f value -c publicurl ec2
2014-05-27 16:54:16.210 | + EC2_URL=http://192.168.10.11:8773/services/Cloud
2014-05-27 16:54:16.212 | + [[ -z http://192.168.10.11:8773/services/Cloud ]]
2014-05-27 16:54:16.213 | ++ openstack endpoint show -f value -c publicurl s3
2014-05-27 16:54:16.774 | ERROR: cliff.app No service with a type, name or ID of 's3' exists.
2014-05-27 16:54:16.796 | + S3_URL=
2014-05-27 16:54:16.797 | ++ err_trap
2014-05-27 16:54:16.800 | ++ local r=1
2014-05-27 16:54:16.802 | stack.sh failed: full log in /opt/stack/devstack.log.2014-05-27-165104

This problem appears in the master build as of today for me (built a VM yesterday without issue.

Revision history for this message
Juan Manuel Rey (jreypo) wrote :

I'm having exactly the same problem as you Glenn setting up a new devstack box on Ubuntu 12.04.
...
2014-06-19 23:40:10.446 | + USER_PASS=vmware
2014-06-19 23:40:10.446 | + USER_NAME=admin
2014-06-19 23:40:10.446 | + '[' -z all ']'
2014-06-19 23:40:10.446 | + export -n SERVICE_TOKEN SERVICE_ENDPOINT OS_SERVICE_TOKEN OS_SERVICE_ENDPOINT
2014-06-19 23:40:10.446 | ++ openstack endpoint show -f value -c publicurl ec2
2014-06-19 23:40:11.132 | + EC2_URL=http://192.168.82.20:8773/services/Cloud
2014-06-19 23:40:11.132 | + [[ -z http://192.168.82.20:8773/services/Cloud ]]
2014-06-19 23:40:11.132 | ++ openstack endpoint show -f value -c publicurl s3
2014-06-19 23:40:11.610 | ERROR: cliff.app No service with a type, name or ID of 's3' exists.
2014-06-19 23:40:11.632 | + S3_URL=
2014-06-19 23:40:11.632 | ++ err_trap
2014-06-19 23:40:11.632 | ++ local r=1

Tried the no_proxy workaround described, just in case with no luck
2014-06-19 23:40:11.632 | stack.sh failed: full log in /opt/stack/logs/stack.sh.log.2014-06-20-012633

Revision history for this message
Zu Qiang (qiang-zu) wrote :

try "export no_proxy=no_proxy,192.168.82.20"

Revision history for this message
Juan Manuel Rey (jreypo) wrote :

Zu Qiang I tried every workaround described in this thread without luck. stack.sh still fails with same error stack.

Revision history for this message
Narendra Gollapilli (narendra-gollapilli) wrote :

Please suggest me some light one this issue.

Revision history for this message
Mayank Kumar (mayank0107) wrote :

Facing the same issue. Tried every workaround provided in this thread, without luck

Changed in devstack:
assignee: Zu Qiang (qiang-zu) → vigneshvar (vigneshvar-a-s)
Revision history for this message
vigneshvar (vigneshvar-a-s) wrote :
Changed in devstack:
assignee: vigneshvar (vigneshvar-a-s) → Zu Qiang (qiang-zu)
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to devstack (master)

Fix proposed to branch: master
Review: https://review.openstack.org/126324

Revision history for this message
OpenStack Infra (hudson-openstack) wrote :

Fix proposed to branch: master
Review: https://review.openstack.org/126325

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Change abandoned on devstack (master)

Change abandoned by Zu Qiang (<email address hidden>) on branch: master
Review: https://review.openstack.org/126324

Revision history for this message
OpenStack Infra (hudson-openstack) wrote :

Change abandoned by Zu Qiang (<email address hidden>) on branch: master
Review: https://review.openstack.org/126325

Revision history for this message
Zu Qiang (qiang-zu) wrote :
Revision history for this message
OpenStack Infra (hudson-openstack) wrote :

Change abandoned by Sean Dague (<email address hidden>) on branch: master
Review: https://review.openstack.org/117985
Reason: This review is > 4 weeks without comment, and failed Jenkins the last time it was checked. We are abandoning this for now. Feel free to reactivate the review by pressing the restore button and leaving a 'recheck' comment to get fresh test results.

Revision history for this message
OpenStack Infra (hudson-openstack) wrote :

Change abandoned by Sean Dague (<email address hidden>) on branch: master
Review: https://review.openstack.org/94988
Reason: This review is > 4 weeks without comment, and failed Jenkins the last time it was checked. We are abandoning this for now. Feel free to reactivate the review by pressing the restore button and leaving a 'recheck' comment to get fresh test results.

Revision history for this message
Sean Dague (sdague) wrote :

This devstack bug was last updated over 180 days ago, as devstack
is a fast moving project and we'd like to get the tracker down to
currently actionable bugs, this is getting marked as Invalid. If the
issue still exists, please feel free to reopen it.

Changed in devstack:
status: In Progress → Invalid
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.