[pkg-lxc-devel] Bug#961584: lxc-stop fails with exit code 1

Inaki Malerba inaki at malerba.space
Wed Jun 3 09:57:13 BST 2020


El 2/6/20 a las 20:07, Pierre-Elliott Bécue escribió:
> Could you remove the --quiet bit to see if lxc-stop gives us a bit more
> intel?
> 
> If possible, have your testbed call lxc-stop --kill --logpriority trace
> --logfile /dev/stdout --name ${NAME}, so we can have the most expressive
> output. But if it's an error, removing the quiet bit could be enough.
> 
> Thanks.
> 

The POC I attached on a previous email it's not using debci, so you can
modify the lxc-stop call.

After enabling trace log level, the output is the following:

> Starting LXC network bridge: :Starting LXC autoboot containers: :
> lxc-stop autopkgtest-stable-amd64 20200603085059.718 TRACE    commands - commands.c:lxc_cmd_rsp_recv:123 - Command "get_init_pid" received response
> lxc-stop autopkgtest-stable-amd64 20200603085059.718 DEBUG    commands - commands.c:lxc_cmd_rsp_recv:156 - Response data length for command "get_init_pid" is 0
> lxc-stop autopkgtest-stable-amd64 20200603085059.718 TRACE    commands - commands.c:lxc_cmd:293 - Opened new command socket connection fd 4 for command "get_init_pid"
> lxc-stop autopkgtest-stable-amd64 20200603085059.719 TRACE    commands - commands.c:lxc_cmd_rsp_recv:123 - Command "get_state" received response
> lxc-stop autopkgtest-stable-amd64 20200603085059.719 DEBUG    commands - commands.c:lxc_cmd_rsp_recv:156 - Response data length for command "get_state" is 0
> lxc-stop autopkgtest-stable-amd64 20200603085059.719 TRACE    commands - commands.c:lxc_cmd:293 - Opened new command socket connection fd 4 for command "get_state"
> lxc-stop autopkgtest-stable-amd64 20200603085059.719 DEBUG    commands - commands.c:lxc_cmd_get_state:656 - Container "autopkgtest-stable-amd64" is in "RUNNING" state
> lxc-stop autopkgtest-stable-amd64 20200603085059.719 TRACE    commands - commands.c:lxc_cmd_rsp_recv:123 - Command "stop" received response
> lxc-stop autopkgtest-stable-amd64 20200603085059.719 DEBUG    commands - commands.c:lxc_cmd_rsp_recv:156 - Response data length for command "stop" is 0
> lxc-stop autopkgtest-stable-amd64 20200603085059.719 TRACE    commands - commands.c:lxc_cmd:293 - Opened new command socket connection fd 4 for command "stop"
> lxc-stop autopkgtest-stable-amd64 20200603085059.720 ERROR    commands - commands.c:lxc_cmd_stop:707 - No such file or directory - Failed to stop container "autopkgtest-stable-amd64"
> lxc-stop: autopkgtest-stable-amd64: commands.c: lxc_cmd_stop: 707 No such file or directory - Failed to stop container "autopkgtest-stable-amd64"

-- 
- ina

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: OpenPGP digital signature
URL: <http://alioth-lists.debian.net/pipermail/pkg-lxc-devel/attachments/20200603/b7fd836f/attachment.sig>


More information about the Pkg-lxc-devel mailing list