Re: [one-users] Could not read from CDROM (code 0004)
Hello! I'm new to working with OpenNebula, because when I created the template in Sunstone, I did not think that, by specifying CONTEXT, the system will try to boot the VM using it. And, in my own opinion, forcing CONTEXT be the last CDROM device will eliminate the situation that I have encountered. Best regards, Aleksey Zolotukhin Original Message *Subject: *Re: [one-users] Could not read from CDROM (code 0004) *From: *Daniel Dehennin daniel.dehen...@baby-gnu.org *To: *users@lists.opennebula.org *Date: *21.08.2014 17:49 IBC Service Network / Zolotuhin Aleksey a.zolotu...@ibc.ru writes: Many thanks for the explanation. The problem really was that the VM tried to boot from the context CD. After forcing the bootable CD as hda, everything worked as expected. Hello, That's the reason we force TARGET=hda on all installation ISO, I just can not have two of them used in the same template. Could it be better to force CONTEXT to be last CDROM device? Regards. ___ Users mailing list Users@lists.opennebula.org http://lists.opennebula.org/listinfo.cgi/users-opennebula.org ___ Users mailing list Users@lists.opennebula.org http://lists.opennebula.org/listinfo.cgi/users-opennebula.org
Re: [one-users] Could not read from CDROM (code 0004)
IBC Service Network / Zolotuhin Aleksey a.zolotu...@ibc.ru writes: Hello! Hello, And, in my own opinion, forcing CONTEXT be the last CDROM device will eliminate the situation that I have encountered. I just open a request[1]. Regards. Footnotes: [1] http://dev.opennebula.org/issues/3158 -- Daniel Dehennin Récupérer ma clef GPG: gpg --recv-keys 0xCC1E9E5B7A6FE2DF Fingerprint: 3E69 014E 5C23 50E8 9ED6 2AAD CC1E 9E5B 7A6F E2DF signature.asc Description: PGP signature ___ Users mailing list Users@lists.opennebula.org http://lists.opennebula.org/listinfo.cgi/users-opennebula.org
Re: [one-users] Could not read from CDROM (code 0004)
IBC Service Network / Zolotuhin Aleksey a.zolotu...@ibc.ru writes: Many thanks for the explanation. The problem really was that the VM tried to boot from the context CD. After forcing the bootable CD as hda, everything worked as expected. Hello, That's the reason we force TARGET=hda on all installation ISO, I just can not have two of them used in the same template. Could it be better to force CONTEXT to be last CDROM device? Regards. -- Daniel Dehennin Récupérer ma clef GPG: gpg --recv-keys 0xCC1E9E5B7A6FE2DF Fingerprint: 3E69 014E 5C23 50E8 9ED6 2AAD CC1E 9E5B 7A6F E2DF signature.asc Description: PGP signature ___ Users mailing list Users@lists.opennebula.org http://lists.opennebula.org/listinfo.cgi/users-opennebula.org
Re: [one-users] Could not read from CDROM (code 0004)
Many thanks for the explanation. The problem really was that the VM tried to boot from the context CD. After forcing the bootable CD as hda, everything worked as expected. CONTEXT point in the template is missing, because I deleted it when sending email. Thought, it would not be safe to provide my public key for SSH to the mailing list. I am sorry that misled you about the lack of CONTEXT. Once again I want to thank you for the help. And I want to express my admiration for the project OpenNebula. It is simple to primary installation, configuration, and superbly documented. Many thanks and success in the future development. Best regards, Aleksey Zolotukhin Original Message *Subject: *Re: [one-users] Could not read from CDROM (code 0004) *From: *Javier Fontan jfon...@opennebula.org *To: *IBC Service Network / Zolotuhin Aleksey a.zolotu...@ibc.ru *Date: *18.08.2014 21:11 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.zolotu...@ibc.ru wrote: 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='http://libvirt.org/schemas/domain/qemu/1.0' nameone-35/name cputune shares512/shares /cputune memory524288/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 jme...@opennebula.org To: IBC Service Network / Zolotuhin Aleksey a.zolotu...@ibc.ru 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.zolotu...@ibc.ru wrote: 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
Re: [one-users] Could not read from CDROM (code 0004)
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.zolotu...@ibc.ru wrote: 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='http://libvirt.org/schemas/domain/qemu/1.0' nameone-35/name cputune shares512/shares /cputune memory524288/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 jme...@opennebula.org To: IBC Service Network / Zolotuhin Aleksey a.zolotu...@ibc.ru 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.zolotu...@ibc.ru wrote: 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
Re: [one-users] Could not read from CDROM (code 0004)
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='http://libvirt.org/schemas/domain/qemu/1.0' nameone-35/name cputune shares512/shares /cputune memory524288/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 jme...@opennebula.org *To: *IBC Service Network / Zolotuhin Aleksey a.zolotu...@ibc.ru *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.zolotu...@ibc.ru mailto:a.zolotu...@ibc.ru wrote: 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 Users@lists.opennebula.org mailto:Users@lists.opennebula.org http://lists.opennebula.org/listinfo.cgi/users-opennebula.org -- Jaime Melis Project Engineer OpenNebula - Flexible Enterprise Cloud Made Simple www.OpenNebula.org http://www.OpenNebula.org | jme
Re: [one-users] Could not read from CDROM (code 0004)
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.zolotu...@ibc.ru wrote: 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 Users@lists.opennebula.org http://lists.opennebula.org/listinfo.cgi/users-opennebula.org -- Jaime Melis Project Engineer OpenNebula - Flexible Enterprise Cloud Made Simple www.OpenNebula.org | jme...@opennebula.org ___ Users mailing list Users@lists.opennebula.org http://lists.opennebula.org/listinfo.cgi/users-opennebula.org
[one-users] Could not read from CDROM (code 0004)
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 Users@lists.opennebula.org http://lists.opennebula.org/listinfo.cgi/users-opennebula.org