Public bug reported:

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

** Affects: python-novaclient (Ubuntu)
     Importance: Undecided
         Status: New

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1210297

Title:
  nova client hangs for aprox 25 seconds before completing

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/python-novaclient/+bug/1210297/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to