[one-users] Xen with NFS..

Pallab Chakrabarty pchakrabarty at spikesource.com
Fri Aug 21 04:09:20 PDT 2009


 

 

Hi,

 

 

The problem lies in these two lines:

 

 

Line1:

=====

Thu Aug 20 12:25:55 2009 [VMM][I]: Generating deployment file:
/opt/cloud/var/36/deployment.0

 

Line2:

=====

Thu Aug 20 12:25:55 2009 [VMM][I]: Command execution fail: 'cat >
/opt/cloud/one/var/36/images/deployment.0 && sudo /usr/sbin/xm create
/opt/cloud/one/var/36/images/deployment.0 && sudo /usr/sbin/xm sched-cred
-d one-36 -w 256'

 

 

 

This is clear that:  

 

1) deployment file is generated at loca: /opt/cloud/var/36/deployment.0

 

2) but cat > command looks for a different location:   'cat >
/opt/cloud/one/var/36/images/deployment.0 

 

 

/images/ ???

 

Pls note, VM_DIR is defined correctly as per the documentations..

 

 

Kindly advice further ..

 

 

 

- regards 

   Pallab 

 

 

 

-----Original Message-----
From: jfontan at gmail.com [mailto:jfontan at gmail.com] On Behalf Of Javier
Fontan
Sent: Friday, August 21, 2009 4:21 PM
To: Pallab Chakrabarty
Cc: users at lists.opennebula.org
Subject: Re: [one-users] Xen with NFS..

 

Hello,

 

Comments below

 

On Thu, Aug 20, 2009 at 9:01 PM, Pallab

Chakrabarty<pchakrabarty at spikesource.com> wrote:

> I tried Xen with NFS; following error shows some wrong location of

> deployment file..

> 

> Kindly advice how to fix this..

> 

> [...]

> 

> Thu Aug 20 12:25:55 2009 [VMM][I]: Command execution fail: 'cat >

> /opt/cloud/one/var/36/images/deployment.0 && sudo /usr/sbin/xm create

> /opt/cloud/one/var/36/images/deployment.0 && sudo /usr/sbin/xm
sched-cred -d

> one-36 -w 256'

> 

> Thu Aug 20 12:25:55 2009 [VMM][I]: STDERR follows.

> 

> Thu Aug 20 12:25:55 2009 [VMM][I]: bash:

> /opt/cloud/one/var/36/images/deployment.0: No such file or directory

> 

> Thu Aug 20 12:25:55 2009 [VMM][I]: ExitCode: 1

> 

> [...]

 

The problem here is that it can not create

/opt/cloud/one/var/36/images/deployment.0 in the execution host. The

command that starts with "cat" is executed in the execution host, not

in the frontend. The most probable cause of this error is that

/opt/cloud/one/var/36/images does not exist in the execution host.

What is the shared directory between nodes and what is the mount point

in that execution node? If not specified otherwise (VM_DIR variable in

one.conf) OpenNebula expects its var path in the same place in

frontend and execution nodes.

 

Bye

 

 

-- 

Javier Fontan, Grid & Virtualization Technology Engineer/Researcher

DSA Research Group: http://dsa-research.org

Globus GridWay Metascheduler: http://www.GridWay.org

OpenNebula Virtual Infrastructure Engine: http://www.OpenNebula.org

 

No virus found in this incoming message.

Checked by AVG - www.avg.com 

Version: 8.5.392 / Virus Database: 270.13.63/2316 - Release Date: 08/20/09
18:06:00

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opennebula.org/pipermail/users-opennebula.org/attachments/20090821/bf24f2e7/attachment-0003.htm>


More information about the Users mailing list