Hi,
Thanks I just edited the export file as following.
/srv/cloud 192.168.1.6(rw,no_root_squash,,sync) .
Then I restarted the system .
Now its working fine
But I'm facing the onemore problem that when I try to save the VM using the
following command .
onevm saveas
onevm shutdown
Here I can see the new Image details when I do oneimage show
but when I try to deploy the the new VM using the above image I get the
following error .
Tue Sep 13 16:16:57 2011 [TM][D]: Message received: LOG - 59 tm_clone.sh:
Cloning /srv/cloud/one/var/images/def71f75ceab7d2fa444927b8e1588633c547422
Tue Sep 13 16:16:57 2011 [TM][D]: Message received: LOG - 59 tm_clone.sh:
ERROR: Command "cp -r
/srv/cloud/one/var/images/def71f75ceab7d2fa444927b8e1588633c547422
/srv/cloud/one/var/59/images/disk.0" failed.
Tue Sep 13 16:16:57 2011 [TM][D]: Message received: LOG - 59 tm_clone.sh:
ERROR: cp: cannot stat
`/srv/cloud/one/var/images/def71f75ceab7d2fa444927b8e1588633c547422': No
such file or directory
Here is the output of oneimage show 32
ID : 32
NAME : alliswell
TYPE : OS
REGISTER TIME : 09/13 16:12:13
PUBLIC : No
PERSISTENT : No
SOURCE :
/srv/cloud/one/var/images/def71f75ceab7d2fa444927b8e1588633c547422
STATE : rdy
RUNNING_VMS: 1
IMAGE
TEMPLATE
DEV_PREFIX=hd
NAME=alliswell
TYPE=OS
Since I'm able to save/ clone the VM , I guess there is no problem with user
rights access to the nfs shared folder .
what else may be the problem ..? why it could not save the image .
regards
Bala
On Fri, Sep 16, 2011 at 12:07 PM, wrote:
> Send Users mailing list submissions to
>users@lists.opennebula.org
>
> To subscribe or unsubscribe via the World Wide Web, visit
>http://lists.opennebula.org/listinfo.cgi/users-opennebula.org
> or, via email, send a message with subject or body 'help' to
>users-requ...@lists.opennebula.org
>
> You can reach the person managing the list at
>users-ow...@lists.opennebula.org
>
> When replying, please edit your Subject line so it is more specific
> than "Re: Contents of Users digest..."
>
>
> Today's Topics:
>
> 1. Re: onevm saveas error (Fabian Wenk)
> 2. Re: onevm STOP error (Fabian Wenk)
> 3. Re: Workflow Management in Open Nebula (Carlos Mart?n S?nchez)
>
>
> --
>
> Message: 1
> Date: Fri, 16 Sep 2011 13:20:19 +0200
> From: Fabian Wenk
> To: users@lists.opennebula.org
> Subject: Re: [one-users] onevm saveas error
> Message-ID: <4e7330f3.30...@wenks.ch>
> Content-Type: text/plain; charset=ISO-8859-1; format=flowed
>
> Hello
>
> On 16.09.2011 12:57, bharath pb wrote:
> > The image path location has set to default location only . i.e
> > /srv/cloud/one/var/images , but I could not see any image after
> executing
>
> Ok, I think this should also be fine.
>
> > the saveas and shutdown commands ,.
> > And also there are no errors in the log file .
> >
> > why this cant save the VM ..?
>
> Because it could not write the file
> /srv/cloud/one/var//images/e0561a492c9aaac280479f2f0d85dcced9156fbf as
> the log file you have posted shows. Is the oneadmin user able to
> write into this folder?
>
> Also check your configuration, this // is not normal (but usualy
> should not be a problem). Eventually you have set / at the end of
> the paths in your oned.conf, remove it.
>
> > Note: I use nfs for transferring the image .
>
> You need to have the folder /srv/cloud/one/var/images/ also
> available on the cluster node and there the user oneadmin (or
> eventually libvirtd) needs to be able to write into it.
>
>
> bye
> Fabian
>
>
> --
>
> Message: 2
> Date: Fri, 16 Sep 2011 13:25:40 +0200
> From: Fabian Wenk
> To: users@lists.opennebula.org
> Subject: Re: [one-users] onevm STOP error
> Message-ID: <4e733234.1050...@wenks.ch>
> Content-Type: text/plain; charset=ISO-8859-1; format=flowed
>
> Hello Bala
>
> On 16.09.2011 13:14, bala suru wrote:
> > Sat Sep 10 16:41:05 2011 [VMM][D]: Message received: SAVE FAILURE 49
> error:
> > Failed to save domain one-49 to /srv/cloud/one/var//49/images/checkpoint
> >
> > Sat Sep 10 16:41:05 2011 [VMM][D]: Message received: error: unable to set
> > ownership of '/srv/cloud/one/var//49/images/checkpoint' to user 0:0:
> > Operation not permitted .
> >
> > I run oneadmin as sudo user , and i'm using nfs for transferring the
> images
> > (tm_nfs) .
>
> The cluster node (or libvirtd) needs to be able to write into this
> folder. It looks like it is running as root, so you need to allow
> root to write to the NFS file system, this needs to be adjusted on
> the NFS server in /etc/exports (see 'man exports' for details).
>
>
> bye
> Fabian
>
>
> --
>
> Message: 3
> Date: Fri, 16 Sep 2011 19:08:09 +0200
> From: Carlos Mart?n S?nchez
> To: Joydipto Banerjee
> Cc: users@lists.opennebula.org
> Subject: Re: [one-users] Workflow Management in Open Nebula