Bugzilla will be upgraded to version 5.0 on a still to be determined date in the near future. The original upgrade date has been delayed.
Bug 1243763 - Pacemaker Systemd init doesn't wait the system to be online before starting, letting NFS resources to fail
Pacemaker Systemd init doesn't wait the system to be online before starting, ...
Status: CLOSED INSUFFICIENT_DATA
Product: Red Hat Enterprise Linux 7
Classification: Red Hat
Component: resource-agents (Show other bugs)
7.1
x86_64 Linux
unspecified Severity high
: rc
: ---
Assigned To: Oyvind Albrigtsen
cluster-qe@redhat.com
:
Depends On:
Blocks:
  Show dependency treegraph
 
Reported: 2015-07-16 05:12 EDT by Andrea Perotti
Modified: 2017-01-05 17:00 EST (History)
11 users (show)

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 2017-01-05 17:00:51 EST
Type: Bug
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)
Patch with the changes needed to allow the cluster to deal correctly with NFS mount resources (665 bytes, patch)
2015-07-16 05:12 EDT, Andrea Perotti
no flags Details | Diff
systemd service.unit patch to allow the cluster to deal correctly with NFS mount resources (549 bytes, patch)
2015-07-16 12:57 EDT, Andrea Perotti
no flags Details | Diff


External Trackers
Tracker ID Priority Status Summary Last Updated
Red Hat Bugzilla 1203820 None CLOSED First nfs mount command taking long time after every reboot. 2018-05-22 00:52 EDT
Red Hat Knowledge Base (Solution) 1533923 None None None Never

  None (edit)
Description Andrea Perotti 2015-07-16 05:12:56 EDT
Created attachment 1052613 [details]
Patch with the changes needed to allow the cluster to deal correctly with NFS mount resources

Description of problem:
With pacemaker pacemaker-1.1.12 (22.el7_1.2) the pacemaker init script doesn't wait to have a proper network connection before coming up, and this drive the failure of NFS mount resources.

This is particularly visible and disappointing when deploying OpenStack via osp-installer and choosing NFS.

Version-Release number of selected component (if applicable):
pacemaker-1.1.12-22.el7_1.2.x86_64

How reproducible:
Always

Steps to Reproduce:
1. add a NFS resource ocf::heartbeat:Filesystem 
2. reboot one or all the nodes 

Actual results:
When the cluster is up, the NFS resource will be disabled

Expected results:
The cluster wait to be online and then turn start all resources

Additional info:
Attached you can find a patch produced by Matteo Bernacchi that fix the pacemaker misbehaviour.
Comment 4 Andrea Perotti 2015-07-16 12:57:56 EDT
Created attachment 1052752 [details]
systemd service.unit patch to allow the cluster to deal correctly with NFS mount resources
Comment 6 Andrew Beekhof 2015-07-17 07:53:05 EDT
Comment on attachment 1052752 [details]
systemd service.unit patch to allow the cluster to deal correctly with NFS mount resources

Pacemaker doesn't require either of these items.
The NFS unit or agent should be dealing with this.
Comment 7 Andrew Beekhof 2015-07-17 07:55:14 EDT
See also: bug #1175005
Comment 8 Andrea Perotti 2015-07-22 13:26:27 EDT
I agree, it's a workaround for our specific problem.

I've found this
Comment 9 Andrew Beekhof 2015-08-05 19:29:42 EDT
Possibly something for the resource agent to take care of
Comment 14 Oyvind Albrigtsen 2016-01-21 04:42:27 EST
(In reply to Andrea Perotti from comment #8)
> I agree, it's a workaround for our specific problem.
> 
> I've found this

Can you confirm whether this is still an issue or not with the fixed rpcbind version in RHEL7.2 from: https://bugzilla.redhat.com/show_bug.cgi?id=1203820?

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