nova client slow when run as non root
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/
lr-x------ 1 jamo jamo 64 Aug 1 11:11 4 -> /usr/share/
lr-x------ 1 jamo jamo 64 Aug 1 11:11 5 -> /usr/share/
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
Question information
- Language:
- English Edit question
- Status:
- Answered
- Assignee:
- No assignee Edit question
- Last query:
- Last reply:
Can you help with this problem?
Provide an answer of your own, or ask James Luhrsen for more information if necessary.