Dear Users / Developers,
I'm having trouble including the service nfs-server into pacemaker.
System ist CentOS7 with systemd. I can start the serivce nfs-server manually
and it returns exit code 0 but it takes some time:
[root@centos7-n1 ~]# time systemctl start nfs-server
real 1m0.480s
user 0m0.008s
sys 0m0.006s
[root@centos7-n1 ~]# echo $?
0
[root@centos7-n1 ~]#
However, i can not start it with pacemaker.
Any help is greatly appreciated.
Current config is:
primitive p_nfsserver systemd:nfs-server \
params \
op start interval=0 timeout=80s \
op monitor interval=60 start-delay=10
Please find the relevant log snippets attached as well.
Thank you.
Stefan
Aug 11 09:50:51 centos7-n1 crmd[2030]: notice: te_rsc_command: Initiating
action 7: start p_nfsserver_start_0 on centos7-n1 (local)
Aug 11 09:50:51 centos7-n1 systemd: Mounting RPC Pipe File System...
Aug 11 09:50:51 centos7-n1 systemd: Started Kernel Module supporting RPCSEC_GSS.
Aug 11 09:50:51 centos7-n1 systemd: Starting GSSAPI Proxy Daemon...
Aug 11 09:50:51 centos7-n1 systemd: Starting Host and Network Name Lookups.
Aug 11 09:50:51 centos7-n1 systemd: Reached target Host and Network Name
Lookups.
Aug 11 09:50:51 centos7-n1 systemd: Starting Preprocess NFS configuration...
Aug 11 09:50:51 centos7-n1 systemd: Starting RPC Port Mapper.
Aug 11 09:50:51 centos7-n1 systemd: Reached target RPC Port Mapper.
Aug 11 09:50:51 centos7-n1 systemd: Mounting NFSD configuration filesystem...
Aug 11 09:50:51 centos7-n1 systemd: Started Preprocess NFS configuration.
Aug 11 09:50:51 centos7-n1 systemd: Starting NFS status monitor for NFSv2/3
locking....
Aug 11 09:50:51 centos7-n1 systemd: Starting NFSv4 ID-name mapping service...
Aug 11 09:50:52 centos7-n1 rpc.statd[2542]: Version 1.3.0 starting
Aug 11 09:50:52 centos7-n1 rpc.statd[2542]: Flags: TI-RPC
Aug 11 09:50:52 centos7-n1 systemd: Starting RPC bind service...
Aug 11 09:50:52 centos7-n1 kernel: RPC: Registered named UNIX socket transport
module.
Aug 11 09:50:52 centos7-n1 kernel: RPC: Registered udp transport module.
Aug 11 09:50:52 centos7-n1 kernel: RPC: Registered tcp transport module.
Aug 11 09:50:52 centos7-n1 kernel: RPC: Registered tcp NFSv4.1 backchannel
transport module.
Aug 11 09:50:52 centos7-n1 systemd: Mounted RPC Pipe File System.
Aug 11 09:50:52 centos7-n1 systemd: Started NFSv4 ID-name mapping service.
Aug 11 09:50:52 centos7-n1 systemd: Started RPC bind service.
Aug 11 09:50:52 centos7-n1 kernel: Installing knfsd (copyright (C) 1996
o...@monad.swb.de).
Aug 11 09:50:52 centos7-n1 systemd: Mounted NFSD configuration filesystem.
Aug 11 09:50:52 centos7-n1 systemd: Starting NFS Mount Daemon...
Aug 11 09:50:52 centos7-n1 systemd: Started GSSAPI Proxy Daemon.
Aug 11 09:50:52 centos7-n1 systemd: Started RPC security service for NFS client
and server.
Aug 11 09:50:52 centos7-n1 systemd: Started RPC security service for NFS server.
Aug 11 09:50:52 centos7-n1 systemd: Started NFS Mount Daemon.
Aug 11 09:50:52 centos7-n1 rpc.mountd[2558]: Version 1.3.0 starting
Aug 11 09:50:53 centos7-n1 crmd[2030]: notice: process_lrm_event: Operation
p_nfsserver_start_0: not running (node=centos7-n1, call=34, rc=7,
cib-update=43, confirmed=true)
Aug 11 09:50:53 centos7-n1 crmd[2030]: warning: status_from_rc: Action 7
(p_nfsserver_start_0) on centos7-n1 failed (target: 0 vs. rc: 7): Error
Aug 11 09:50:53 centos7-n1 crmd[2030]: warning: update_failcount: Updating
failcount for p_nfsserver on centos7-n1 after failed start: rc=7
(update=INFINITY, time=1439301053)
Aug 11 09:50:53 centos7-n1 crmd[2030]: notice: abort_transition_graph:
Transition aborted by p_nfsserver_start_0 'modify' on centos7-n1: Event failed
(magic=0:7;7:2:0:7f1974d2-2480-4f76-96d6-e34f03ee5524, cib=0.52.17,
source=match_graph_event:350, 0)
Aug 11 09:50:53 centos7-n1 crmd[2030]: warning: update_failcount: Updating
failcount for p_nfsserver on centos7-n1 after failed start: rc=7
(update=INFINITY, time=1439301053)
Aug 11 09:50:53 centos7-n1 crmd[2030]: warning: status_from_rc: Action 7
(p_nfsserver_start_0) on centos7-n1 failed (target: 0 vs. rc: 7): Error
Aug 11 09:50:53 centos7-n1 crmd[2030]: warning: update_failcount: Updating
failcount for p_nfsserver on centos7-n1 after failed start: rc=7
(update=INFINITY, time=1439301053)
Aug 11 09:50:53 centos7-n1 crmd[2030]: warning: update_failcount: Updating
failcount for p_nfsserver on centos7-n1 after failed start: rc=7
(update=INFINITY, time=1439301053)
Aug 11 09:50:53 centos7-n1 crmd[2030]: notice: run_graph: Transition 2
(Complete=6, Pending=0, Fired=0, Skipped=6, Incomplete=1,
Source=/var/lib/pacemaker/pengine/pe-input-187.bz2): Stopped
Aug 11 09:50:53 centos7-n1 pengine[2029]: notice: unpack_config: On loss of CCM
Quorum: Ignore
Aug 11 09:50:53 centos7-n1 pengine[2029]: warning: unpack_rsc_op_failure:
Processing failed op start for p_nfsserver on centos7-n1: not running (7)
Aug 11 09:50:53 centos7-n1 pengine[2029]: warning: unpack_rsc_op_failure:
Processing failed op start for p_nfsserver on centos7-n1: not running (7)
Aug 11 09:50:53 centos7-n1 pengine[2029]: notice: LogActions: Recover
p_nfsserver (Started centos7-n1)
Aug 11 09:50:53 centos7-n1 pengine[2029]: notice: LogActions: Start
p_nfsexport (centos7-n1)
Aug 11 09:50:53 centos7-n1 pengine[2029]: notice: LogActions: Start p_ping:0
(centos7-n1)
Aug 11 09:50:53 centos7-n1 pengine[2029]: notice: process_pe_message:
Calculated Transition 3: /var/lib/pacemaker/pengine/pe-input-188.bz2
Aug 11 09:50:53 centos7-n1 crmd[2030]: notice: te_rsc_command: Initiating
action 2: stop p_nfsserver_stop_0 on centos7-n1 (local)
Aug 11 09:50:53 centos7-n1 rpc.mountd[2558]: Caught signal 15, un-registering
and exiting.
Aug 11 09:50:53 centos7-n1 systemd: Stopped Cluster Controlled nfs-server.
Aug 11 09:50:53 centos7-n1 systemd: Stopping NFSv4 ID-name mapping service...
Aug 11 09:50:53 centos7-n1 systemd: Stopping NFS Mount Daemon...
Aug 11 09:50:53 centos7-n1 systemd: Starting Notify NFS peers of a restart...
Aug 11 09:50:53 centos7-n1 systemd: Stopped NFSv4 ID-name mapping service.
Aug 11 09:50:53 centos7-n1 systemd: Stopped NFS Mount Daemon.
Aug 11 09:50:53 centos7-n1 crmd[2030]: notice: abort_transition_graph:
Transition aborted by status-1-fail-count-p_nfsserver,
fail-count-p_nfsserver=INFINITY: Transient attribute change (create
cib=0.52.18, source=te_update_diff:391,
path=/cib/status/node_state[@id='1']/transient_attributes[@id='1']/instance_attributes[@id='status-1'],
0)
Aug 11 09:50:53 centos7-n1 sm-notify[2559]: Version 1.3.0 starting
Aug 11 09:50:53 centos7-n1 systemd: Started Notify NFS peers of a restart.
Aug 11 09:50:55 centos7-n1 crmd[2030]: notice: process_lrm_event: Operation
p_nfsserver_stop_0: ok (node=centos7-n1, call=35, rc=0, cib-update=45,
confirmed=true)
Aug 11 09:50:55 centos7-n1 crmd[2030]: notice: run_graph: Transition 3
(Complete=3, Pending=0, Fired=0, Skipped=10, Incomplete=1,
Source=/var/lib/pacemaker/pengine/pe-input-188.bz2): Stopped
Aug 11 09:50:55 centos7-n1 pengine[2029]: notice: unpack_config: On loss of CCM
Quorum: Ignore
Aug 11 09:50:55 centos7-n1 pengine[2029]: warning: unpack_rsc_op_failure:
Processing failed op start for p_nfsserver on centos7-n1: not running (7)
Aug 11 09:50:55 centos7-n1 pengine[2029]: warning: common_apply_stickiness:
Forcing p_nfsserver away from centos7-n1 after 1000000 failures (max=1000000)
Aug 11 09:50:55 centos7-n1 pengine[2029]: notice: LogActions: Start p_ping:0
(centos7-n1)
Aug 11 09:50:55 centos7-n1 pengine[2029]: notice: process_pe_message:
Calculated Transition 4: /var/lib/pacemaker/pengine/pe-input-189.bz2
Aug 11 09:50:55 centos7-n1 crmd[2030]: notice: te_rsc_command: Initiating
action 41: start p_ping_start_0 on centos7-n1 (local)
Aug 11 09:51:00 centos7-n1 crmd[2030]: notice: process_lrm_event: Operation
p_ping_start_0: ok (node=centos7-n1, call=36, rc=0, cib-update=47,
confirmed=true)
Aug 11 09:51:00 centos7-n1 crmd[2030]: notice: te_rsc_command: Initiating
action 42: monitor p_ping_monitor_30000 on centos7-n1 (local)
Aug 11 09:51:04 centos7-n1 crmd[2030]: notice: process_lrm_event: Operation
p_ping_monitor_30000: ok (node=centos7-n1, call=37, rc=0, cib-update=48,
confirmed=false)
Aug 11 09:51:04 centos7-n1 crmd[2030]: notice: run_graph: Transition 4
(Complete=4, Pending=0, Fired=0, Skipped=0, Incomplete=0,
Source=/var/lib/pacemaker/pengine/pe-input-189.bz2): Complete
Aug 11 09:51:04 centos7-n1 crmd[2030]: notice: do_state_transition: State
transition S_TRANSITION_ENGINE -> S_IDLE [ input=I_TE_SUCCESS
cause=C_FSA_INTERNAL origin=notify_crmd ]
Aug 11 09:51:20 centos7-n1 crmd[2030]: notice: do_state_transition: State
transition S_IDLE -> S_POLICY_ENGINE [ input=I_PE_CALC cause=C_FSA_INTERNAL
origin=abort_transition_graph ]
Aug 11 09:51:20 centos7-n1 pengine[2029]: notice: unpack_config: On loss of CCM
Quorum: Ignore
Aug 11 09:51:20 centos7-n1 pengine[2029]: warning: unpack_rsc_op_failure:
Processing failed op start for p_nfsserver on centos7-n1: not running (7)
Aug 11 09:51:20 centos7-n1 pengine[2029]: warning: common_apply_stickiness:
Forcing p_nfsserver away from centos7-n1 after 1000000 failures (max=1000000)
Aug 11 09:51:20 centos7-n1 pengine[2029]: notice: process_pe_message:
Calculated Transition 5: /var/lib/pacemaker/pengine/pe-input-190.bz2
Aug 11 09:51:20 centos7-n1 crmd[2030]: notice: run_graph: Transition 5
(Complete=0, Pending=0, Fired=0, Skipped=0, Incomplete=0,
Source=/var/lib/pacemaker/pengine/pe-input-190.bz2): Complete
Aug 11 09:51:20 centos7-n1 crmd[2030]: notice: do_state_transition: State
transition S_TRANSITION_ENGINE -> S_IDLE [ input=I_TE_SUCCESS
cause=C_FSA_INTERNAL origin=notify_crmd ]
Aug 11 09:51:52 centos7-n1 rpc.statd[2542]: failed to create RPC listeners,
exiting
_______________________________________________
Users mailing list: Users@clusterlabs.org
http://clusterlabs.org/mailman/listinfo/users
Project Home: http://www.clusterlabs.org
Getting started: http://www.clusterlabs.org/doc/Cluster_from_Scratch.pdf
Bugs: http://bugs.clusterlabs.org