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 <cmar...@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 | cmar...@opennebula.org | 
> @OpenNebula<http://twitter.com/opennebula><cmar...@opennebula.org>
>
>
>
> On Sun, Apr 22, 2012 at 6:43 AM, Teik Hooi Beh <th...@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@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

Reply via email to