Friday, 2022-02-18

kata-irc-bot<aik> hey! trying kata on ppc64le, enabled debug, cannot get qemu logs stored anywhere, wonder how it is supposed to work02:55
kata-irc-bot<aik> https://github.com/kata-containers/kata-containers/blob/main/docs/Developer-Guide.md#enable-full-debug  this is how I enabled debug02:55
kata-irc-bot<aik> ```Feb 18 13:53:49 zz1 virtiofsd[3101473]: [ID: 00000001] fv_queue_set_started: qidx=1 started=0                                                                                   Feb 18 13:53:49 zz1 virtiofsd[3101473]: [ID: 00000004] fv_queue_thread: kill event on queue 1 - quitting                                                                        Feb 18 13:53:49 zz1 virtiofsd[3101473]: [ID: 00000001] fv_remove_watch: TODO! fd=12       02:56
kata-irc-bot                                                                                     Feb 18 13:53:49 zz1 virtiofsd[3101473]: [ID: 00000001] virtio_loop: Waiting for VU event                                                                                        Feb 18 13:53:49 zz1 virtiofsd[3101473]: [ID: 00000001] virtio_loop: Got VU event                                                                                                Feb 1802:56
kata-irc-bot13:53:49 zz1 virtiofsd[3101473]: [ID: 00000001] virtio_loop: Waiting for VU event                                                                                        Feb 18 13:53:49 zz1 virtiofsd[3101473]: [ID: 00000001] virtio_loop: Got VU event                                                                                                Feb 18 13:53:49 zz1 virtiofsd[3101473]: [ID: 00000001] virtio_loop: Waiting for VU event                  02:56
kata-irc-bot                                                                     Feb 18 13:53:50 zz1 virtiofsd[3101473]: [ID: 00000001] virtio_loop: Unexpected poll revents 11                                                                                  Feb 18 13:53:50 zz1 virtiofsd[3101473]: [ID: 00000001] virtio_loop: Exit                                                                                                        Feb 18 13:53:50 zz102:56
kata-irc-botkata[3101452]: time="2022-02-18T13:53:50.021312996+11:00" level=warning msg="Unable to connect to unix socket (/run/vc/vm/hello/qmp.sock): dial unix /run/v c/vm/hello/qmp.sock: connect: no such file or directory" name=containerd-shim-v2 pid=3101452 sandbox=hello source=virtcontainers/hypervisor subsystem=qmp                      ``` is the failure02:56
kata-irc-bot<aik> this is how I run it ```aik@zz1:~/go/src/github.com/kata-containers/kata-containers/src/runtime$ sudo ctr run --runtime io.containerd.run.kata.v2 -t --rm docker.io/library/busybox:latest hello sh ctr: failed to create shim: Failed to Check if grpc server is working: ttrpc: closed: unknown``` 02:56
kata-irc-bot<aik> running without `--rm` does not preserve qemu logs in `/run/vc/vm/hello/`02:57
kata-irc-bot<aik> what is supposed to run `kata-agent` btw? and does it have to be `root`?03:51
kata-irc-bot<fidencio> May I bother someone for a revew on https://github.com/kata-containers/kata-containers/pull/3700?09:37
kata-irc-bot<fidencio> Thanks, @samuel.ortiz!09:41
kata-irc-bot<samuel.ortiz> yw09:51
kata-irc-bot<jakob.naucke> @binbin36520 ping for https://github.com/kata-containers/kata-containers/issues/3379#issuecomment-1040492065 :slightly_smiling_face:15:02
kata-irc-bot<jakob.naucke> Hmmm. First, let me in @amulmek1 as a ppc64le contact here. Did you create a proper ppc64le guest image https://github.com/kata-containers/kata-containers/blob/main/docs/Developer-Guide.md#create-a-rootfs-image? This error usually means that the agent communication bringup failed. FYI, the kata-agent is launched in the guest by systemd or by being the init process itself.15:05

Generated by irclog2html.py 2.17.3 by Marius Gedminas - find it at https://mg.pov.lt/irclog2html/!