Red Hat Bugzilla – Bug 1255666
VM ignores boot options, skips boot from attached CD iso
Last modified: 2015-08-25 10:07:37 EDT
Red Hat Enterprise Virtualization Manager Version: 18.104.22.168-1.4.el6ev
We have stable RHEV installation.
RHEV installation has an ISO domain, where many ISO images are hosted.
Go to its Boot options
Attach to VM some bootable ISO image.
Turn ON VM.
During boot VM ignores boot options & order.
It does not see attached ISO.
It reproduces for all VMs and any ISO.
Interesting thing, that before it worked successfully on the same RHEV installation.
XML for the VM domain does not have any mention about attached ISO. It does not have any entry in XML for attached ISO.
I can see mounted ISO domain at host:
10.34.73.3:/nfs/iso on /rhev/data-center/mnt/10.34.73.3:_nfs_iso type nfs4 (rw,relatime,vers=4.0,rsize=131072,wsize=131072,namlen=255,soft,nosharecache,proto=tcp,port=0,timeo=600,retrans=6,sec=sys,clientaddr=10.34.73.68,local_lock=none,addr=10.34.73.3)
And it is accessible:
please attach relevant engine.log and vdsm.log from the host that runs the vm
Created attachment 1066393 [details]
Engine log (set options + boot)
Created attachment 1066395 [details]
XML domain config from host
Created attachment 1066396 [details]
vdsm start machine log
Created attachment 1066398 [details]
VM config screenshot
Interesting thing, that VM successfully boots from attached CD if I in
admin portal -> vm -> right click -> Run Once -> Boot options -> push up cdrom in
Thank you, from the log its clear, your vm does not have cdrom device!
i wonder how this could have happened...
what is the source of this vm (imported/created from a template/created from blank template)?
not likely, but still... did anyone (by mistake?) modified the vm_devices table in the db?
if no one touched the db, and this vm created from template (not important which) that still exist in the db, could you please check in the db if this template has cdrom device?
to check if the template still exist in the db, run:
select * from vm_static where vm_guid= (select original_template_id from vm_static where vm_name = 'b2');
to check if the template has cd rom device, run:
select * from vm_device where device='cdrom' and vm_id=(select original_template_id from vm_static where vm_name='b2');
Created attachment 1066856 [details]
This is output for requested commands
I have re-created VMs.
Now they can see attached CD.