Hi, Hi it was the problem exports file only . I have edited to
/srv/cloud 192.168.1.6(rw,no_root_squash,anonuid=1001,anongid=1001,async) its working now . rgds Bala On Thu, Sep 22, 2011 at 3:08 PM, samuel <[email protected]> wrote: > Which NFS version are you using? > 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: > > nfsvers=3 > > to your exports file: > > /srv/cloud > 192.168.1.6(rw,no_root_squash,anonuid=0,anongid=0,sync,nfsvers=3) > > Hope it helps, > Samuel. > > > > On 19 September 2011 12:30, bala suru <[email protected]> wrote: > >> >> Hi, >> I'm getting the same error . >> here is the export file of nfs server my /etc/export file >> >> /srv/cloud >> 192.168.1.6(rw,no_root_squash,anonuid=0,anongid=0,sync) >> >> Still same error will be logged in oned.log file . >> >> That is -> >> >> >> 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 >> >> 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 >> >> >> pls help . >> regards >> Bala >> >> On Sat, Sep 17, 2011 at 12:37 AM, <[email protected]>wrote: >> >>> Send Users mailing list submissions to >>> [email protected] >>> >>> 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 >>> [email protected] >>> >>> You can reach the person managing the list at >>> [email protected] >>> >>> 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 <[email protected]> >>> To: [email protected] >>> Subject: Re: [one-users] onevm saveas error >>> Message-ID: <[email protected]> >>> 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 <[email protected]> >>> To: [email protected] >>> Subject: Re: [one-users] onevm STOP error >>> Message-ID: <[email protected]> >>> 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 <[email protected]> >>> To: Joydipto Banerjee <[email protected]> >>> Cc: [email protected] >>> Subject: Re: [one-users] Workflow Management in Open Nebula >>> Message-ID: >>> <CAEPYvFJ40akGnYybWfwv5yyeWkRFpzbUdm7OXscxu= >>> [email protected]> >>> Content-Type: text/plain; charset="iso-8859-1" >>> >>> Hi, >>> >>> We don't have any tool to manage the workflow, but OpenNebula can be >>> easily >>> tweaked with a few shell script lines. >>> The scenario you describe can be achieved using hooks [1] in the >>> following >>> way: >>> >>> 1 - After a VM creation (or a Template instantiation), a VM "on create" >>> hook >>> can be triggered to hold the VM (the scheduler ignores VMs in this state) >>> and send that notification email. >>> The hook can query OpenNebula for details about the user, the VM or any >>> other resources used in the requested VM like Images or VNets. That email >>> could look like this: >>> >>> The user john_doe (8) wants to deploy a VM with >>> VM ID : 31 >>> CPU : 2 >>> MEMORY : 1024 >>> DISK : IMAGE ID 15 >>> Ubuntu Server >>> 10G >>> >>> 2 - If the administrator decides to approve the request, then he simply >>> has >>> to enable that VM. For a denied request, the VM can be deleted. >>> This could be done manually, using the CLI or Sunstone. >>> I guess it shouldn't be too difficult to configure a mail delivery agent >>> such as procmail to enable or delete the VM after reciving a "yes/no" >>> email >>> reply from the administrator. >>> >>> 3 - Another hook can be triggered when the VM reaches the running state. >>> This one will send an email to the owner user with the login >>> instructions, >>> including VM details like the assigned IP. >>> You have to come up with a way to store the user's email. Maybe a small >>> sqlite DB, a new table in OpenNebula's DB, or even use the email as the >>> OpenNebula username. >>> >>> This is a basic configuration to get you started, but the hook mechanism >>> can >>> be combined with: >>> - ACLs [2] : you may want to fine-tune the allowed user actions >>> - usage quotas [3] : after certain limits, the new VM creation requests >>> would be denied without bothering the administrator with more emails >>> - Sunstone tuning [4] : you could modify sunstone to adapt it to your >>> needs. >>> Views can be configured to show only certain tabs, or maybe hide some >>> buttons. You could even include a new text input box that would allow >>> users >>> to include a personalized message for the administrator each time a VM is >>> created. The "on create" hook can look for that attribute in the VM >>> template >>> and add it to the email. >>> >>> Best regards, >>> Carlos. >>> >>> [1] http://opennebula.org/documentation:rel3.0:hooks >>> [2] http://opennebula.org/documentation:rel3.0:manage_acl >>> [3] http://opennebula.org/documentation:rel3.0:quota_auth >>> [4] http://opennebula.org/documentation:rel3.0:sunstone#plugins >>> -- >>> Carlos Mart?n, MSc >>> Project Major Contributor >>> OpenNebula - The Open Source Toolkit for Cloud Computing >>> www.OpenNebula.org <http://www.opennebula.org/> | [email protected] >>> >>> >>> On Fri, Sep 16, 2011 at 11:43 AM, Joydipto Banerjee >>> <[email protected]>wrote: >>> >>> > Hi - Does anyone know if there exists a workflow management system in >>> Open >>> > Nebula. >>> > I am thinking of a scenario where a User requests a Virtual Machine(VM) >>> > through the Open Nebula Sunstone web interface, after which an email >>> > notification is sent to the Cloud Administrator to approve/reject the >>> > request. >>> > >>> > Post VM creation, an automatic email is sent back to the end user, >>> giving >>> > him the details of IP of the new image and login details (userid , >>> password >>> > ). >>> > >>> > Are such scenarios possible ? >>> > >>> > Thanks in advance. >>> >>> > >>> > _______________________________________________ >>> > Users mailing list >>> > [email protected] >>> > 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/20110916/0fc26b03/attachment.html >>> > >>> >>> ------------------------------ >>> >>> >>> _______________________________________________ >>> Users mailing list >>> [email protected] >>> http://lists.opennebula.org/listinfo.cgi/users-opennebula.org >>> >>> >>> End of Users Digest, Vol 43, Issue 32 >>> ************************************* >>> >> >> >> _______________________________________________ >> Users mailing list >> [email protected] >> http://lists.opennebula.org/listinfo.cgi/users-opennebula.org >> >> >
_______________________________________________ Users mailing list [email protected] http://lists.opennebula.org/listinfo.cgi/users-opennebula.org
