Can't boot any ISO from VM - Boot failed: Could not read from CDROM (code 0003). Can't assign virtio-win-1.5.3.vfd to a VM

Latest response

All ISOs are successfully resident in the ISODomain

All ISOs have correct permissions vdsm and kvm owners (chown 36:36)

RHEVM 3.1 Manager sees all ISOs in ISODomain

I can create a VM and assign the ISO to it.  RunOnce and assign ISO to it. 

When the VM boots, it fails to boot the CD with the above error:  Boot failed:  Could not read from CDROM (code 0003)

 

ISOs are good, they boot fine on VMWare Workstation VMs.

 

Running RHEVM 3.1.0-18.el6ev

Running RHEV Hypervisor - 6.3 - 20120910.0.rhev31.el6_3

 

Also, I cannot assign the virtio-win-1.5.3.vfd floppy image to a Windows VM for initial install (in addition to not being able to boot the CD).

 

The file does not even show up in the list from ISODomain, although it is there in the ISODomain Images View in the GUI and on the server.

 

Any ideas?

Regards,

James

Responses

Hi James,

 

Check if this solution works for you? (RHEV 3.0)

https://access.redhat.com/knowledge/solutions/153783

Hi,

>>> The file does not even show up in the list from ISODomain, although it is there in the ISODomain Images View in the GUI and on the server.

In addition to anand's reply, can you please try with changing the permissions of the ISO files in the domain by running the following from inside the ISO domain:
---
# chmod 644 *
---

Please let us know your observations.

Regards,
Pratik.

A very confusing knowledge base solution.  First, it doesn't mention that you need to look on the RHEV host.

 

Resolution (ON THE RHEV HOST!)

  • Confirm the /rhev directory does not contain the correct path to the ISO.  (Confusing Statement.  Do they mean "Confirm the /rhev director DOES contain the correct path to the ISO ?!?!)

    Using the path /rhev/data-center/48337ccc-53af-11e1-a23f-3440b5807d78/f82cf60d-9a62-417e-b423-248d55897239/images/11111111-1111-1111-1111-111111111111/rhel-server-5.3-x86_64-dvd.iso as an example.

  • So On my RHEV Manager Host, the ISO Domain is:/var/lib/exports/iso/1df569a2-d5ba-403f-bcf6-851e6f82c76a/images/11111111-1111-1111-1111-111111111111

  • So on my RHEV-H1 Host, it does NOT see the correct ISODomain Path, but my other host does see it.

  • Something must be wrong with my RHEV-H1 host, so I will re-install it.

Once I moved the VM to the other host, and powered it up, it sees the ISOs and I can mount and boot them.

 

HOWEVER, I still cannot see or mount the .vfd floppy image.  For windows installs.

 

It is there in the ISO Domain.

 

Thanks for the clue.

 

James

Tried your chmod 644 *.  Here's the ls -l of my images directory from RHEV Manager machine:

-rw-r--r--. 1 vdsm kvm 4289386496 Oct 29 18:10 CentOS-6.3-x86_64-bin-DVD1.iso
-rw-r--r--. 1 vdsm kvm 3319478272 Oct 29 18:12 en_windows_7_ultimate_with_sp1_x64_dvd_618240.iso
-rw-r--r--. 1 vdsm kvm  617756672 Oct 29 18:13 en_windows_xp_professional_with_service_pack_3_x86_cd_x14-80428.iso
-rw-r--r--. 1 vdsm kvm  611319808 Oct 30 11:52 Fedora-15-x86_64.iso
-rw-r--r--. 1 vdsm kvm  646971392 Oct 30 11:12 Fedora-17-x86_64-Live-Security.iso
-rw-r--r--. 1 vdsm kvm  220798976 Sep 12 08:58 RHEV-toolsSetup_3.1_7.iso
-rw-r--r--. 1 vdsm kvm  732112896 Oct 30 12:03 ubuntu-11.04-desktop-amd64.iso
-rw-r--r--. 1 vdsm kvm  735358976 Oct 30 11:12 ubuntu-12.04-desktop-i386.iso
-rw-r--r--. 1 vdsm kvm   56680448 Jul  9 10:15 virtio-win-1.5.3.iso
-rw-r--r--. 1 vdsm kvm    1474560 Jul  6 14:41 virtio-win-1.5.3.vfd
-rw-r--r--. 1 vdsm kvm 3166584832 Oct 30 11:51 windows-2008.iso
-rw-r--r--. 1 vdsm kvm 2974552064 Oct 30 11:47 windows-7.iso

 

Notice the virtio-win-1.5.3.vfd file is there.

 

Here's the ls -l of my images directory from the RHEV-H machine:

[root@rhevh2 11111111-1111-1111-1111-111111111111]# ls -l
total 16965352
-rw-r--r--. 1 vdsm kvm 4289386496 2012-10-29 23:10 CentOS-6.3-x86_64-bin-DVD1.iso
-rw-r--r--. 1 vdsm kvm 3319478272 2012-10-29 23:12 en_windows_7_ultimate_with_sp1_x64_dvd_618240.iso
-rw-r--r--. 1 vdsm kvm  617756672 2012-10-29 23:13 en_windows_xp_professional_with_service_pack_3_x86_cd_x14-80428.iso
-rw-r--r--. 1 vdsm kvm  611319808 2012-10-30 16:52 Fedora-15-x86_64.iso
-rw-r--r--. 1 vdsm kvm  646971392 2012-10-30 16:12 Fedora-17-x86_64-Live-Security.iso
-rw-r--r--. 1 vdsm kvm  220798976 2012-09-12 13:58 RHEV-toolsSetup_3.1_7.iso
-rw-r--r--. 1 vdsm kvm  732112896 2012-10-30 17:03 ubuntu-11.04-desktop-amd64.iso
-rw-r--r--. 1 vdsm kvm  735358976 2012-10-30 16:12 ubuntu-12.04-desktop-i386.iso
-rw-r--r--. 1 vdsm kvm   56680448 2012-07-09 15:15 virtio-win-1.5.3.iso
-rw-r--r--. 1 vdsm kvm    1474560 2012-07-06 19:41 virtio-win-1.5.3.vfd
-rw-r--r--. 1 vdsm kvm 3166584832 2012-10-30 16:51 windows-2008.iso
-rw-r--r--. 1 vdsm kvm 2974552064 2012-10-30 16:47 windows-7.iso
 

But yet the RHEV Manager does not allow me to select the floppy image for the guest:

 

image:  http://www.lenaburgs.net/images/rhevmerror.png

 

James

James,

 

Thanks for your feedback on the knowledge base solution. I will update the knowledge base solution accordingly.

 

Regards,

Anand

I reinstalled my RHEVH1 node and now it sees the ISODomain correctly.

 

Don't know why it didn't "upgrade" correctly from RHEV 3.0 to RHEV 3.1.

 

James

Do I need to open up a separate discussion about not being able to mount the virtio-win-1.5.3.vfd floppy to my virtual machine?

 

James

James,

 

We are glad that your ISODomain issue fixed. 

 

>>Don't know why it didn't "upgrade" correctly from RHEV 3.0 to RHEV 3.1.

>>Do I need to open up a separate discussion about not being able to mount the virtio-win-1.5.3.vfd floppy to my virtual machine?

 

For both issues, I think its to better to open a case with Red Hat Technical Support.

 

Regards,

Anand

YEA!  This has now been fixed with the latest RHEVM Update I did today.

 

Checking for updates... (This may take several minutes)
10 Updates available:
 * rhevm-3.1.0-26.el6ev.noarch
 * rhevm-backend-3.1.0-26.el6ev.noarch
 * rhevm-config-3.1.0-26.el6ev.noarch
 * rhevm-dbscripts-3.1.0-26.el6ev.noarch
 * rhevm-genericapi-3.1.0-26.el6ev.noarch
 * rhevm-notification-service-3.1.0-26.el6ev.noarch
 * rhevm-restapi-3.1.0-26.el6ev.noarch
 * rhevm-tools-common-3.1.0-26.el6ev.noarch
 * rhevm-userportal-3.1.0-26.el6ev.noarch
 * rhevm-webadmin-portal-3.1.0-26.el6ev.noarch

During the upgrade process, RHEV Manager  will not be accessible.
All existing running virtual machines will continue but you will not be able to
start or stop any new virtual machines during the process.

Would you like to proceed? (yes|no): yes
Stopping ovirt-engine service...                         [ DONE ]
Stopping DB related services...                          [ DONE ]
Pre-upgrade validations...                               [ DONE ]
Backing Up Database...                                   [ DONE ]
Rename Database...                                       [ DONE ]
Updating rpms...                                         [ DONE ]
Updating Database...                                     [ DONE ]
Restore Database name...                                 [ DONE ]
Running post install configuration...                    [ DONE ]
Starting ovirt-engine...                                 [ DONE ]

RHEV Manager upgrade completed successfully!

* Upgrade log available at /var/log/ovirt-engine/ovirt-engine-upgrade_2012_11_15_12_17_39.log
* DB Backup available at  /var/lib/ovirt-engine/backups/ovirt-engine_db_backup_2012_11_15_12_17_39.sql
[root@rhevm ~]#
 

James

hi,

your hosts that running vm is not mount ISO NFS share correctly,
on both hypervisor, trys run:
find /rhev -name rhel-server-5.3-x86_64-dvd.iso
find /rhev -name rhel-server-5.3-x86_64-dvd.iso
which hypervisor can find the ISO? migrate VM to that hypervisor
try to showmount -e ip-nfs-server from hypervisor which cannot find the iso file, if success, try to reboot your hypervisor

Close

Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.