[Bugs] [Bug 1350238] New: Vagrant environment for tests should configure DNS for VMs

bugzilla at redhat.com bugzilla at redhat.com
Sun Jun 26 16:41:17 UTC 2016


https://bugzilla.redhat.com/show_bug.cgi?id=1350238

            Bug ID: 1350238
           Summary: Vagrant environment for tests should configure DNS for
                    VMs
           Product: GlusterFS
           Version: mainline
         Component: tests
          Keywords: Triaged
          Severity: medium
          Priority: medium
          Assignee: bugs at gluster.org
          Reporter: ndevos at redhat.com
                CC: bugs at gluster.org, rtalur at redhat.com



Description of problem:
The network authentication checks in the tests/basic/mount-nfs-auth.t test
depend on resolvable hostnames. When the test runs, the configuration is
updated to allow/deny connections from $H0 (hostname --fqdn).

In the case of running the tests in Vagrant with the ./run-tests-in-vagrant.sh
script, the VMs do not get a resolvable IP address. The problem arises when the
NFS-client connects to the Gluster/NFS server, and the server resolves the
hostname of the client based on the IP-address. If the IP-address does not
resolve to the configured $H0 hostname, access is denied and the testcase
fails.

Version-Release number of selected component (if applicable):
mainline and 3.8

How reproducible:
100%

Steps to Reproduce:
1. run ./run-tests-in-vagrant.sh
2. see mount-nfs-auth.t fail

Actual results:
mount-nfs-auth.t fails

Expected results:
mount-nfs-auth.t should pass

Additional info:
Bug 1350237 has been filed for a related problem that has been found while
running the ./run-tests-in-vagrant.sh script.

-- 
You are receiving this mail because:
You are on the CC list for the bug.
You are the assignee for the bug.


More information about the Bugs mailing list