Hi,<br><br>Hi it was the problem  exports file only .<br>I have edited to <br><br>/srv/cloud           192.168.1.6(rw,no_root_squash,anonuid=1001,anongid=1001,async)<br><br>its working now .<br><br><br>rgds<br>Bala<br><br>
<div class="gmail_quote">On Thu, Sep 22, 2011 at 3:08 PM, samuel <span dir="ltr"><<a href="mailto:samu60@gmail.com">samu60@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
Which NFS version are you using?<br>I had troubles with some distributions using NFS4, which had some permission issues. I read that performance-wise version 3 and 4 are alike so I recommend you to add the following:<br>


        
        
        
        

<p style="margin-bottom:0cm">nfsvers=3</p>
<br>to your exports file:<br><br>/srv/cloud           192.168.1.6(rw,no_root_squash,anonuid=0,anongid=0,sync,nfsvers=3)<br><br>Hope it helps,<br><font color="#888888">Samuel.</font><div><div></div><div class="h5"><br><br>
<br><div class="gmail_quote">On 19 September 2011 12:30, bala suru <span dir="ltr"><<a href="mailto:balaqemu@gmail.com" target="_blank">balaqemu@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="border-left:1px solid rgb(204, 204, 204);margin:0pt 0pt 0pt 0.8ex;padding-left:1ex"><br>Hi,<br>I'm getting the same error .<br>here is the export file of nfs server my /etc/export file <br>

<br>/srv/cloud           192.168.1.6(rw,no_root_squash,anonuid=0,anongid=0,sync)<br><br>Still same error will be logged in oned.log file .<br>
<br>That is -><br><br><br>Tue Sep 13 15:53:46 2011 [VMM][D]: Message received: SAVE FAILURE 57 error: Failed to save domain one-57 to /srv/cloud/one/var/57/images/checkpoint<br><br>Tue Sep 13 15:53:46 2011 [VMM][D]: Message received: error: unable to set ownership of '/srv/cloud/one/var/57/images/checkpoint' to user 0:0: Operation not permitted<br>


 <br><br>pls help .<br>regards<br>Bala<br><br><div class="gmail_quote">On Sat, Sep 17, 2011 at 12:37 AM,  <span dir="ltr"><<a href="mailto:users-request@lists.opennebula.org" target="_blank">users-request@lists.opennebula.org</a>></span> wrote:<br>


<blockquote class="gmail_quote" style="border-left:1px solid rgb(204, 204, 204);margin:0pt 0pt 0pt 0.8ex;padding-left:1ex">Send Users mailing list submissions to<br>
        <a href="mailto:users@lists.opennebula.org" target="_blank">users@lists.opennebula.org</a><br>
<br>
To subscribe or unsubscribe via the World Wide Web, visit<div><br>
        <a href="http://lists.opennebula.org/listinfo.cgi/users-opennebula.org" target="_blank">http://lists.opennebula.org/listinfo.cgi/users-opennebula.org</a><br></div>
or, via email, send a message with subject or body 'help' to<br>
        <a href="mailto:users-request@lists.opennebula.org" target="_blank">users-request@lists.opennebula.org</a><br>
<br>
You can reach the person managing the list at<br>
        <a href="mailto:users-owner@lists.opennebula.org" target="_blank">users-owner@lists.opennebula.org</a><br>
<br>
When replying, please edit your Subject line so it is more specific<br>
than "Re: Contents of Users digest..."<br>
<br>
<br>
Today's Topics:<br>
<br>
   1. Re: onevm saveas error (Fabian Wenk)<br>
   2. Re: onevm STOP error (Fabian Wenk)<br>
   3. Re: Workflow Management in Open Nebula (Carlos Mart?n S?nchez)<br>
<br>
<br>
----------------------------------------------------------------------<br>
<br>
Message: 1<br>
Date: Fri, 16 Sep 2011 13:20:19 +0200<br>
From: Fabian Wenk <<a href="mailto:fabian@wenks.ch" target="_blank">fabian@wenks.ch</a>><br>
To: <a href="mailto:users@lists.opennebula.org" target="_blank">users@lists.opennebula.org</a><br>
Subject: Re: [one-users] onevm saveas error<br>
Message-ID: <<a href="mailto:4E7330F3.30806@wenks.ch" target="_blank">4E7330F3.30806@wenks.ch</a>><br>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed<br>
<br>
Hello<br>
<br>
On 16.09.2011 12:57, bharath pb wrote:<br>
> The image path location  has set to default location only . i.e<br>
> /srv/cloud/one/var/images  , but I could not see any image after executing<br>
<br>
Ok, I think this should also be fine.<br>
<br>
>   the saveas and shutdown commands ,.<br>
> And also there are no errors in the log file .<br>
><br>
> why this cant save the VM ..?<br>
<br>
Because it could not write the file<br>
/srv/cloud/one/var//images/e0561a492c9aaac280479f2f0d85dcced9156fbf as<br>
the log file you have posted shows. Is the oneadmin user able to<br>
write into this folder?<br>
<br>
Also check your configuration, this // is not normal (but usualy<br>
should not be a problem). Eventually you have set / at the end of<br>
the paths in your oned.conf, remove it.<br>
<br>
> Note: I use nfs for transferring the image .<br>
<br>
You need to have the folder /srv/cloud/one/var/images/ also<br>
available on the cluster node and there the user oneadmin (or<br>
eventually libvirtd) needs to be able to write into it.<br>
<br>
<br>
bye<br>
Fabian<br>
<br>
<br>
------------------------------<br>
<br>
Message: 2<br>
Date: Fri, 16 Sep 2011 13:25:40 +0200<br>
From: Fabian Wenk <<a href="mailto:fabian@wenks.ch" target="_blank">fabian@wenks.ch</a>><br>
To: <a href="mailto:users@lists.opennebula.org" target="_blank">users@lists.opennebula.org</a><br>
Subject: Re: [one-users] onevm STOP error<br>
Message-ID: <<a href="mailto:4E733234.1050207@wenks.ch" target="_blank">4E733234.1050207@wenks.ch</a>><br>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed<div><br>
<br>
Hello Bala<br>
<br>
On 16.09.2011 13:14, bala suru wrote:<br>
> Sat Sep 10 16:41:05 2011 [VMM][D]: Message received: SAVE FAILURE 49 error:<br>
> Failed to save domain one-49 to /srv/cloud/one/var//49/images/checkpoint<br>
><br>
> Sat Sep 10 16:41:05 2011 [VMM][D]: Message received: error: unable to set<br>
> ownership of '/srv/cloud/one/var//49/images/checkpoint' to user 0:0:<br>
> Operation not permitted .<br>
><br>
> I run oneadmin as sudo user , and i'm using nfs for transferring the images<br>
> (tm_nfs) .<br>
<br>
The cluster node (or libvirtd) needs to be able to write into this<br>
folder. It looks like it is running as root, so you need to allow<br>
root to write to the NFS file system, this needs to be adjusted on<br>
the NFS server in /etc/exports (see 'man exports' for details).<br>
<br>
<br>
bye<br>
Fabian<br>
<br>
<br></div>
------------------------------<br>
<br>
Message: 3<br>
Date: Fri, 16 Sep 2011 19:08:09 +0200<br>
From: Carlos Mart?n S?nchez <<a href="mailto:cmartin@opennebula.org" target="_blank">cmartin@opennebula.org</a>><br>
To: Joydipto Banerjee <<a href="mailto:joydipto.b@in.ibm.com" target="_blank">joydipto.b@in.ibm.com</a>><br>
Cc: <a href="mailto:users@lists.opennebula.org" target="_blank">users@lists.opennebula.org</a><br>
Subject: Re: [one-users] Workflow Management in Open Nebula<br>
Message-ID:<br>
        <CAEPYvFJ40akGnYybWfwv5yyeWkRFpzbUdm7OXscxu=<a href="mailto:oE9gCsdg@mail.gmail.com" target="_blank">oE9gCsdg@mail.gmail.com</a>><br>
Content-Type: text/plain; charset="iso-8859-1"<br>
<br>
Hi,<br>
<br>
We don't have any tool to manage the workflow, but OpenNebula can be easily<br>
tweaked with a few shell script lines.<br>
The scenario you describe can be achieved using hooks [1] in the following<br>
way:<br>
<br>
1 - After a VM creation (or a Template instantiation), a VM "on create" hook<br>
can be triggered to hold the VM (the scheduler ignores VMs in this state)<br>
and send that notification email.<br>
The hook can query OpenNebula for details about the user, the VM or any<br>
other resources used in the requested VM like Images or VNets. That email<br>
could look like this:<br>
<br>
The user john_doe (8) wants to deploy a VM with<br>
VM ID  : 31<br>
CPU    : 2<br>
MEMORY : 1024<br>
DISK   : IMAGE ID 15<br>
         Ubuntu Server<br>
         10G<br>
<br>
2 - If the administrator decides to approve the request, then he simply has<br>
to enable that VM. For a denied request, the VM can be deleted.<br>
This could be done manually, using the CLI or Sunstone.<br>
I guess it shouldn't be too difficult to configure a mail delivery agent<br>
such as procmail to enable or delete the VM after reciving a "yes/no" email<br>
reply from the administrator.<br>
<br>
3 - Another hook can be triggered when the VM reaches the running state.<br>
This one will send an email to the owner user with the login instructions,<br>
including VM details like the assigned IP.<br>
You have to come up with a way to store the user's email. Maybe a small<br>
sqlite DB, a new table in OpenNebula's DB, or even use the email as the<br>
OpenNebula username.<br>
<br>
This is a basic configuration to get you started, but the hook mechanism can<br>
be combined with:<br>
- ACLs [2] : you may want to fine-tune the allowed user actions<br>
- usage quotas [3] : after certain limits, the new VM creation requests<br>
would be denied without bothering the administrator with more emails<br>
- Sunstone tuning [4] : you could modify sunstone to adapt it to your needs.<br>
Views can be configured to show only certain tabs, or maybe hide some<br>
buttons. You could even include a new text input box that would allow users<br>
to include a personalized message for the administrator each time a VM is<br>
created. The "on create" hook can look for that attribute in the VM template<br>
and add it to the email.<br>
<br>
Best regards,<br>
Carlos.<br>
<br>
[1] <a href="http://opennebula.org/documentation:rel3.0:hooks" target="_blank">http://opennebula.org/documentation:rel3.0:hooks</a><br>
[2] <a href="http://opennebula.org/documentation:rel3.0:manage_acl" target="_blank">http://opennebula.org/documentation:rel3.0:manage_acl</a><br>
[3] <a href="http://opennebula.org/documentation:rel3.0:quota_auth" target="_blank">http://opennebula.org/documentation:rel3.0:quota_auth</a><br>
[4] <a href="http://opennebula.org/documentation:rel3.0:sunstone#plugins" target="_blank">http://opennebula.org/documentation:rel3.0:sunstone#plugins</a><br>
--<br>
Carlos Mart?n, MSc<br>
Project Major Contributor<br>
OpenNebula - The Open Source Toolkit for Cloud Computing<br>
<a href="http://www.OpenNebula.org" target="_blank">www.OpenNebula.org</a> <<a href="http://www.opennebula.org/" target="_blank">http://www.opennebula.org/</a>> | <a href="mailto:cmartin@opennebula.org" target="_blank">cmartin@opennebula.org</a><br>



<br>
<br>
On Fri, Sep 16, 2011 at 11:43 AM, Joydipto Banerjee<br>
<<a href="mailto:joydipto.b@in.ibm.com" target="_blank">joydipto.b@in.ibm.com</a>>wrote:<br>
<br>
> Hi - Does anyone know if there exists a workflow management system in Open<br>
> Nebula.<br>
> I am thinking of a scenario where a User requests a Virtual Machine(VM)<br>
> through the Open Nebula Sunstone web interface, after which an email<br>
> notification is sent to the Cloud Administrator to approve/reject the<br>
> request.<br>
><br>
> Post VM creation, an automatic email is sent back to the end user, giving<br>
> him the details of IP of the new image and login details (userid , password<br>
> ).<br>
><br>
> Are such scenarios possible ?<br>
><br>
> Thanks in advance.<div><br>
><br>
> _______________________________________________<br>
> Users mailing list<br>
> <a href="mailto:Users@lists.opennebula.org" target="_blank">Users@lists.opennebula.org</a><br>
> <a href="http://lists.opennebula.org/listinfo.cgi/users-opennebula.org" target="_blank">http://lists.opennebula.org/listinfo.cgi/users-opennebula.org</a><br>
><br>
><br></div>
-------------- next part --------------<br>
An HTML attachment was scrubbed...<br>
URL: <<a href="http://lists.opennebula.org/pipermail/users-opennebula.org/attachments/20110916/0fc26b03/attachment.html" target="_blank">http://lists.opennebula.org/pipermail/users-opennebula.org/attachments/20110916/0fc26b03/attachment.html</a>><br>



<br>
------------------------------<div><br>
<br>
_______________________________________________<br>
Users mailing list<br>
<a href="mailto:Users@lists.opennebula.org" target="_blank">Users@lists.opennebula.org</a><br>
<a href="http://lists.opennebula.org/listinfo.cgi/users-opennebula.org" target="_blank">http://lists.opennebula.org/listinfo.cgi/users-opennebula.org</a><br>
<br>
<br></div>
End of Users Digest, Vol 43, Issue 32<br>
*************************************<br>
</blockquote></div><br>
<br>_______________________________________________<br>
Users mailing list<br>
<a href="mailto:Users@lists.opennebula.org" target="_blank">Users@lists.opennebula.org</a><br>
<a href="http://lists.opennebula.org/listinfo.cgi/users-opennebula.org" target="_blank">http://lists.opennebula.org/listinfo.cgi/users-opennebula.org</a><br>
<br></blockquote></div><br>
</div></div></blockquote></div><br>