[one-users] failed to create domain
Teik Hooi Beh
thbeh at thbeh.com
Wed Apr 25 07:48:55 PDT 2012
Hi,
I did try as mentioned in
http://opennebula.org/documentation:rel3.4:kvmg#kvm_configuration but VM is
going into never ending pending state and no logs were reported.
I will redeploy again. Has anyone published an installation guidelines on
Ubuntu 11.10 other than from http://cloudblab.wordpress.com/
Regards
Beh
On Wed, Apr 25, 2012 at 3:59 PM, Michael Kutzner <
michael.kutzner at virtion.net> wrote:
> Hi,
>
> did you check qemu conf as described here:
> http://opennebula.org/documentation:rel3.4:kvmg#kvm_configuration
> (had a similar error at the beginning ... )
>
>
> Best, Michael
>
> Am 25.04.2012 um 02:02 schrieb Teik Hooi Beh:
>
> Hi,
>
> I manage to solve the previous issue by changing "dynamic_ownership = 0".
> But now I have a new error which is also due to permission denied error:-
>
> Wed Apr 25 00:05:11 2012 [DiM][I]: New VM state is ACTIVE.
> Wed Apr 25 00:05:11 2012 [LCM][I]: New VM state is PROLOG.
> Wed Apr 25 00:05:17 2012 [TM][I]: clone: Cloning
> ../../1/cfb778816ca91644bf82a8222a38f5ae in
> node01:/srv/cloud/one/var//datastores/0/51/dis
> k.0
> Wed Apr 25 00:05:17 2012 [TM][I]: ExitCode: 0
> Wed Apr 25 00:05:18 2012 [TM][I]: context: Generating context block device
> at node01:/srv/cloud/one/var//datastores/0/51/disk.1
> Wed Apr 25 00:05:18 2012 [TM][I]: ExitCode: 0
> Wed Apr 25 00:05:18 2012 [LCM][I]: New VM state is BOOT
> Wed Apr 25 00:05:18 2012 [VMM][I]: Generating deployment file:
> /srv/cloud/one/var/51/deployment.0
> Wed Apr 25 00:05:24 2012 [VMM][I]: ExitCode: 0
> Wed Apr 25 00:05:24 2012 [VMM][I]: Successfully execute network driver
> operation: pre.
> Wed Apr 25 00:05:55 2012 [VMM][I]: Command execution fail: cat << EOT |
> /var/tmp/one/vmm/kvm/deploy /srv/cloud/one/var//datastores/0/51/dep
> loyment.0 node01 51 node01
> Wed Apr 25 00:05:55 2012 [VMM][I]: error: Failed to create domain from
> /srv/cloud/one/var//datastores/0/51/deployment.0
> Wed Apr 25 00:05:55 2012 [VMM][I]: error: internal error process exited
> while connecting to monitor: kvm: -drive file=/srv/cloud/one/var//d
> atastores/0/51/disk.0,if=none,id=drive-ide0-0-0,format=raw: could not open
> disk image /srv/cloud/one/var//datastores/0/51/disk.0: Permissio
> n denied
> Wed Apr 25 00:05:55 2012 [VMM][I]:
> Wed Apr 25 00:05:55 2012 [VMM][E]: Could not create domain from
> /srv/cloud/one/var//datastores/0/51/deployment.0
> Wed Apr 25 00:05:55 2012 [VMM][I]: ExitCode: 255
> Wed Apr 25 00:05:55 2012 [VMM][I]: Failed to execute virtualization driver
> operation: deploy.
> Wed Apr 25 00:05:55 2012 [VMM][E]: Error deploying virtual machine: Could
> not create domain from /srv/cloud/one/var//datastores/0/51/deploy
> ment.0
> Wed Apr 25 00:05:55 2012 [DiM][I]: New VM state is FAILED
>
> I know it is something to relating to libvirt or qemu but just couldn't
> pin point the fault.
>
> Regards
> Beh
>
>
> 2012/4/24 Carlos Martín Sánchez <cmartin at opennebula.org>
>
>> Hi,
>>
>> Are you using the shared TM driver [1] in your system datastore? If so,
>> please check that the datastore directory is properly exported, and that
>> files created in the front-end have the correct permissions so the oneadmin
>> account in the host can see them.
>>
>> Regards
>>
>> [1] http://opennebula.org/documentation:rel3.4:system_ds
>> --
>> Carlos Martín, MSc
>> Project Engineer
>> OpenNebula - The Open-source Solution for Data Center Virtualization
>> www.OpenNebula.org | cmartin at opennebula.org | @OpenNebula<http://twitter.com/opennebula><cmartin at opennebula.org>
>>
>>
>>
>> On Sun, Apr 22, 2012 at 6:43 AM, Teik Hooi Beh <thbeh at thbeh.com> wrote:
>>
>>> Hi,
>>>
>>> I have just started with opennebula and have manage to setup a test lab
>>> with 2 servers (following the guide from http://cloudblab.wordpress.com/)
>>> minus the window image deployment. I have tried to test with ttylinux
>>> using instruction VM sample with Context & Network 3.4 from open nebula
>>> web site.
>>>
>>> Image was properly registered with rdy state but when I tried to deploy
>>> the VM i got the following message:
>>>
>>> Sun Apr 22 12:32:52 2012 [DiM][I]: New VM state is ACTIVE.
>>> Sun Apr 22 12:32:52 2012 [LCM][I]: New VM state is PROLOG.
>>> Sun Apr 22 12:32:53 2012 [TM][I]: clone: Cloning ../../1/cfb778816ca91644bf82a8222a38f5ae in node01:/srv/cloud/one/var//datastores/0/26/disk.0
>>> Sun Apr 22 12:32:53 2012 [TM][I]: ExitCode: 0
>>> Sun Apr 22 12:32:54 2012 [TM][I]: context: Generating context block device at node01:/srv/cloud/one/var//datastores/0/26/disk.1
>>> Sun Apr 22 12:32:54 2012 [TM][I]: ExitCode: 0
>>> Sun Apr 22 12:32:54 2012 [LCM][I]: New VM state is BOOT
>>> Sun Apr 22 12:32:54 2012 [VMM][I]: Generating deployment file: /srv/cloud/one/var/26/deployment.0
>>> Sun Apr 22 12:32:54 2012 [VMM][I]: ExitCode: 0
>>> Sun Apr 22 12:32:54 2012 [VMM][I]: Successfully execute network driver operation: pre.
>>> Sun Apr 22 12:32:56 2012 [VMM][I]: Command execution fail: cat << EOT | /var/tmp/one/vmm/kvm/deploy /srv/cloud/one/var//datastores/0/26/deployment.0 node01 26 node01
>>> Sun Apr 22 12:32:56 2012 [VMM][I]: error: Failed to create domain from /srv/cloud/one/var//datastores/0/26/deployment.0
>>> Sun Apr 22 12:32:56 2012 [VMM][I]: error: unable to open disk path /srv/cloud/one/var//datastores/0/26/disk.0: Permission deniedSun Apr 22 12:32:56 2012 [VMM][E]: Could not create domain from /srv/cloud/one/var//datastores/0/26/deployment.0
>>> Sun Apr 22 12:32:56 2012 [VMM][I]: ExitCode: 255
>>> Sun Apr 22 12:32:56 2012 [VMM][I]: Failed to execute virtualization driver operation: deploy.Sun Apr 22 12:32:56 2012 [VMM][E]: Error deploying virtual machine: Could not create domain from /srv/cloud/one/var//datastores/0/26/deployment.0
>>> Sun Apr 22 12:32:56 2012 [DiM][I]: New VM state is FAILED
>>>
>>> As I am new, i am not sure where to start debugging to find out what is
>>> wrong. Any advice?
>>>
>>> Thanks
>>> Beh
>>>
>>> _______________________________________________
>>> Users mailing list
>>> 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/20120425/6cf81657/attachment-0002.htm>
More information about the Users
mailing list