Debugging Compute Resource communication

How to debug (some) compute resources communication.

Libvirt

You cannot easily debug libvirt over the wire, it is a SSH connection wrapper around a native TCP protocol. However, it ts possible to enable debugging on the libvirt daemon and it can show verbose messages up to the XML it is processing. See: libvirt: Debug Logs

Others

Start Rails with these environment options:

EXCON_DEBUG=true DEBUG=true ./script/rails s

For production deployments:

cat > /etc/systemd/system/foreman.service.d/debug.conf <<EOF
[Service]
Environment=EXCON_DEBUG=true
Environment=DEBUG=true

This will only work for some compute resources.

This page used to be on our wiki, I am putting it here. Feel free to edit.

3 Likes

sounds as a good contribution to the Howto section :slight_smile:

What’s Howto section? You mean developer_docs?

Sorry I should have said Tutorials

1 Like