[one-users] Error: Failed to create domain from
Ionut Popovici
ionut at hackaserver.com
Fri Oct 18 03:28:07 PDT 2013
Hi let me answer to that !!
The image on that they try to instantiate is a raw image.
And they use and template that instantiate the immage as qcow2 .. i
don't think is posible that.
Why is that becase i personaly make the images .. but they don't listen
me i already told the like 5 time .. your webinterface that instatiate
the machine use as template qcow2 driver and that won't work.
So for all to understand .. the Machine already run a bunch of VM's ..
the only machines that won't work are they try instantiate trou
RPC-xml from other webinterface.
On 10/18/2013 12:20 PM, Carlos Martín Sánchez wrote:
> Hi,
>
> On Fri, Oct 18, 2013 at 1:26 AM, Marius Corici <marius at corici.ro
> <mailto:marius at corici.ro>> wrote:
>
> and /var/log/libvirt/qemu/one-172.log shows:
>
> cache=none: could not open disk image
> /var/lib/one//datastores/0/172/disk.0: Invalid argument
> 2013-10-16 19:48:08.122+0000: shutting down
>
> Have no idea what next. :-/
>
>
> Can you check if that file is accessible by oneadmin in the host machine?
>
> Regards
> --
> Carlos Martín, MSc
> Project Engineer
> OpenNebula - Flexible Enterprise Cloud Made Simple
> www.OpenNebula.org <http://www.OpenNebula.org> |
> cmartin at opennebula.org <mailto:cmartin at opennebula.org> | @OpenNebula
> <http://twitter.com/opennebula>
>
>
> On Fri, Oct 18, 2013 at 1:26 AM, Marius Corici <marius at corici.ro
> <mailto:marius at corici.ro>> wrote:
>
> Hey Martin,
>
> Thanks for suggestions. Checked the details from [1] and seems to
> be as it should.
>
> libvirt.log shows:
>
> 2013-10-16 19:48:08.121+0000: 8722: error : qemuMonitorIORead:522
> : Unable to read from monitor: Connection reset by peer
>
> and /var/log/libvirt/qemu/one-172.log shows:
>
> 2013-10-16 19:47:54.709+0000: starting up
> LC_ALL=C
> PATH=/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin
> HOME=/root
> USER=root
> LOGNAME=root
> QEMU_AUDIO_DRV=none /usr/bin/kvm -S -M pc-1.1 -enable-kvm -m 512
> -smp 1,
> sockets=1,
> cores=1,
> threads=1 -name one-172 -uuid 9aa233d8-51c5-f8ea-39a4-62fe7c3e71de
> -no-user-config -nodefaults -chardev socket,
> id=charmonitor,
> path=/var/lib/libvirt/qemu/one-172.monitor,
> server,
> nowait -mon chardev=charmonitor,
> id=monitor,
> mode=control -rtc base=utc -no-shutdown -device piix3-usb-uhci,
> id=usb,
> bus=pci.0,
> addr=0x1.0x2 -drive file=/var/lib/one//datastores/0/172/disk.0,
> if=none,
> id=drive-virtio-disk0,
> format=qcow2,
>
> cache=none -device virtio-blk-pci,scsi=off,
> bus=pci.0,
> addr=0x4,drive=drive-virtio-disk0,id=virtio-disk0,
> bootindex=1 -drive file=/var/lib/one//datastores/0/172/disk.2,
> if=none,
> id=drive-ide0-0-0,
> readonly=on,
> format=raw -device ide-cd,
> bus=ide.0,
> unit=0,
> drive=drive-ide0-0-0,
> id=ide0-0-0 -drive file=/var/lib/one//datastores/0/172/disk.1,
> if=none,
> id=drive-ide0-0-1,
> format=raw,
> cache=none -device ide-hd,
> bus=ide.0,
> unit=1,
> drive=drive-ide0-0-1,
> id=ide0-0-1 -netdev tap,
> fd=34,
> id=hostnet0 -device rtl8139,
> netdev=hostnet0,
> id=net0,
> mac=02:00:0a:c2:00:05,
> bus=pci.0,
> addr=0x3 -vnc 10.255.254.2:172 <http://10.255.254.2:172> -vga
> cirrus -device virtio-balloon-pci,
> id=balloon0,
> bus=pci.0,
> addr=0x5
> kvm: -drive file=/var/lib/one//datastores/0/172/disk.0,
> if=none,
> id=drive-virtio-disk0,
> format=qcow2,
>
> cache=none: could not open disk image
> /var/lib/one//datastores/0/172/disk.0: Invalid argument
> 2013-10-16 19:48:08.122+0000: shutting down
>
> Have no idea what next. :-/
>
>
>
> On 10/16/2013 04:49 PM, Carlos Martín Sánchez wrote:
>> Hi,
>>
>> First make sure the required configuration [1] is in place.
>> Then take a look at the libvirt log files, they may contain more
>> information: /var/log/libvirt/libvirtd.log and
>> /var/log/libvirt/qemu/one-<id>.log
>>
>> Regards
>>
>> [1] http://opennebula.org/documentation:rel4.2:kvmg#configuration
>>
>> --
>> Carlos Martín, MSc
>> Project Engineer
>> OpenNebula - Flexible Enterprise Cloud Made Simple
>> www.OpenNebula.org <http://www.OpenNebula.org> |
>> cmartin at opennebula.org <mailto:cmartin at opennebula.org> |
>> @OpenNebula <http://twitter.com/opennebula>
>>
>>
>> On Tue, Oct 15, 2013 at 7:58 PM, Marius Corici <marius at corici.ro
>> <mailto:marius at corici.ro>> wrote:
>>
>> Hi everybody,
>>
>> I'm new here and you're my "The Last Stand" solution. What's
>> the story:
>>
>> When I try to create a VM from my app, I receive this error:
>>
>>
>> Tue Oct 15 16:00:22 2013 [DiM][I]: New VM state is ACTIVE.
>> Tue Oct 15 16:00:22 2013 [LCM][I]: New VM state is PROLOG.
>> Tue Oct 15 16:00:25 2013 [LCM][I]: New VM state is BOOT
>> Tue Oct 15 16:00:25 2013 [VMM][I]: Generating deployment
>> file: /var/lib/one/vms/169/deployment.0
>> Tue Oct 15 16:00:25 2013 [VMM][I]: ExitCode: 0
>> Tue Oct 15 16:00:25 2013 [VMM][I]: Successfully execute
>> network driver operation: pre.
>> Tue Oct 15 16:00:38 2013 [VMM][I]: Command execution
>> fail: cat << EOT | /var/tmp/one/vmm/kvm/deploy
>> '/var/lib/one//datastores/0/169/deployment.0' 'domain.com
>> <http://domain.com>' 169 domain.com <http://domain.com>
>> Tue Oct 15 16:00:38 2013 [VMM][I]: error: Failed to
>> create domain from
>> /var/lib/one//datastores/0/169/deployment.0
>> Tue Oct 15 16:00:38 2013 [VMM][I]: error: Unable to read
>> from monitor: Connection reset by peer
>> Tue Oct 15 16:00:38 2013 [VMM][E]: Could not create
>> domain from /var/lib/one//datastores/0/169/deployment.0
>> Tue Oct 15 16:00:38 2013 [VMM][I]: ExitCode: 255
>> Tue Oct 15 16:00:38 2013 [VMM][I]: Failed to execute
>> virtualization driver operation: deploy.
>> Tue Oct 15 16:00:38 2013 [VMM][E]: Error deploying
>> virtual machine: Could not create domain from
>> /var/lib/one//datastores/0/169/deployment.0
>> Tue Oct 15 16:00:41 2013 [DiM][I]: New VM state is FAILED
>>
>> I have OpenNebula 4.2 on Debian, and I don't know where else
>> to look for an answer.
>>
>> Thank you
>>
>> Marius
>>
>> _______________________________________________
>> Users mailing list
>> Users at lists.opennebula.org <mailto:Users at lists.opennebula.org>
>> http://lists.opennebula.org/listinfo.cgi/users-opennebula.org
>>
>>
>
>
>
>
> _______________________________________________
> Users mailing list
> Users at lists.opennebula.org
> http://lists.opennebula.org/listinfo.cgi/users-opennebula.org
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opennebula.org/pipermail/users-opennebula.org/attachments/20131018/6e6062a7/attachment-0002.htm>
More information about the Users
mailing list