[lxc-users] "lxc stop" hangs?
Tomasz Chmielewski
mangoo at wpkg.org
Tue Feb 9 03:50:52 UTC 2016
I have a problem with "lxc stop" command which stops the container, but
never returns.
It used to work some time ago (not sure when exactly it stopped
working).
# dpkg -l|grep lxd
ii lxd
2.0.0~beta1-0ubuntu4~ubuntu14.04.1~ppa1 amd64 Container
hypervisor based on LXC - daemon
ii lxd-client
2.0.0~beta1-0ubuntu4~ubuntu14.04.1~ppa1 amd64 Container
hypervisor based on LXC - client
From strace, I can see that the last GET request, but after that, it
just hangs (with container correctly stopped).
Is it a known problem?
[pid 16696] <... read resumed> "HTTP/1.1 301 Moved
Permanently\r\nLocation:
/1.0/operations/9db9ffdb-9a7c-46f6-a300-9ac61074f5a2/wait\r\nDate: Tue,
09 Feb 2016 03:45:36 GMT\r\nContent-Length: 0\r\nContent-Type:
text/plain; charset=utf-8\r\n\r\n", 4096) = 200
[pid 16693] futex(0xd88d90, FUTEX_WAKE, 1) = 0
[pid 16693] select(0, NULL, NULL, NULL, {0, 20} <unfinished ...>
[pid 16696] futex(0xc82002e908, FUTEX_WAKE, 1) = 1
[pid 16694] <... futex resumed> ) = 0
[pid 16696] read(3, <unfinished ...>
[pid 16694] epoll_wait(4, <unfinished ...>
[pid 16696] <... read resumed> 0xc8200a7000, 4096) = -1 EAGAIN (Resource
temporarily unavailable)
[pid 16694] <... epoll_wait resumed> {}, 128, 0) = 0
[pid 16693] <... select resumed> ) = 0 (Timeout)
[pid 16694] epoll_wait(4, <unfinished ...>
[pid 16693] select(0, NULL, NULL, NULL, {0, 20} <unfinished ...>
[pid 16696] futex(0xd89a08, FUTEX_WAKE, 1 <unfinished ...>
[pid 16692] <... futex resumed> ) = 0
[pid 16696] <... futex resumed> ) = 1
[pid 16692] select(0, NULL, NULL, NULL, {0, 100} <unfinished ...>
[pid 16693] <... select resumed> ) = 0 (Timeout)
[pid 16693] select(0, NULL, NULL, NULL, {0, 20} <unfinished ...>
[pid 16696] write(3, "GET
/1.0/operations/9db9ffdb-9a7c-46f6-a300-9ac61074f5a2/wait
HTTP/1.1\r\nHost: unix.socket\r\nUser-Agent:
Go-http-client/1.1\r\nReferer:
http://unix.socket//1.0/operations/9db9ffdb-9a7c-46f6-a300-9ac61074f5a2/wait\r\nAccept-Encoding:
gzip\r\n\r\n", 235 <unfinished ...>
[pid 16692] <... select resumed> ) = 0 (Timeout)
[pid 16696] <... write resumed> ) = 235
[pid 16692] futex(0xd89a08, FUTEX_WAIT, 0, NULL <unfinished ...>
[pid 16696] futex(0xd89a08, FUTEX_WAKE, 1 <unfinished ...>
[pid 16692] <... futex resumed> ) = -1 EAGAIN (Resource
temporarily unavailable)
[pid 16696] <... futex resumed> ) = 0
[pid 16692] select(0, NULL, NULL, NULL, {0, 100} <unfinished ...>
[pid 16696] futex(0xc820062108, FUTEX_WAIT, 0, NULL <unfinished ...>
[pid 16694] <... epoll_wait resumed> {{EPOLLOUT, {u32=1170309096,
u64=139643442003944}}}, 128, -1) = 1
[pid 16693] <... select resumed> ) = 0 (Timeout)
[pid 16694] epoll_wait(4, <unfinished ...>
[pid 16693] select(0, NULL, NULL, NULL, {0, 20} <unfinished ...>
[pid 16692] <... select resumed> ) = 0 (Timeout)
[pid 16693] <... select resumed> ) = 0 (Timeout)
[pid 16692] futex(0xd89a08, FUTEX_WAIT, 0, NULL <unfinished ...>
[pid 16693] futex(0xd88e50, FUTEX_WAIT, 0, {60, 0}) = -1 ETIMEDOUT
(Connection timed out)
[pid 16693] select(0, NULL, NULL, NULL, {0, 20}) = 0 (Timeout)
[pid 16693] futex(0xd88e50, FUTEX_WAIT, 0, {60, 0}) = -1 ETIMEDOUT
(Connection timed out)
[pid 16693] select(0, NULL, NULL, NULL, {0, 20}) = 0 (Timeout)
[pid 16693] futex(0xd88e50, FUTEX_WAIT, 0, {60, 0}
Tomasz Chmielewski
http://wpkg.org
More information about the lxc-users
mailing list