nova client hangs for aprox 25 seconds before completing

Bug #1210297 reported by James Luhrsen

This bug report was converted into a question: question #236420: nova client hangs for aprox 25 seconds before completing.

6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
python-novaclient (Ubuntu)
Invalid
Undecided
Unassigned

Bug Description

Looks like this forum is not well used, but not sure where else to ask this.

When I run the nova client I see that it hangs for 25 seconds or so before returning. This is as
a specific non-root user. With root (or sudo) this delay/hang is not there and it's not happening
for other users either.

This is without any options (e.g. "nova help"). Using "strace" I see that it's timing out on some
filedescriptor after 25 seconds.

17687 1375377962.257688 poll([{fd=6, events=POLLIN}], 1, 25000) = 0 (Timeout) <25.025049>

That file descriptor is a socket with an endpoint pointing to python, but thats as far as I have
gotten:

# ps -elf | egrep nova
0 T jamo 19040 8910 3 80 0 - 23150 signal 11:10 pts/28 00:00:00 /usr/bin/python /usr/bin/nova
0 S root 19046 8876 0 80 0 - 3406 pipe_w 11:10 pts/7 00:00:00 egrep --color=auto nova

# ll /proc/19040/fd/
total 0
dr-x------ 2 jamo jamo 0 Aug 1 11:10 ./
dr-xr-xr-x 9 jamo jamo 0 Aug 1 11:10 ../
lrwx------ 1 jamo jamo 64 Aug 1 11:11 0 -> /dev/pts/28
lrwx------ 1 jamo jamo 64 Aug 1 11:11 1 -> /dev/pts/28
lrwx------ 1 jamo jamo 64 Aug 1 11:10 2 -> /dev/pts/28
lr-x------ 1 jamo jamo 64 Aug 1 11:11 3 -> /usr/share/pyshared/novaclient/shell.py
lr-x------ 1 jamo jamo 64 Aug 1 11:11 4 -> /usr/share/pyshared/keyring/__init__.py
lr-x------ 1 jamo jamo 64 Aug 1 11:11 5 -> /usr/share/pyshared/keyring/core.py
lrwx------ 1 jamo jamo 64 Aug 1 11:11 6 -> socket:[972315]

s# netstat -nxp | egrep 972315
unix 3 [ ] STREAM CONNECTED 972315 19040/python

I must have something wrong with this specific users environment, but I can't figure it out.

Any other ideas for debugging this?

Thanks,
JamO

Revision history for this message
Serge Hallyn (serge-hallyn) wrote :

(I don't have an answer, but I believe you may have better luck getting an answer if this is converted to a quesetion)

Changed in python-novaclient (Ubuntu):
status: New → Invalid
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Related questions

Remote bug watches

Bug watches keep track of this bug in other bug trackers.