[Users] Fail to add storage domain

Hi, I'm trying to add a storage domain with NFS, but it fails. Looking at the logs, I see the errors but nothing that can help me understand the root cause for the failure. Engine and vdsm logs attached. Thanks, Elad

This is a multi-part message in MIME format. --------------030705000700020607010301 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Hi Elad, seems like the mount command itself failed on timeout. Can you please try this command and let's see what will happen: mkdir -p /mnt/my_storage_test && mount -t nfs -o soft,nosharecache,timeo=600,retrans=6 192.168.132.123:/tonian/dcns/vns/marketing/productA /mnt/my_storage_test it should fail as well. Please check that nfs service is running on 192.168.132.123 and is not blocked by iptables or other firewalls and that path is exported properly in /etc/exports. You can also check whether selinux denied the mount operation by `grep AVC /var/log/audit/audit.log | tail` after mount command fails. Kuba On 05/30/2012 05:16 PM, Elad Tabak wrote:
Hi, I'm trying to add a storage domain with NFS, but it fails. Looking at the logs, I see the errors but nothing that can help me understand the root cause for the failure. Engine and vdsm logs attached.
Thanks, Elad
_______________________________________________ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users
--------------030705000700020607010301 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit <html> <head> <meta content="text/html; charset=ISO-8859-1" http-equiv="Content-Type"> </head> <body bgcolor="#FFFFFF" text="#000000"> Hi Elad,<br> <br> seems like the mount command itself failed on timeout. Can you please try this command and let's see what will happen:<br> mkdir -p /mnt/my_storage_test && mount -t nfs -o soft,nosharecache,timeo=600,retrans=6 192.168.132.123:/tonian/dcns/vns/marketing/productA /mnt/my_storage_test<br> it should fail as well.<br> <br> Please check that nfs service is running on 192.168.132.123 and is not blocked by iptables or other firewalls and that path is exported properly in /etc/exports. You can also check whether selinux denied the mount operation by `grep AVC /var/log/audit/audit.log | tail` after mount command fails.<br> <br> Kuba<br> <br> On 05/30/2012 05:16 PM, Elad Tabak wrote: <blockquote cite="mid:CA+NSCuuwwy-JnRToXYvXyXcKxee097ch9qKJEY9tBVNx9t4mVg@mail.gmail.com" type="cite"> <div dir="ltr"> <div class="gmail_quote">Hi,<br> <div dir="ltr">I'm trying to add a storage domain with NFS, but it fails.<br> Looking at the logs, I see the errors but nothing that can help me understand the root cause for the failure.</div> <div dir="ltr">Engine and vdsm logs attached.<br> <br> Thanks,<br> Elad<br> <br> </div> </div> </div> <br> <fieldset class="mimeAttachmentHeader"></fieldset> <br> <pre wrap="">_______________________________________________ Users mailing list <a class="moz-txt-link-abbreviated" href="mailto:Users@ovirt.org">Users@ovirt.org</a> <a class="moz-txt-link-freetext" href="http://lists.ovirt.org/mailman/listinfo/users">http://lists.ovirt.org/mailman/listinfo/users</a> </pre> </blockquote> <br> </body> </html> --------------030705000700020607010301--

Hi Jakub, The original attempt to mount took too long and I had to refresh the oVirt window and terminate the operation. The second attempt, this time with the correct path, fails with an error. I'm suspecting the first operation locked me from been able to mount again. Using the command you provided below works just fine. Any suggestion? Elad On Wed, May 30, 2012 at 6:36 PM, Jakub Libosvar <libosvar@redhat.com> wrote:
Hi Elad,
seems like the mount command itself failed on timeout. Can you please try this command and let's see what will happen: mkdir -p /mnt/my_storage_test && mount -t nfs -o soft,nosharecache,timeo=600,retrans=6 192.168.132.123:/tonian/dcns/vns/marketing/productA /mnt/my_storage_test it should fail as well.
Please check that nfs service is running on 192.168.132.123 and is not blocked by iptables or other firewalls and that path is exported properly in /etc/exports. You can also check whether selinux denied the mount operation by `grep AVC /var/log/audit/audit.log | tail` after mount command fails.
Kuba
On 05/30/2012 05:16 PM, Elad Tabak wrote:
Hi, I'm trying to add a storage domain with NFS, but it fails. Looking at the logs, I see the errors but nothing that can help me understand the root cause for the failure. Engine and vdsm logs attached.
Thanks, Elad
_______________________________________________ Users mailing listUsers@ovirt.orghttp://lists.ovirt.org/mailman/listinfo/users

----- Original Message -----
From: "Elad Tabak" <elad@tonian.com> To: "Jakub Libosvar" <libosvar@redhat.com> Cc: users@ovirt.org Sent: Thursday, May 31, 2012 9:13:40 AM Subject: Re: [Users] Fail to add storage domain
Hi Jakub, The original attempt to mount took too long and I had to refresh the oVirt window and terminate the operation. The second attempt, this time with the correct path, fails with an error. I'm suspecting the first operation locked me from been able to mount again. Using the command you provided below works just fine. Any suggestion?
Hi Elad, please attach full vdsm log of the second attempt. please also run ps aux | grep mount and see if you recognize your mount command, check process state (just to see its not stuck). please make sure you have the correct permission on your NFS share; should be vdsm:kvm (36:36) would appreciate if you could file a BZ on the timeout issue for oVirt (web-admin component). Haim
Elad
On Wed, May 30, 2012 at 6:36 PM, Jakub Libosvar < libosvar@redhat.com
wrote:
Hi Elad,
seems like the mount command itself failed on timeout. Can you please try this command and let's see what will happen: mkdir -p /mnt/my_storage_test && mount -t nfs -o soft,nosharecache,timeo=600,retrans=6 192.168.132.123:/tonian/dcns/vns/marketing/productA /mnt/my_storage_test it should fail as well.
Please check that nfs service is running on 192.168.132.123 and is not blocked by iptables or other firewalls and that path is exported properly in /etc/exports. You can also check whether selinux denied the mount operation by `grep AVC /var/log/audit/audit.log | tail` after mount command fails.
Kuba
On 05/30/2012 05:16 PM, Elad Tabak wrote:
Hi,
I'm trying to add a storage domain with NFS, but it fails. Looking at the logs, I see the errors but nothing that can help me understand the root cause for the failure. Engine and vdsm logs attached.
Thanks, Elad
_______________________________________________ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users
_______________________________________________ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users
participants (3)
-
Elad Tabak
-
Haim Ateya
-
Jakub Libosvar