PVE 3.2-5 QEMU removes CDROM entry if ISO has space in name

apmuthu

Renowned Member
Feb 26, 2009
808
8
83
Chennai - India & Singapore
github.com
PVE 3.2-5

Code:
# pveversion -v
proxmox-ve-2.6.32: 3.2-126 (running kernel: 2.6.32-29-pve)
pve-manager: 3.2-4 (running version: 3.2-4/e24a91c1)
pve-kernel-2.6.32-29-pve: 2.6.32-126
lvm2: 2.02.98-pve4
clvm: 2.02.98-pve4
corosync-pve: 1.4.5-1
openais-pve: 1.1.4-3
libqb0: 0.11.1-2
redhat-cluster-pve: 3.2.0-2
resource-agents-pve: 3.9.2-4
fence-agents-pve: 4.0.5-1
pve-cluster: 3.0-12
qemu-server: 3.1-16
pve-firmware: 1.1-3
libpve-common-perl: 3.0-18
libpve-access-control: 3.0-11
libpve-storage-perl: 3.0-19
pve-libspice-server1: 0.12.4-3
vncterm: 1.1-6
vzctl: 4.0-1pve5
vzprocps: 2.0.11-2
vzquota: 3.1-2
pve-qemu-kvm: 1.7-8
ksm-control-daemon: 1.1-1
glusterfs-client: 3.4.2-1

Created a WinXP QEMU with 32 GB qcow2 disk and installed WinXP SP3.
COM3 and COM4 show up with yellow markers in the device manager.
Installing QEMUPCSERIAL.inf to no avail.

e1000 network device in QEMU KVM with PRO2K3XP_32.exe driver loaded.
Network accessible.

Changed the CDROM to other ISOs and works normally.
Changed CDROM to Office 2007.iso (name has space) and CDROM entry vanished from PVE3 GUI.
ISO remains loaded with previous ISO and not new one inside the KVM.

Subsequent efforts:

PVE3 GUI -> WinXP KVM -> Monitor:
Code:
# info block
drive-ide2: /var/lib/vz/template/iso/virtio-win-0.1-74.iso (raw, read-only)
    Removable device: not locked, tray closed

# eject drive-ide2

# change drive-ide2 /var/lib/vz/template/iso/Office2007.iso

# info block
drive-ide2: /var/lib/vz/template/iso/Office2007.iso (raw, read-only)
    Removable device: not locked, tray closed

drive-ide0: /var/lib/vz/images/102/vm-102-disk-1.qcow2 (qcow2)

Now after the space in the ISO name was removed, the ISO gets loaded into the KVM but the PVE3 GUI still does not show the CDROM device.
 
Edited the QEMU KVM config file /etc/pve/qemu-server/102.conf and removed the space in the ISO name and saved it and refreshed the PVE3 GUI and all is well now!

Dietmar - if spaces are not allowed for the ISO name then please make the GUI prevent accepting it or enclose it in double quotes in the conf file if it is acceptable for QEMU to function normally with it.
 

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!