[CentOS] Libvirt resume guest startup issues centos 7

Tue Sep 1 21:14:56 UTC 2015
Gordon Messmer <gordon.messmer at gmail.com>

On 08/31/2015 03:51 AM, Jason Pyeron wrote:
> journal: internal error: process exited while connecting to monitor:
> ((null):1937): Spice-Warning **: reds.c:3036:reds_init_socket:
> getaddrinfo(127.0.0.1,5900): Address family for hostname not supported
> I feel like this is an issue of libvirt starting before networking

I've looked at this a bit... But, bear in mind that I don't use Spice, 
so everything I say may be wrong.

I don't think libvirtd is starting before networking, regardless of the 
service.  However, if you'd like to test that theory, you can copy 
/usr/lib/systemd/system/libvirtd.service to /etc/systemd/system and edit 
it.  Replace the line "After=network.target" with 
"After=network-online.target", then reboot.  See if that affects the 
problem in any way.

The problem looks vaguely like the server is trying to use an IPv4 
address (127.0.0.1) and an IPv6 address family.  I'm not sure why it 
would do that.  Were there any specific directions you followed to set 
up Spice?

> https://bugzilla.redhat.com/show_bug.cgi?id=721350

I don't think this bug is relevant, as it results in a return value of 
EAI_NONAME.  In your case, getaddrinfo returns EAI_FAMILY.