Return-Path: X-Original-To: apmail-cloudstack-dev-archive@www.apache.org Delivered-To: apmail-cloudstack-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id A7E27104A6 for ; Sat, 9 May 2015 20:50:42 +0000 (UTC) Received: (qmail 88854 invoked by uid 500); 9 May 2015 20:50:42 -0000 Delivered-To: apmail-cloudstack-dev-archive@cloudstack.apache.org Received: (qmail 88788 invoked by uid 500); 9 May 2015 20:50:42 -0000 Mailing-List: contact dev-help@cloudstack.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@cloudstack.apache.org Delivered-To: mailing list dev@cloudstack.apache.org Received: (qmail 88776 invoked by uid 99); 9 May 2015 20:50:41 -0000 Received: from Unknown (HELO spamd4-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 09 May 2015 20:50:41 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd4-us-west.apache.org (ASF Mail Server at spamd4-us-west.apache.org) with ESMTP id 76BDDC124B for ; Sat, 9 May 2015 20:50:41 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd4-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: -0.1 X-Spam-Level: X-Spam-Status: No, score=-0.1 tagged_above=-999 required=6.31 tests=[DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, SPF_PASS=-0.001, URIBL_BLOCKED=0.001] autolearn=disabled Authentication-Results: spamd4-us-west.apache.org (amavisd-new); dkim=pass (2048-bit key) header.d=gmail.com Received: from mx1-us-west.apache.org ([10.40.0.8]) by localhost (spamd4-us-west.apache.org [10.40.0.11]) (amavisd-new, port 10024) with ESMTP id yVbUjTALiS1s for ; Sat, 9 May 2015 20:50:31 +0000 (UTC) Received: from mail-pa0-f68.google.com (mail-pa0-f68.google.com [209.85.220.68]) by mx1-us-west.apache.org (ASF Mail Server at mx1-us-west.apache.org) with ESMTPS id 3D5B62123F for ; Sat, 9 May 2015 20:50:31 +0000 (UTC) Received: by pabli10 with SMTP id li10so14671911pab.2 for ; Sat, 09 May 2015 13:50:24 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=message-id:date:from:user-agent:mime-version:to:subject:references :in-reply-to:content-type:content-transfer-encoding; bh=EPnmYojsvWh9+r97dE5SQE7y4ch8GOmitIz7ST5G7NU=; b=Hy8N25V6yIwGyJ87/wFDLM3ND+MdAIom7E4x5JTSbAjtt3jl/NXlK4vTpmMUoNc42/ i31iUqJR5x8Y/f/6F0ynALfdMzx82s1Gttf/ZKAbmacYEoqUkds3AELeZsqHaxRr3nSc UHGM/2M+PmfMXNKdDbS95dAq/Ugzpa826WjMZGvMqb+lyEhPOzXhPdHRPlKhDeLWglCF UhWFe6ZdbLa1eQvzhIhGS7JLE7pyw86+S7/81LgSO+zofZr2+PbSadN0U52mBc3R6g7i El2d6ZAe8SIJ7UmEM/t4bfq0+ZYDaSUTSxTaNgZyWh1uFkj7mkFdzEpfeGKPH8chesxo 3fmA== X-Received: by 10.66.221.34 with SMTP id qb2mr6982385pac.42.1431204624926; Sat, 09 May 2015 13:50:24 -0700 (PDT) Received: from [0.0.0.0] (dev1.cloudsand.com. [162.243.147.22]) by mx.google.com with ESMTPSA id dp7sm8790057pdb.10.2015.05.09.13.50.23 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sat, 09 May 2015 13:50:24 -0700 (PDT) Message-ID: <554E730E.7060003@gmail.com> Date: Sat, 09 May 2015 13:50:22 -0700 From: ilya User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.10; rv:31.0) Gecko/20100101 Thunderbird/31.6.0 MIME-Version: 1.0 To: dev@cloudstack.apache.org Subject: Re: Unable to mount Secondary Storage on SSVM References: <977F5B28-952F-4C9C-9D9E-515AD2B96632@shapeblue.com> <5ac804fbfb75420fb33ac44e061d495e@AIOEXMBX02.aio.local> <8692087.548.1431092828126.JavaMail.andrei@tuchka> <554E7224.9070200@gmail.com> In-Reply-To: <554E7224.9070200@gmail.com> Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 8bit Disregard my previous message, i see its already done. Try mounting it in the shell of SSVM by hand. If fails, disable iptables and try again. Also check the routing table to make sure all is proper. Like Andrei mentioned you may need it to be NFSv3 compatible as it will make use of no_root_squash (which must also be enabled on your share). Regards ilya On 5/9/15 1:46 PM, ilya wrote: > Make sure that management network/range of IPs that VM and Storage > Network (if you have one), is whitelisted as NFS access clients on the > export. > > If that fails, try also adding public ip range to see if that helps - > as a test. > > Regards > ilya > On 5/8/15 6:50 AM, Andrei Mikhailovsky wrote: >> Srini, >> >> you need to make sure the nfs server is configured properly to allow >> access from SSVM, as you can see, the access is denied. please check >> that the nfs server supports the same protocol version as ssvm is >> requesting. Most likely, it's nfs v3. >> >> Check logs on the nfs server to verify why it is denying access. >> >> Once this is fixed, you should be good to go. >> >> Andrei >> >> ----- Original Message ----- >> From: "srinivas niddapu" >> To: "Rohit Yadav" , dev@cloudstack.apache.org >> Cc: users@cloudstack.apache.org >> Sent: Friday, 8 May, 2015 2:03:10 PM >> Subject: RE: Unable to mount Secondary Storage on SSVM >> >> Appreciated info Rohit. >> >> As we verified our NFS storage there is no permission restrictions (* >> FULL ACCESS). >> Validated the same NFS share on the Cloud Stack Hypervisors, already >> mounted and data visible. >> >> We try to mount the NFS volume in the SSVM manually but its throwing >> error. Unable to mount. >> "mount.nfs: access denied by server while mounting" >> >> While restoring snapshot in the CloudStack UI getting below error. >> >> Status >> Failed to create >> templatecom.cloud.utils.exception.CloudRuntimeException: GetRootDir >> for nfs://172.30.36.51/vS02304090GCSP_NAS07 failed due to >> com.cloud.utils.exception.CloudRuntimeException: Unable to mount >> 172.30.36.51:/vS02304090GCSP_NAS07 at >> /mnt/SecStorage/1c7f122c-e72e-3daa-a54a-3693b89d4015 due to >> mount.nfs: access denied by server while mounting >> 172.30.36.51:/vS02304090GCSP_NAS07 at >> org.apache.cloudstack.storage.resource.NfsSecondaryStorageResource.getRootDir(NfsSecondaryStorageResource.java:1956) >> at >> org.apache.cloudstack.storage.resource.NfsSecondaryStorageResource.copySnapshotToTemplateFromNfsToNfsXenserver(NfsSecondaryStorageResource.java:377) >> at >> org.apache.cloudstack.storage.resource.NfsSecondaryStorageResource.copySnapshotToTemplateFromNfsToNfs(NfsSecondaryStorageResource.java:444) >> at >> org.apache.cloudstack.storage.resource.NfsSecondaryStorageResource.createTemplateFromSnapshot(NfsSecondaryStorageResource.java:553) >> at >> org.apache.cloudstack.storage.resource.NfsSecondaryStorageResource.execute(NfsSecondaryStorageResource.java:632) >> at >> org.apache.cloudstack.storage.resource.NfsSecondaryStorageResource.executeRequest(NfsSecondaryStorageResource.java:236) >> at >> com.cloud.storage.resource.PremiumSecondaryStorageResource.defaultAction(PremiumSecondaryStorageResource.java:63) >> at >> com.cloud.storage.resource.PremiumSecondaryStorageResource.executeRequest(PremiumSecondaryStorageResource.java:59) >> at com.cloud.agent.Agent.processRequest(Agent.java:498) at >> com.cloud.agent.Agent$AgentRequestHandler.doTask(Agent.java:806) at >> com.cloud.utils.nio.Task.run(Task.java:83) at >> java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1146) >> at >> java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) >> at java.lang.Thread.run(Thread.java:679) >> >> Any suggestions. >> >> Thanks, >> Srini. >> >> -----Original Message----- >> From: Rohit Yadav [mailto:rohit.yadav@shapeblue.com] >> Sent: Friday, May 08, 2015 5:57 PM >> To: dev@cloudstack.apache.org >> Cc: users@cloudstack.apache.org; srinivas niddapu >> Subject: Re: Unable to mount Secondary Storage on SSVM >> >> >>> On 08-May-2015, at 2:05 pm, anil lakineni >>> wrote: >>> >>> and this Secondary Storage path is mounting and working with all other >>> servers except with SSVM.. Getting error "mount.nfs: access denied by >>> server while mounting xx.xx.xx.xx:/xxxx" >> Check your nfs exports file and do a chmod 777 on the mount points, >> such as /export/secondary or /export/primary. >> >> Regards, >> Rohit Yadav >> Software Architect, ShapeBlue >> M. +91 88 262 30892 | rohit.yadav@shapeblue.com >> Blog: bhaisaab.org | Twitter: @_bhaisaab >> >> >> >> Find out more about ShapeBlue and our range of CloudStack related >> services >> >> IaaS Cloud Design & >> Build >> CSForge – rapid IaaS deployment framework >> CloudStack Consulting >> CloudStack Software >> Engineering >> CloudStack Infrastructure >> Support >> CloudStack Bootcamp Training >> Courses >> >> This email and any attachments to it may be confidential and are >> intended solely for the use of the individual to whom it is >> addressed. Any views or opinions expressed are solely those of the >> author and do not necessarily represent those of Shape Blue Ltd or >> related companies. If you are not the intended recipient of this >> email, you must neither take any action based upon its contents, nor >> copy or show it to anyone. Please contact the sender if you believe >> you have received this email in error. Shape Blue Ltd is a company >> incorporated in England & Wales. ShapeBlue Services India LLP is a >> company incorporated in India and is operated under license from >> Shape Blue Ltd. Shape Blue Brasil Consultoria Ltda is a company >> incorporated in Brasil and is operated under license from Shape Blue >> Ltd. ShapeBlue SA Pty Ltd is a company registered by The Republic of >> South Africa and is traded under license from Shape Blue Ltd. >> ShapeBlue is a registered trademark. > >