[PATCH 0/3] Misc LXC errore reporting improvements

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



From: "Daniel P. Berrange" <berrange@xxxxxxxxxx>

A few more LXC fixes to improve error reporting

Instead of

# virsh -c lxc:/// start shell
error: Failed to start domain shell
error: internal error: guest failed to start: PATH=/bin:/sbin TERM=linux container=lxc-libvirt container_uuid=95449419-f969-d649-d996-2566ec42af7d LIBVIRT_LXC_UUID=95449419-f969-d649-d996-2566ec42af7d LIBVIRT_LXC_NAME=shell /bin/sh
error receiving signal from container: Input/output error

we now get

# virsh -c lxc:/// start shell
error: Failed to start domain shell
error: internal error: guest failed to start: Failed to access '/mnt/btr/does/not/exist': No such file or directory


Daniel P. Berrange (3):
  Ensure lxcContainerMain reports errors on stderr
  Ensure lxcContainerResolveSymlinks reports errors
  Improve log filtering in virLXCProcessReadLogOutputData

 src/lxc/lxc_container.c | 18 ++++++++++++++----
 src/lxc/lxc_process.c   | 16 +++++++++++++++-
 2 files changed, 29 insertions(+), 5 deletions(-)

-- 
1.8.3.1

--
libvir-list mailing list
libvir-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/libvir-list




[Index of Archives]     [Virt Tools]     [Libvirt Users]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]     [Fedora Tools]