Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.
RHEL Engineering is moving the tracking of its product development work on RHEL 6 through RHEL 9 to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "RHEL project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs in the statuses "NEW", "ASSIGNED", and "POST" are being migrated throughout September 2023. Bugs of Red Hat partners with an assigned Engineering Partner Manager (EPM) are migrated in late September as per pre-agreed dates. Bugs against components "kernel", "kernel-rt", and "kpatch" are only migrated if still in "NEW" or "ASSIGNED". If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "RHEL project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/RHEL-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.

Bug 1079101

Summary: [nfstest] can not work
Product: Red Hat Enterprise Linux 7 Reporter: JianHong Yin <jiyin>
Component: nfstestAssignee: Steve Dickson <steved>
Status: CLOSED NOTABUG QA Contact: JianHong Yin <jiyin>
Severity: high Docs Contact:
Priority: high    
Version: 7.0CC: mora
Target Milestone: rc   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2014-03-28 13:23:29 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Attachments:
Description Flags
nfstest_test_log.txt none

Description JianHong Yin 2014-03-21 01:33:16 UTC
Created attachment 877090 [details]
nfstest_test_log.txt

Description of problem:
nfstest can not work, the detail:
https://beaker.engineering.redhat.com/jobs/616400

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

How reproducible:
always

Steps to Reproduce:
1. 
2.
3.
http://beaker-archive.app.eng.bos.redhat.com/beaker-logs/2014/03/6164/616400/1277373/20012353/TESTOUT.log

Actual results:
[01:51:21 root@ /mnt/tests/kernel/filesystems/nfs/nfstest]# su test -c "nfstest_cache --server $NFS_SERVER --client $NFS_SERVER --export=$expDir --minorversion=0  --mtpoint=$nfsmp --runtest=acregmin_attr,acregmax_attr,acdirmin_attr,acdirmax_attr,actimeo_attr,acdirmin_data,acdirmax_data --interface=$INTERFACE"
    FAIL: Traceback (most recent call last):
            File "/usr/bin/nfstest_cache", line 587, in <module>
              x.clientobj.mount()
            File "/usr/lib/python2.7/site-packages/nfstest/host.py", line 344, in mount
              self.run_cmd(cmd, sudo=True, dlevel='DBG2', msg="Mount volume: ")
            File "/usr/lib/python2.7/site-packages/nfstest/host.py", line 200, in run_cmd
              raise Exception(self.pstderr)
          Exception: Pseudo-terminal will not be allocated because stdin is not a terminal.
          Host key verification failed.
          
          
    TIME: 5.232969s

1 tests (0 passed, 1 failed)

Total time: 10.695995s
:: [   FAIL   ] :: Running 'su test -c "nfstest_cache --server $NFS_SERVER --client $NFS_SERVER --export=$expDir --minorversion=0  --mtpoint=$nfsmp --runtest=acregmin_attr,acregmax_attr,acdirmin_attr,acdirmax_attr,actimeo_attr,acdirmin_data,acdirmax_data --interface=$INTERFACE"' (Expected 0, got 1)

-------------
for more please see the attach file

Expected results:


Additional info:

Comment 2 Steve Dickson 2014-03-21 13:46:33 UTC
Jorge,

any idea what's going on? Was this fixed with
   https://bugzilla.redhat.com/show_bug.cgi?id=1059455

Comment 3 Jorge Mora 2014-03-24 15:00:48 UTC
"Host key verification failed." error is because the known_hosts is
outdated. The machine given on the ssh command has changed (reloaded)
since last used or machine is missing from known_hosts.
Either remove machine from known_hosts or add it.

Comment 4 Steve Dickson 2014-03-28 13:23:29 UTC
(In reply to Jorge Mora from comment #3)
> "Host key verification failed." error is because the known_hosts is
> outdated. The machine given on the ssh command has changed (reloaded)
> since last used or machine is missing from known_hosts.
> Either remove machine from known_hosts or add it.

Understood... known_hosts hast updated.... basically not a NFS problem...

Comment 5 JianHong Yin 2014-03-29 01:41:26 UTC
where is the ssh command? is it a nfstest problem?