<div dir="ltr"><div class="gmail_extra"><div class="gmail_extra">I was setting up a VM independent of autopkgtests to debug this further, but so far only confirmed what I had already:</div><div class="gmail_extra">Yet as documentation if we later on need to refer to that data:</div><div class="gmail_extra"><br></div><div class="gmail_extra">Logs of journalctl -fex and the libvirt log on sl guest when doing the killing restart</div><div class="gmail_extra"><br></div><div class="gmail_extra"># Before:</div><div class="gmail_extra">$ virsh list --all</div><div class="gmail_extra"> Id    Name                           State</div><div class="gmail_extra">----------------------------------------------------</div><div class="gmail_extra"> 3807  sl                             running</div><div class="gmail_extra"><br></div><div class="gmail_extra"># Then on restart</div><div class="gmail_extra">$ /etc/init.d/libvirtd restart</div><div class="gmail_extra"><br></div><div class="gmail_extra"># /var/log/libvirt/lxc/sl.log:</div><div class="gmail_extra"> 3807: info : hostname: zesty-test-smoke-lxc</div><div class="gmail_extra"> 3807: error : virNetSocketReadWire:1801 : End of file while reading data: Input/output error</div><div class="gmail_extra"><br></div><div class="gmail_extra"># journalctl -fex:</div><div class="gmail_extra">[...] normal stopping / starting message - then after "libvirtd.service has finished starting up":</div><div class="gmail_extra"> libvirtd[4073]: internal error: No valid cgroup for machine sl</div><div class="gmail_extra"> audit[4125]: AVC apparmor="STATUS" operation="profile_remove" profile="unconfined" name="libvirt-354e2b39-9c30-4080-9323-23d27f8d2cf8" pid=4125 comm="apparmor_parser"</div><div class="gmail_extra"> kernel: audit: type=1400 audit(1482226905.416:21): apparmor="STATUS" operation="profile_remove" profile="unconfined" name="libvirt-354e2b39-9c30-4080-9323-23d27f8d2cf8" pid=4125 comm="apparmor_parser"</div><div class="gmail_extra"> libvirtd[4073]: End of file while reading data: Input/output error</div><div class="gmail_extra"><br></div><div class="gmail_extra"><br></div><div class="gmail_extra"># The guest appears as shut off now (sometimes I have to restart twice to get the guest listed here again):</div><div class="gmail_extra">$ virsh list --all</div><div class="gmail_extra"> Id    Name                           State</div><div class="gmail_extra">----------------------------------------------------</div><div class="gmail_extra"> -     sl                             shut off</div><div class="gmail_extra"><br></div><div class="gmail_extra"><br></div><div class="gmail_extra">So the "root cause" still appears as: "internal error: No valid cgroup for machine sl"</div><div class="gmail_extra">After that it is on the kill path, removing the profile but no other error shows up.</div><div class="gmail_extra"><br></div><div class="gmail_extra">I saved some /etc/libvirt and cgroup info.</div><div class="gmail_extra">But no content in any of those changed between bad case (after first restart) and good case (after staring the guest once again).</div><div class="gmail_extra"><br></div><div class="gmail_extra">I don't see where it is "fixing itself up" after starting the guest again :-/</div><div class="gmail_extra">And I'd have hoped that this would be my entry point to find a fix.</div><div class="gmail_extra"><br></div>
</div></div>