Single node - devstack installation failed by os.popen()

Bug #1466465 reported by cooldharma06
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
devstack
Fix Released
Undecided
Anandprakash Tandale

Bug Description

I am trying to install devstack.

Note: i tried in stable release kilo-version devstack

but after long installation it getting exit without any status.

stack.sh log

2015-06-18 10:33:29.955 | + echo 'log on'
2015-06-18 10:33:29.955 | + screen -S stack -p g-api -X stuff '/usr/local/bin/glance-api --config-file=/etc/glance/glance-api.conf & echo $! >/opt/st'ck/status/stack/g-api.pid; fg || echo "g-api failed to start" | tee "/opt/stack/status/stack/g-api.failure"
2015-06-18 10:33:29.962 | + echo 'Waiting for g-api (10.11.12.1:9292) to start...'
2015-06-18 10:33:29.963 | Waiting for g-api (10.11.12.1:9292) to start...
2015-06-18 10:33:29.963 | + wait_for_service 60 http://10.11.12.1:9292
2015-06-18 10:33:29.963 | + local timeout=60
2015-06-18 10:33:29.964 | + local url=http://10.11.12.1:9292
2015-06-18 10:33:29.964 | + timeout 60 sh -c 'while ! curl -g -k --noproxy '\''*'\'' -s http://10.11.12.1:9292 >/dev/null; do sleep 1; done'
2015-06-18 10:33:32.016 | + is_service_enabled g-search
2015-06-18 10:33:32.021 | + return 1
2015-06-18 10:33:32.021 | + is_service_enabled g-reg
2015-06-18 10:33:32.025 | + return 0
2015-06-18 10:33:32.026 | ++ openstack token issue -c id -f value
2015-06-18 10:33:32.574 | ERROR: openstack Project ID not found: fa6bf9eafa104e3c811fd8345614a7d5 (Disable debug mode to suppress these details.) (HTTP 401) (Request-ID: req-d78bae9a-b77b-46c3-bba2-4b754f47bcef)
2015-06-18 10:33:32.603 | + TOKEN=
2015-06-18 10:33:32.604 | ++ err_trap
2015-06-18 10:33:32.604 | ++ local r=1
2015-06-18 10:33:32.607 | Error on exit
2015-06-18 10:33:32.917 | sh: 1: kill: Usage: kill [-s sigspec | -signum | -sigspec] [pid | job]... or
2015-06-18 10:33:32.919 | kill -l [exitstatus]

worlddump-2015-06-18-103332.txt

nova-compute Guru Meditation Report
===================================

kill -s USR1 `pgrep nova-compute`
---------------------------------

guru meditation report in nova-compute log
World dumping... see /opt/stack/logs/worlddump-2015-06-18-103332.txt for details

________

Suggestion:

Under tools/worlddump.py

def _dump_cmd(cmd):
    print cmd
    print "-" * len(cmd)
    print
    print os.popen(cmd).read()

From the following link : https://docs.python.org/2/library/os.html#os.popen

popen() is deprecated. So have to update the change in worlddump.py

Changed in devstack:
assignee: nobody → Anandprakash Tandale (anand-prakash)
status: New → In Progress
description: updated
description: updated
Changed in devstack:
status: In Progress → Confirmed
Changed in devstack:
status: Confirmed → Fix Committed
Sean Dague (sdague)
Changed in devstack:
status: Fix Committed → Fix Released
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.