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 1127560 - sm-notify: "-v hostname" doesn't work [RHEL-7]
Summary: sm-notify: "-v hostname" doesn't work [RHEL-7]
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Red Hat Enterprise Linux 7
Classification: Red Hat
Component: nfs-utils
Version: 7.1
Hardware: All
OS: Linux
high
high
Target Milestone: rc
: ---
Assignee: Steve Dickson
QA Contact: Yongcheng Yang
URL:
Whiteboard:
Depends On: 995484 1127554
Blocks:
TreeView+ depends on / blocked
 
Reported: 2014-08-07 07:10 UTC by JianHong Yin
Modified: 2018-12-03 21:10 UTC (History)
6 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of: 1127554
Environment:
Last Closed: 2015-06-11 14:34:00 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)

Comment 1 JianHong Yin 2014-08-07 07:14:08 UTC
Test in RHEL-7 also FAIL;

https://beaker.engineering.redhat.com/jobs/714441
J:714441 	[20140807_12:31] nfs-utils M.1.1 \1/commands/utils/sm-notify.0.. -    FAIL

-----------------
same err msg:
...
MARK-LWD-LOOP -- 2014-08-07 00:53:28 --
sm-notify: Sending PMAP_GETPORT for 100024, 1, udp
sm-notify: nsm_rpc_sendto: sendto failed: Network is unreachable
sm-notify: Added host ibm-z10-29.rhts.eng.bos.redhat.com to notify list
sm-notify: Host ibm-z10-29.rhts.eng.bos.redhat.com due in 120 seconds
sm-notify: Sending PMAP_GETPORT for 100024, 1, udp
sm-notify: nsm_rpc_sendto: sendto failed: Network is unreachable
sm-notify: Added host ibm-z10-29.rhts.eng.bos.redhat.com to notify list
sm-notify: Host ibm-z10-29.rhts.eng.bos.redhat.com due in 120 seconds
sm-notify: Unable to notify ibm-z10-29.rhts.eng.bos.redhat.com, giving up
:: [   FAIL   ] :: Running 'sm-notify -v ibm-z10-69.rhts.eng.bos.redhat.com -d -f' (Expected 0, got 1)
------------------

Comment 3 Steve Dickson 2014-09-17 17:23:05 UTC
commit 37add3662de0339a75d3bed86a4235fc7efaf18d
Author: Chuck Lever <chuck.lever>
Date:   Fri Apr 19 13:13:57 2013 -0400

    sm-notify: "-v hostname" doesn't work when IPV6_SUPPORT is enabled

Comment 4 Yongcheng Yang 2015-05-07 07:11:32 UTC
Still failed with latest RHEL-7, and maybe it's a different issue of comment #3

MARK-LWD-LOOP -- 2015-05-07 02:34:06 --
sm-notify: Sending PMAP_GETPORT for 100024, 1, udp
sm-notify: nsm_rpc_sendto: sendto failed: Network is unreachable
sm-notify: Added host hp-dl380pgen8-02-vm-12.lab.bos.redhat.com to notify list
sm-notify: Host hp-dl380pgen8-02-vm-12.lab.bos.redhat.com due in 120 seconds
sm-notify: Sending PMAP_GETPORT for 100024, 1, udp
sm-notify: nsm_rpc_sendto: sendto failed: Network is unreachable
sm-notify: Added host hp-dl380pgen8-02-vm-12.lab.bos.redhat.com to notify list
sm-notify: Host hp-dl380pgen8-02-vm-12.lab.bos.redhat.com due in 120 seconds

MARK-LWD-LOOP -- 2015-05-07 02:39:05 --
sm-notify: Unable to notify hp-dl380pgen8-02-vm-12.lab.bos.redhat.com, giving up
:: [   FAIL   ] :: Running 'sm-notify -v $SERVER -d -f' (Expected 0, got 1)



Additional Info:
The test failed on both ppc64 and x86_64 machines:
https://beaker.engineering.redhat.com/jobs/949935
https://beaker.engineering.redhat.com/jobs/949936

But the same test on x86_64 with RHEL-6 can pass, on ppc64 with RHEL-6 always fail

Comment 5 Steve Dickson 2015-06-11 14:34:00 UTC
(In reply to Yongcheng Yang from comment #4)
> Still failed with latest RHEL-7, and maybe it's a different issue of comment
> #3
> 
> MARK-LWD-LOOP -- 2015-05-07 02:34:06 --
> sm-notify: Sending PMAP_GETPORT for 100024, 1, udp
> sm-notify: nsm_rpc_sendto: sendto failed: Network is unreachable
> sm-notify: Added host hp-dl380pgen8-02-vm-12.lab.bos.redhat.com to notify
> list
> sm-notify: Host hp-dl380pgen8-02-vm-12.lab.bos.redhat.com due in 120 seconds
> sm-notify: Sending PMAP_GETPORT for 100024, 1, udp
> sm-notify: nsm_rpc_sendto: sendto failed: Network is unreachable
This looks like more of a network problem than an sm-notify problem.

> sm-notify: Added host hp-dl380pgen8-02-vm-12.lab.bos.redhat.com to notify
> list
> sm-notify: Host hp-dl380pgen8-02-vm-12.lab.bos.redhat.com due in 120 seconds
Since the debug output shows the correct host, we know the -v
argument is working.
 
> 
> MARK-LWD-LOOP -- 2015-05-07 02:39:05 --
> sm-notify: Unable to notify hp-dl380pgen8-02-vm-12.lab.bos.redhat.com,
> giving up
> :: [   FAIL   ] :: Running 'sm-notify -v $SERVER -d -f' (Expected 0, got 1)
It appears the reason this is failing is not because there 
is something wrong with the -v argument, its because the host
your trying to notify is on a unreachable network.


Note You need to log in before you can comment on or make changes to this bug.