Recently I moved to a new flat and powered down my virtualized system for the first time in a while.
The host was restarting with out any problems and also the client seem to start, but I am not able to connect via ssh or directly to the vm.
Host and clients are both running on Ubuntu 16.04.3.
Starting works:
The log also looks good:
However the machine is not respoding if I try to connect via ssh:
And it dies when connecting to the console: (I cannot type anything or abort the console)
Virt-top looks good to me:
And also the network configuration seems to be good:
So I have no clue why I am not able to connect to the vm anymore.
Do you have any ideas?
The host was restarting with out any problems and also the client seem to start, but I am not able to connect via ssh or directly to the vm.
Host and clients are both running on Ubuntu 16.04.3.
Starting works:
Code:
root@serv1:/# virsh create /etc/libvirt/qemu/serv1vm1.xml
Domain serv1vm1 von /etc/libvirt/qemu/serv1vm1.xml erstellt
Code:
root@serv1:/# virsh list
Id Name Status
----------------------------------------------------
2 serv1vm1 running
Code:
root@serv1:/# cat /var/log/libvirt/qemu/serv1vm1.log
2017-09-27 20:38:28.878+0000: starting up libvirt version: 1.3.1, package: 1ubuntu10.14 (Jorge Niedbalski <jorge.niedbalski@canonical.com> Thu, 10 A ug 2017 22:50:46 -0400), qemu version: 2.5.0 (Debian 1:2.5+dfsg-5ubuntu10. 16), hostname: serv1
LC_ALL=C PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin QEMU_AUDIO_DRV=none /usr/bin/kvm-spice -name serv1vm1 -S -machine pc-i440 fx-wily,accel=kvm,usb=off -cpu Westmere -m 2048 -realtime mlock=off -smp 4 ,sockets=4,cores=1,threads=1 -uuid e328ec29-98dd-4955-892e-28ff788ede55 -n o-user-config -nodefaults -chardev socket,id=charmonitor,path=/var/lib/lib virt/qemu/domain-serv1vm1/monitor.sock,server,nowait -mon chardev=charmoni tor,id=monitor,mode=control -rtc base=utc,driftfix=slew -global kvm-pit.lo st_tick_policy=discard -no-hpet -no-shutdown -global PIIX4_PM.disable_s3=1 -global PIIX4_PM.disable_s4=1 -boot strict=on -device ich9-usb-ehci1,id=u sb,bus=pci.0,addr=0x6.0x7 -device ich9-usb-uhci1,masterbus=usb.0,firstport =0,bus=pci.0,multifunction=on,addr=0x6 -device ich9-usb-uhci2,masterbus=us b.0,firstport=2,bus=pci.0,addr=0x6.0x1 -device ich9-usb-uhci3,masterbus=us b.0,firstport=4,bus=pci.0,addr=0x6.0x2 -device virtio-serial-pci,id=virtio -serial0,bus=pci.0,addr=0x5 -drive file=/var/lib/libvirt/images/serv1vm1.q cow2,format=qcow2,if=none,id=drive-virtio-disk0 -device virtio-blk-pci,scs i=off,bus=pci.0,addr=0x7,drive=drive-virtio-disk0,id=virtio-disk0,bootinde x=1 -drive if=none,id=drive-ide0-0-0,readonly=on -device ide-cd,bus=ide.0, unit=0,drive=drive-ide0-0-0,id=ide0-0-0 -netdev tap,fd=26,id=hostnet0,vhos t=on,vhostfd=28 -device virtio-net-pci,netdev=hostnet0,id=net0,mac=52:54:0 0:f7:50:53,bus=pci.0,addr=0x3 -chardev pty,id=charserial0 -device isa-seri al,chardev=charserial0,id=serial0 -chardev spicevmc,id=charchannel0,name=v dagent -device virtserialport,bus=virtio-serial0.0,nr=1,chardev=charchanne l0,id=channel0,name=com.redhat.spice.0 -vnc 127.0.0.1:0 -device qxl-vga,id =video0,ram_size=67108864,vram_size=67108864,vgamem_mb=16,bus=pci.0,addr=0 x2 -device intel-hda,id=sound0,bus=pci.0,addr=0x4 -device hda-duplex,id=so und0-codec0,bus=sound0.0,cad=0 -chardev spicevmc,id=charredir0,name=usbred ir -device usb-redir,chardev=charredir0,id=redir0 -chardev spicevmc,id=cha rredir1,name=usbredir -device usb-redir,chardev=charredir1,id=redir1 -devi ce virtio-balloon-pci,id=balloon0,bus=pci.0,addr=0x8 -msg timestamp=on
char device redirected to /dev/pts/4 (label charserial0)
Code:
root@serv1:/# ssh serv1vm1
ssh: Could not resolve hostname serv1vm1: Name or service not known
Code:
root@serv1:/# virsh console serv1vm1
Verbunden mit der Domain: serv1vm1
Escape-Zeichen ist ^]
Code:
virt-top 23:00:01 - x86_64 4/4CPU 2030MHz 7781MB 0,7%
1 domains, 1 active, 1 running, 0 sleeping, 0 paused, 0 inactive D:0 O:0 X:0
CPU: 0,8% Mem: 2048 MB (2048 MB by guests)
ID S RDRQ WRRQ RXBY TXBY %CPU %MEM TIME NAME
2 R 0 0 0,8 26,0 0:30.71 serv1vm1
Code:
server@serv1:/etc/libvirt/qemu$ cat /etc/network/interfaces
# This file describes the network interfaces available on your system
# and how to activate them. For more information, see interfaces(5).
source /etc/network/interfaces.d/*
# The loopback network interface
auto lo
iface lo inet loopback
## The primary network interface
#auto enp3s0
#iface enp3s0 inet dhcp
## This is an autoconfigured IPv6 interface
#iface enp3s0 inet6 auto
# dhcp bridge configuration
auto br0
iface br0 inet dhcp
bridge_ports enp3s0
bridge_stp off
bridge_fd 0
bridge_maxwait 0
## Manual IP bridge configuration
#auto enp3s0
#iface enp3s0 inet manual
Do you have any ideas?