[SOLVED] Guest shown as not running

Valerio Pachera

Active Member
Aug 19, 2016
131
6
38
42
This is the first time I see something like that in proxmox:

upload_2018-3-30_10-1-7.png

This is a freshly installed proxmox where I'm installing ubuntu 16.04 as guest.
I notice that the ubuntu installation process is hanged.
The guest icon is shown as the guest was off.
You may also notice form tha task log that I tried to run the guest but proxmox advice it's already running.

upload_2018-3-30_10-2-51.png

To be sure, I also checked bu ssh:

Code:
ps aux | grep kvm
root     12141  1.6  3.3 3333332 541340 ?      Sl   09:14   0:44 /usr/bin/kvm -id 100 -chardev socket,id=qmp,path=/var/run/qemu-server/100.qmp,server,nowait -mon chardev=qmp,mode=control -pidfile /var/run/qemu-server/100.pid -daemonize -smbios type=1,uuid=a6997f4f-6add-41db-a061-2879201da5c7 -name ununtu-16.04 -smp 4,sockets=1,cores=4,maxcpus=4 -nodefaults -boot menu=on,strict=on,reboot-timeout=1000,splash=/usr/share/qemu-server/bootsplash.jpg -vga std -vnc unix:/var/run/qemu-server/100.vnc,x509,password -cpu host,+kvm_pv_unhalt,+kvm_pv_eoi -m 2048 -device pci-bridge,id=pci.1,chassis_nr=1,bus=pci.0,addr=0x1e -device pci-bridge,id=pci.2,chassis_nr=2,bus=pci.0,addr=0x1f -device piix3-usb-uhci,id=uhci,bus=pci.0,addr=0x1.0x2 -device usb-tablet,id=tablet,bus=uhci.0,port=1 -device virtio-balloon-pci,id=balloon0,bus=pci.0,addr=0x3 -iscsi initiator-name=iqn.1993-08.org.debian:01:63b79aef1ad3 -drive file=/var/lib/vz/template/iso/ubuntu-16.04.4-server-amd64.iso,if=none,id=drive-ide2,media=cdrom,aio=threads -device ide-cd,bus=ide.1,unit=0,drive=drive-ide2,id=ide2,bootindex=200 -device virtio-scsi-pci,id=scsihw0,bus=pci.0,addr=0x5 -drive file=/dev/pve/vm-100-disk-1,if=none,id=drive-scsi0,discard=on,format=raw,cache=none,aio=native,detect-zeroes=unmap -device scsi-hd,bus=scsihw0.0,channel=0,scsi-id=0,lun=0,drive=drive-scsi0,id=scsi0,bootindex=100 -netdev type=tap,id=net0,ifname=tap100i0,script=/var/lib/qemu-server/pve-bridge,downscript=/var/lib/qemu-server/pve-bridgedown,vhost=on -device virtio-net-pci,mac=0A:B6:09:83:40:4C,netdev=net0,bus=pci.0,addr=0x12,id=net0,bootindex=300

On the top right at least I can stop the vm:

upload_2018-3-30_10-4-42.png
 
what does
Code:
qm status 100 --verbose

say?
 
The problem is repeatable.
I repeated the guest installation and as soon it start to format the disk, the green icon arrow disappear from Proxmox and the no-vnc is "fronzen".
This is the guest conf:

Code:
boot: dcn
bootdisk: scsi0
cores: 4
cpu: host
ide2: local:iso/ubuntu-16.04.4-server-amd64.iso,media=cdrom
memory: 2048
name: ununtu-16.04
net0: virtio=0A:B6:09:83:40:4C,bridge=vmbr0
numa: 0
ostype: l26
scsi0: ssd:vm-100-disk-1,discard=on,size=20G
scsihw: virtio-scsi-pci
smbios1: uuid=a6997f4f-6add-41db-a061-2879201da5c7
sockets: 1
 
what does
Code:
qm status 100 --verbose

Code:
qm status 100 --verbose
balloon: 2147483648
ballooninfo:
        total_mem: 2096861184
        max_mem: 2147483648
        actual: 2147483648
        free_mem: 1813553152
        mem_swapped_in: 0
        last_update: 1522397385
        major_page_faults: 0
        mem_swapped_out: 0
        minor_page_faults: 1064847
blockstat:
        scsi0:
                rd_total_time_ns: 179779171
                invalid_wr_operations: 0
                failed_flush_operations: 0
                wr_highest_offset: 17999859712
                failed_wr_operations: 32
                wr_merged: 0
                invalid_flush_operations: 0
                wr_bytes: 12288
                rd_bytes: 19043328
                rd_operations: 2014
                wr_total_time_ns: 26225308
                flush_total_time_ns: 1367528
                failed_rd_operations: 0
                flush_operations: 39
                wr_operations: 3
                idle_time_ns: 230170738007
                rd_merged: 0
                invalid_rd_operations: 0
                timed_stats:
        ide2:
                wr_merged: 0
                wr_bytes: 0
                invalid_flush_operations: 0
                rd_bytes: 58073656
                wr_total_time_ns: 0
                rd_operations: 12506
                failed_rd_operations: 0
                flush_total_time_ns: 0
                wr_operations: 0
                flush_operations: 0
                rd_total_time_ns: 161531902
                invalid_wr_operations: 0
                wr_highest_offset: 0
                failed_wr_operations: 0
                failed_flush_operations: 0
                invalid_rd_operations: 0
                timed_stats:
                idle_time_ns: 267162815986
                rd_merged: 0
cpus: 4
disk: 0
diskread: 77116984
diskwrite: 12288
freemem: 1813553152
maxdisk: 21474836480
maxmem: 2147483648
mem: 283308032
name: ununtu-16.04
netin: 6126
netout: 5548
nics:
        tap100i0:
                netin: 6126
                netout: 5548
pid: 16059
qmpstatus: io-error
status: running
template:
uptime: 357
 

About

The Proxmox community has been around for many years and offers help and support for Proxmox VE, Proxmox Backup Server, and Proxmox Mail Gateway.
We think our community is one of the best thanks to people like you!

Get your subscription!

The Proxmox team works very hard to make sure you are running the best software and getting stable updates and security enhancements, as well as quick enterprise support. Tens of thousands of happy customers have a Proxmox subscription. Get yours easily in our online shop.

Buy now!