The nfsserver resource fails to start because a required systemd service nfs-idmapd.service fails to start.

Solution In Progress - Updated -

Issue

  • The nfsserver resource fails to start because a required systemd service nfs-idmapd.service fails to start. When the resource is started with debug-start the output shows that nfs-idmapd.service fails to start.
# pcs resource debug-start nfs-server-rsc --full
   warning: unpack_rsc_op_failure:      Processing failed start of nfs-server-rsc on xxxnl301: unknown error | rc=1
   warning: unpack_rsc_op_failure:      Processing failed start of nfs-server-rsc on xxxnl302: unknown error | rc=1
   warning: action_synced_wait: nfs-server-rsc_start_0:27779 - timed out after 40000ms
  Operation start for nfs-server-rsc (ocf:heartbeat:nfsserver) failed: 'Timed Out' (2)
   >  stdout: STATDARG="--no-notify"
[....]
 >  stderr: ++ 06:27:33: 1054: ocf_is_true ''
   [....]
   >  stderr: + 06:27:35: nfs_exec:276: case $EXEC_MODE in
   >  stderr: + 06:27:35: nfs_exec:279: svc=nfs-idmapd.service
   >  stderr: + 06:27:35: nfs_exec:281: systemctl start nfs-idmapd.service
   >  stderr: Job for nfs-idmapd.service failed because the control process exited with error code. See "systemctl status nfs-idmapd.service" and "journalctl -xe" for details.
   [....]
   >  stderr: + 06:27:36: nfs_exec:279: svc=nfs-idmapd.service
   >  stderr: + 06:27:36: nfs_exec:281: systemctl status nfs-idmapd.service
   >  stderr: + 06:27:36: nfsserver_start:688: rc=3
   >  stderr: ++ 06:27:36: nfsserver_start:689: cat /tmp/tmp.FYmsM0OpSV
   >  stderr: + 06:27:36: nfsserver_start:689: ocf_log debug '* nfs-idmapd.service - NFSv4 ID-name mapping service
   >  stderr:    Loaded: loaded (/usr/lib/systemd/system/nfs-idmapd.service; static; vendor preset: disabled)
   >  stderr:    Active: failed (Result: exit-code) since Tue 2018-12-04 06:27:35 EST; 197ms ago
   >  stderr:   Process: 28541 ExecStart=/usr/sbin/rpc.idmapd $RPCIDMAPDARGS (code=exited, status=1/FAILURE)
   >  stderr:
   >  stderr: Dec 04 06:27:35 xxxnl302 systemd[1]: Starting NFSv4 ID-name mapping service...
   >  stderr: Dec 04 06:27:35 xxxnl302 systemd[1]: nfs-idmapd.service: control process exited, code=exited status=1
   >  stderr: Dec 04 06:27:35 xxxnl302 systemd[1]: Failed to start NFSv4 ID-name mapping service.
   >  stderr: Dec 04 06:27:35 xxxnl302 systemd[1]: Unit nfs-idmapd.service entered failed state.
   >  stderr: Dec 04 06:27:35 xxxnl302 systemd[1]: nfs-idmapd.service failed.'
   >  stderr: + 06:27:36: ocf_log:323: '[' 2 -lt 2 ']'
   >  stderr: + 06:27:36: ocf_log:327: __OCF_PRIO=debug
   >  stderr: + 06:27:36: ocf_log:328: shift
   >  stderr: + 06:27:36: ocf_log:329: __OCF_MSG='* nfs-idmapd.service - NFSv4 ID-name mapping service
   >  stderr:    Loaded: loaded (/usr/lib/systemd/system/nfs-idmapd.service; static; vendor preset: disabled)
   >  stderr:    Active: failed (Result: exit-code) since Tue 2018-12-04 06:27:35 EST; 197ms ago
   >  stderr:   Process: 28541 ExecStart=/usr/sbin/rpc.idmapd $RPCIDMAPDARGS (code=exited, status=1/FAILURE)
   >  stderr:
   [....]

Environment

  • Red Hat Enterprise Linux Server 7 (with the High Availability Add On)
  • pacemaker

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content