RHEV Guest fails to run with error "could not open disk image" and "Invalid argument".

Solution Unverified - Updated -

Issue

  • A RHEV guest fails to start.

  • The Events pane in the RHEV-M Admin Portal shows;

        VM VMNAME is down. Exit message: internal error process exited while connecting to monitor: qemu-kvm: -drive file=/rhev/data-center/d316d73c-9881-11e1-8aa6-525400a6c839/37913611-12f9-4fa1-8506-ffc0f697a5bd/images/c1e4a792-d19a-455a-91a2-f22965bbed89/584205ff-5839-4d68-ab44-25494497c888,if=none,id=drive-virtio-disk0,format=qcow2,serial=e9a5ef98-7acc-413f-a258-ce028786abb7,cache=none,werror=stop,rerror=stop,aio=native: could not open disk image /rhev/data-center/d316d73c-9881-11e1-8aa6-525400a6c839/37913611-12f9-4fa1-8506-ffc0f697a5bd/images/c1e4a792-d19a-455a-91a2-f22965bbed89/584205ff-5839-4d68-ab44-25494497c888: Invalid argument
  • The vdsm logs on the host that it failed to start on contain;
Thread-2253014::DEBUG::2013-09-26 16:46:00,602::vm::678::vm.Vm::(_startUnderlyingVm) vmId=`5f0da4bb-24d0-4479-b4fa-9cf0df7507e2`::_ongoingCreations released
Thread-2253014::ERROR::2013-09-26 16:46:00,603::vm::704::vm.Vm::(_startUnderlyingVm) vmId=`5f0da4bb-24d0-4479-b4fa-9cf0df7507e2`::The vm start process failed
Thread-2253014::DEBUG::2013-09-26 16:46:00,669::vm::1092::vm.Vm::(setDownStatus) vmId=`5f0da4bb-24d0-4479-b4fa-9cf0df7507e2`::Changed state to Down: internal error process exited while connecting to monitor: qemu-kvm: -drive file=/rhev/data-center/d316d73c-9881-11e1-8aa6-525400a6c839/37913611-12f9-4fa1-8506-ffc0f697a5bd/images/c1e4a792-d19a-455a-91a2-f22965bbed89/584205ff-5839-4d68-ab44-25494497c888,if=none,id=drive-virtio-disk2,format=qcow2,serial=c1e4a792-d19a-455a-91a2-f22965bbed89,cache=none,werror=stop,rerror=stop,aio=native: could not open disk image /rhev/data-center/d316d73c-9881-11e1-8aa6-525400a6c839/37913611-12f9-4fa1-8506-ffc0f697a5bd/images/c1e4a792-d19a-455a-91a2-f22965bbed89/584205ff-5839-4d68-ab44-25494497c888: Invalid argument
  • The vdsm logs indicate that the image is qcow2;
                <disk device="disk" snapshot="no" type="block">
                        <address  domain="0x0000"  function="0x0"  slot="0x05"  type="pci" bus="0x00"/>
                        <source dev="/rhev/data-center/d316d73c-9881-11e1-8aa6-525400a6c839/37913611-12f9-4fa1-8506-ffc0f697a5bd/images/c1e4a792-d19a-455a-91a2-f22965bbed89/584205ff-5839-4d68-ab44-25494497c888"/>
                        <target bus="virtio" dev="vda"/>
                        <serial>e9a5ef98-7acc-413f-a258-ce028786abb7</serial>
                        <boot order="2"/>
                        <driver cache="none" error_policy="stop" io="native" name="qemu" type="qcow2"/>
                </disk>
  • Running qemu-img info against the image's file indicates that it is a raw image;
# qemu-img info /rhev/data-center/d316d73c-9881-11e1-8aa6-525400a6c839/37913611-12f9-4fa1-8506-ffc0f697a5bd/images/c1e4a792-d19a-455a-91a2-f22965bbed89/584205ff-5839-4d68-ab44-25494497c888
image: /rhev/data-center/d316d73c-9881-11e1-8aa6-525400a6c839/37913611-12f9-4fa1-8506-ffc0f697a5bd/images/c1e4a792-d19a-455a-91a2-f22965bbed89/584205ff-5839-4d68-ab44-25494497c888
file format: raw
virtual size: 10K (10240 bytes)
disk size: 12K

Environment

  • Red Hat Enterprise Virtualization (RHEV) 3.1
  • Red Hat Enterprise Virtualization (RHEV) 32
  • vdsm version earlier than vdsm-4.10.2-28.0.el6ev

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.

Current Customers and Partners

Log in for full access

Log In
Close

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