<html>
  <head>
    <meta content="text/html; charset=utf-8" http-equiv="Content-Type">
  </head>
  <body bgcolor="#FFFFFF" text="#000000">
    <span id="result_box" class="short_text" lang="en"><span class="hps">Many
        thanks for the</span> <span class="hps">explanation.<br>
      </span></span><span id="result_box" class="" lang="en"><span
        class="hps">The problem</span> <span class="hps">really</span>
      <span class="hps">was</span> <span class="hps">that the</span> <span
        class="hps">VM</span> <span class="hps">tried to</span> <span
        class="hps">boot from the</span> <span class="hps">context CD.<br>
      </span></span><span id="result_box" class="" lang="en"><span
        class="hps"><span id="result_box" class="" lang="en"><span
            class="hps">After</span> <span class="hps">forcing the</span>
          <span class="hps">bootable CD </span><span class="hps">as</span>
          <span class="hps">hda,</span> <span class="hps">everything
            worked</span> <span class="hps">as expected</span><span>.<br>
            <br>
          </span></span></span></span><span id="result_box" class=""
      lang="en"><span class="hps"><span id="result_box" class=""
          lang="en"><span><span id="result_box" class="" lang="en"><span
                class="hps">CONTEXT</span> <span class="hps">point</span>
              <span class="hps alt-edited">in the template</span> <span
                class="hps">is missing,</span> <span class="hps">because
                I</span> <span class="hps">deleted it</span> <span
                class="hps">when sending</span> <span class="hps">email.<br>
              </span></span></span></span></span></span><span
      id="result_box" class="" lang="en"><span class="hps"><span
          id="result_box" class="" lang="en"><span><span id="result_box"
              class="" lang="en"><span class="hps"><span id="result_box"
                  class="" lang="en"><span class="hps">Thought, it</span>
                  <span class="hps">would not be</span> <span
                    class="hps">safe to</span> <span class="hps">provide
                    my</span> <span class="hps">public key</span> <span
                    class="hps">for SSH</span> <span class="hps">to the
                    mailing list</span><span>.<br>
                  </span></span></span></span></span></span></span></span><span
      id="result_box" class="" lang="en"><span class="hps"><span
          id="result_box" class="" lang="en"><span><span id="result_box"
              class="" lang="en"><span class="hps"><span id="result_box"
                  class="" lang="en"><span class="hps">I am sorry that</span>
                  <span class="hps">misled you</span> <span class="hps">about
                    the lack of</span> <span class="hps">CONTEXT.</span></span><br>
                <br>
              </span></span></span></span></span></span><span
      id="result_box" class="" lang="en"><span class="hps"><span
          id="result_box" class="" lang="en"><span><span id="result_box"
              class="" lang="en"><span class="hps"><span id="result_box"
                  class="short_text" lang="en"><span class="hps"><span
                      id="result_box" class="short_text" lang="en"><span
                        class="hps"><span id="result_box"
                          class="short_text" lang="en"><span class="hps">Once
                            again I want</span> <span class="hps">to
                            thank you</span> <span class="hps">for the
                            help</span><span class="">.<br>
                          </span></span></span></span></span></span></span></span></span></span></span></span><span
      id="result_box" class="" lang="en"><span class="hps"><span
          id="result_box" class="" lang="en"><span><span id="result_box"
              class="" lang="en"><span class="hps"><span id="result_box"
                  class="short_text" lang="en"><span class="hps"><span
                      id="result_box" class="short_text" lang="en"><span
                        class="hps"><span id="result_box"
                          class="short_text" lang="en"><span class=""><span
                              id="result_box" class="" lang="en"><span
                                class="hps">And</span> <span
                                class="hps">I want to express</span> <span
                                class="hps">my</span> <span class="hps">admiration
                                for</span> <span class="hps">the
                                project</span> <span class="hps">OpenNebula.<br>
                              </span></span></span></span></span></span></span></span></span></span></span></span></span></span><span
      id="result_box" class="" lang="en"><span class="hps"><span
          id="result_box" class="" lang="en"><span><span id="result_box"
              class="" lang="en"><span class="hps"><span id="result_box"
                  class="short_text" lang="en"><span class="hps"><span
                      id="result_box" class="short_text" lang="en"><span
                        class="hps"><span id="result_box"
                          class="short_text" lang="en"><span class=""><span
                              id="result_box" class="" lang="en"><span
                                class="hps"><span id="result_box"
                                  class="" lang="en"><span class="hps">It
                                    is simple to</span> <span
                                    class="hps">primary</span> <span
                                    class="hps">installation,
                                    configuration,</span> <span
                                    class="hps">and superbly</span> <span
                                    class="hps">documented.<br>
                                    <br>
                                  </span></span></span></span></span></span></span></span></span></span></span></span></span></span></span></span><span
      id="result_box" class="" lang="en"><span class="hps"><span
          id="result_box" class="" lang="en"><span><span id="result_box"
              class="" lang="en"><span class="hps"><span id="result_box"
                  class="short_text" lang="en"><span class="hps"><span
                      id="result_box" class="short_text" lang="en"><span
                        class="hps"><span id="result_box"
                          class="short_text" lang="en"><span class=""><span
                              id="result_box" class="" lang="en"><span
                                class="hps"><span id="result_box"
                                  class="" lang="en"><span class="hps"><span
                                      id="result_box" class="short_text"
                                      lang="en"><span class="hps">Many
                                        thanks and</span> <span
                                        class="hps">success in the
                                        future</span> <span class="hps">development.<br>
                                        <br>
                                      </span></span></span></span></span></span></span></span></span></span></span><span
                    class="hps"></span></span></span></span></span></span></span></span>
    <div class="moz-signature">
      <style>
 a {text-decoration: none;}
</style>
      <p style="font-size:10pt; font-family:Arial; color:#404040;"
        align="left">
        Best regards,<br>
        Aleksey Zolotukhin <br>
        <br>
      </p>
    </div>
    <br>
    <br>
    <div class="moz-cite-prefix">-------- Original Message --------<br>
      <b>Subject: </b>Re: [one-users] Could not read from CDROM (code
      0004)<br>
      <b>From: </b>Javier Fontan <a class="moz-txt-link-rfc2396E" href="mailto:jfontan@opennebula.org"><jfontan@opennebula.org></a><br>
      <b>To: </b>IBC Service Network / Zolotuhin Aleksey
      <a class="moz-txt-link-rfc2396E" href="mailto:a.zolotuhin@ibc.ru"><a.zolotuhin@ibc.ru></a><br>
      <b>Date: </b>18.08.2014 21:11<br>
    </div>
    <blockquote
cite="mid:CAK+uMM_+8XwTuZGA3usJBzskFNAtEEB5PEkg-tK2Wx11NR_1mA@mail.gmail.com"
      type="cite">
      <pre wrap="">The problem seems to be the context CD, it's attached to hda and the
bootable cd to hdb. It tries to boot from the first cdrom and is not
bootable. It is strange that you don't have CONTEXT defined in your
template file. You can do two things. Take out CONTEXT section in case
it is defined so there is only one CDROM or specify the target so the
bootable CD is hda, something like this:

CONTEXT=[
  NETWORK=YES,
  TARGET=hdb ]
DISK=[
  IMAGE="Debian",
  IMAGE_UNAME="jakal",
  READONLY="yes",
  TARGET=hda ]

On Fri, Aug 15, 2014 at 8:05 AM, IBC Service Network / Zolotuhin
Aleksey <a class="moz-txt-link-rfc2396E" href="mailto:a.zolotuhin@ibc.ru"><a.zolotuhin@ibc.ru></a> wrote:
</pre>
      <blockquote type="cite">
        <pre wrap="">Hello!

Thank you very much for your reply.

Contents of the file /var/lib/one/datastores/0/35/deployment.0:

<domain type='kvm' xmlns:qemu='<a class="moz-txt-link-freetext" href="http://libvirt.org/schemas/domain/qemu/1.0">http://libvirt.org/schemas/domain/qemu/1.0</a>'>
        <name>one-35</name>
        <cputune>
                <shares>512</shares>
        </cputune>
        <memory>524288</memory>
        <os>
                <type arch='x86_64'>hvm</type>
                <boot dev='cdrom'/>
                <boot dev='hd'/>
        </os>
        <devices>
                <emulator>/usr/bin/qemu-system-x86_64</emulator>
                <disk type='network' device='disk'>
                        <source protocol='rbd' name='one/one-7'>
                                <host name='cloud2'/>
                        </source>
                        <target dev='hdc'/>
                        <driver name='qemu' type='raw' cache='none'/>
                </disk>
                <disk type='network' device='cdrom'>
                        <source protocol='rbd' name='one/one-5'>
                                <host name='cloud2'/>
                        </source>
                        <target dev='hdb'/>
                        <readonly/>
                        <driver name='qemu' type='raw' cache='none'/>
                </disk>
                <disk type='file' device='cdrom'>
                        <source
file='/var/lib/one//datastores/0/35/disk.2'/>
                        <target dev='hda'/>
                        <readonly/>
                        <driver name='qemu' type='raw'/>
                </disk>
                <interface type='bridge'>
                        <source bridge='br0'/>
                        <virtualport type='openvswitch'/>
                        <mac address='02:00:c0:a8:0a:79'/>
                </interface>
                <graphics type='vnc' listen='0.0.0.0' port='5935'/>
        </devices>
        <features>
                <acpi/>
        </features>
</domain>


output of the command
$ file /var/lib/one/datastores/0/35/*
/var/lib/one/datastores/0/35/deployment.0: ASCII text
/var/lib/one/datastores/0/35/disk.2:       # ISO 9660 CD-ROM filesystem data
'CONTEXT'
/var/lib/one/datastores/0/35/disk.2.iso:   symbolic link to
`/var/lib/one/datastores/0/35/disk.2'

Debian DATABLOCK disk is located in the Ceph.
Debian ISO disk is located in the Ceph.

After the upgrade to version 4.8. I get the following message:
"Booting from DVD/CD...

Boot failed: Could not read from CDROM (code 0004)
Booting from Hard Disk...
Boot failed: not a bootable disk

No bootable device.
"

Best regards,
Aleksey Zolotukhin



-------- Original Message --------
Subject: Re: [one-users] Could not read from CDROM (code 0004)
From: Jaime Melis <a class="moz-txt-link-rfc2396E" href="mailto:jmelis@opennebula.org"><jmelis@opennebula.org></a>
To: IBC Service Network / Zolotuhin Aleksey <a class="moz-txt-link-rfc2396E" href="mailto:a.zolotuhin@ibc.ru"><a.zolotuhin@ibc.ru></a>
Date: 13.08.2014 13:54

Hi,

can you send us this file from the hypervisor:

/var/lib/one/datastores/0/<vmid>/deployment.0
and run this command:

$ file /var/lib/one/datastores/0/<vmid>/*


On Mon, Aug 11, 2014 at 12:25 PM, IBC Service Network / Zolotuhin Aleksey
<a class="moz-txt-link-rfc2396E" href="mailto:a.zolotuhin@ibc.ru"><a.zolotuhin@ibc.ru></a> wrote:
</pre>
        <blockquote type="cite">
          <pre wrap="">Hello!

I set up a cluster of 3 nodes Opennebula and Ceph.
Operating system Ubuntu 14.04.

libvirt version:
libvirt-bin - 1.2.2-0ubuntu13.1.2
libvirt0 - 1.2.2-0ubuntu13.1.2

qemu version:
qemu - 2.0.0+dfsg-2ubuntu1.2
qemu-common - 2.0.0+dfsg-2ubuntu1.2
qemu-keymaps - 2.0.0+dfsg-2ubuntu1.2
qemu-kvm - 2.0.0+dfsg-2ubuntu1.2
qemu-system - 2.0.0+dfsg-2ubuntu1.2
qemu-system-arm - 2.0.0+dfsg-2ubuntu1.2
qemu-system-common - 2.0.0+dfsg-2ubuntu1.2
qemu-system-mips - 2.0.0+dfsg-2ubuntu1.2
qemu-system-misc - 2.0.0+dfsg-2ubuntu1.2
qemu-system-ppc - 2.0.0+dfsg-2ubuntu1.2
qemu-system-sparc - 2.0.0+dfsg-2ubuntu1.2
qemu-system-x86 - 2.0.0+dfsg-2ubuntu1.2
qemu-user - 2.0.0+dfsg-2ubuntu1.2
qemu-utils - 2.0.0+dfsg-2ubuntu1.2

Try to install Debian using debian iso.

VM template:
CPU="0.5"
DISK=[
  IMAGE="debian 7",
  IMAGE_UNAME="jakal" ]
DISK=[
  IMAGE="Debian",
  IMAGE_UNAME="jakal",
  READONLY="yes" ]
FEATURES=[
  ACPI="yes" ]
GRAPHICS=[
  LISTEN="0.0.0.0",
  TYPE="VNC" ]
MEMORY="512"
NIC=[
  NETWORK="LAN",
  NETWORK_UNAME="jakal" ]
OS=[
  BOOT="cdrom" ]

But when the virtual machine starts, I get the following message:
"Booting from DVD/CD...
Boot failed: Could not read from CDROM (code 0004)
No bootable device."

I tried looking for this problem on the internet and I have not found the
cause of this error.

Tell me, please, what can I do to resolve this situation?
Thanks in advance for your assistance.

Best regards,
Aleksey Zolotukhin



_______________________________________________
Users mailing list
<a class="moz-txt-link-abbreviated" href="mailto:Users@lists.opennebula.org">Users@lists.opennebula.org</a>
<a class="moz-txt-link-freetext" href="http://lists.opennebula.org/listinfo.cgi/users-opennebula.org">http://lists.opennebula.org/listinfo.cgi/users-opennebula.org</a>

</pre>
        </blockquote>
        <pre wrap="">

--
Jaime Melis
Project Engineer
OpenNebula - Flexible Enterprise Cloud Made Simple
<a class="moz-txt-link-abbreviated" href="http://www.OpenNebula.org">www.OpenNebula.org</a> | <a class="moz-txt-link-abbreviated" href="mailto:jmelis@opennebula.org">jmelis@opennebula.org</a>



_______________________________________________
Users mailing list
<a class="moz-txt-link-abbreviated" href="mailto:Users@lists.opennebula.org">Users@lists.opennebula.org</a>
<a class="moz-txt-link-freetext" href="http://lists.opennebula.org/listinfo.cgi/users-opennebula.org">http://lists.opennebula.org/listinfo.cgi/users-opennebula.org</a>

</pre>
      </blockquote>
      <pre wrap="">

</pre>
    </blockquote>
    <br>
  </body>
</html>