[Pacemaker] Filesystem will not mount (mounts fine when mannualy mounted)
Andrew Beekhof
andrew at beekhof.net
Fri Aug 10 20:00:56 UTC 2012
The pengine logs aren't going to help you, its just saying "something
failed and this is what we're going to do about it".
You need the original error from your resource to know why it failed.
On Wed, Aug 8, 2012 at 4:54 PM, Patrick de Ruiter
<p.a.p.de.ruiter at gmail.com> wrote:
> I currently have a problem with mounting a filesystem, it fails and
> somehow I cannot seem to figure out why.
> Could someone have a look to point me in the right direction
>
> Below is first my cluster configuration and afer that a piece of
> logfile with the error.
>
> Thanks,
> Patrick
>
> <snip--------------------------------------------------------------------------->
> [root at cb92002s log]# crm configure show
> node cb92001s
> node cb92002s
> primitive ClusterIP ocf:heartbeat:IPaddr2 \
> params ip="10.76.130.46" cidr_netmask="32" \
> op monitor interval="30s"
> primitive mount-data ocf:heartbeat:Filesystem \
> params device="/dev/mapper/mpath0" directory="/data/pgsql"
> fstype="ext3" options="noatime"
> primitive postgresql ocf:heartbeat:pgsql \
> op monitor interval="10" timeout="10" depth="0"
> group postgres ClusterIP mount-data postgresql
> location prefer-cb92001s postgresql 50: cb92001s
> colocation node-with-ip inf: postgresql ClusterIP mount-data
> order postgres-after-mount inf: ClusterIP mount-data postgresql
> property $id="cib-bootstrap-options" \
> dc-version="1.0.12-unknown" \
> cluster-infrastructure="openais" \
> expected-quorum-votes="2" \
> dtonith-enabled="false" \
> stonith-enabled="false" \
> no-quorum-policy="ignore"
> <snap-------------------------------------------------------------------------------->
> Aug 8 08:18:36 cb92002s pengine: [1256]: notice: unpack_config: On
> loss of CCM Quorum: Ignore
> Aug 8 08:18:36 cb92002s pengine: [1256]: info: unpack_config: Node
> scores: 'red' = -INFINITY, 'yellow' = 0, 'green' = 0
> Aug 8 08:18:36 cb92002s pengine: [1256]: info:
> determine_online_status: Node cb92002s is online
> Aug 8 08:18:36 cb92002s pengine: [1256]: info:
> determine_online_status: Node cb92001s is online
> Aug 8 08:18:36 cb92002s pengine: [1256]: notice: unpack_rsc_op: Hard
> error - mount-data_start_0 failed with rc=5: Preventing mount-data
> from re-starting on cb92002s
> Aug 8 08:18:36 cb92002s pengine: [1256]: WARN: unpack_rsc_op:
> Processing failed op mount-data_start_0 on cb92002s: not installed (5)
> Aug 8 08:18:36 cb92002s pengine: [1256]: notice: unpack_rsc_op: Hard
> error - mount-data_start_0 failed with rc=5: Preventing mount-data
> from re-starting on cb92001s
> Aug 8 08:18:36 cb92002s pengine: [1256]: WARN: unpack_rsc_op:
> Processing failed op mount-data_start_0 on cb92001s: not installed (5)
> Aug 8 08:18:36 cb92002s pengine: [1256]: notice: group_print:
> Resource Group: postgres
> Aug 8 08:18:36 cb92002s pengine: [1256]: notice: native_print:
> ClusterIP (ocf::heartbeat:IPaddr2): Stopped
> Aug 8 08:18:36 cb92002s pengine: [1256]: notice: native_print:
> mount-data (ocf::heartbeat:Filesystem): Stopped
> Aug 8 08:18:36 cb92002s pengine: [1256]: notice: native_print:
> postgresql (ocf::heartbeat:pgsql): Stopped
> Aug 8 08:18:36 cb92002s pengine: [1256]: info: get_failcount:
> mount-data has failed INFINITY times on cb92002s
> Aug 8 08:18:36 cb92002s pengine: [1256]: WARN:
> common_apply_stickiness: Forcing mount-data away from cb92002s after
> 1000000 failures (max=1000000)
> Aug 8 08:18:36 cb92002s pengine: [1256]: info: get_failcount:
> mount-data has failed INFINITY times on cb92001s
> Aug 8 08:18:36 cb92002s pengine: [1256]: WARN:
> common_apply_stickiness: Forcing mount-data away from cb92001s after
> 1000000 failures (max=1000000)
> Aug 8 08:18:36 cb92002s pengine: [1256]: info: rsc_merge_weights:
> mount-data: Rolling back scores from postgresql
> Aug 8 08:18:36 cb92002s pengine: [1256]: info: native_color: Resource
> mount-data cannot run anywhere
> Aug 8 08:18:36 cb92002s pengine: [1256]: info: rsc_merge_weights:
> postgresql: Rolling back scores from ClusterIP
> Aug 8 08:18:36 cb92002s pengine: [1256]: info: native_color: Resource
> postgresql cannot run anywhere
> Aug 8 08:18:36 cb92002s pengine: [1256]: info: rsc_merge_weights:
> ClusterIP: Rolling back scores from mount-data
> Aug 8 08:18:36 cb92002s pengine: [1256]: info: rsc_merge_weights:
> ClusterIP: Rolling back scores from mount-data
> Aug 8 08:18:36 cb92002s pengine: [1256]: info: native_color: Resource
> ClusterIP cannot run anywhere
> Aug 8 08:18:36 cb92002s pengine: [1256]: notice: LogActions: Leave
> resource ClusterIP (Stopped)
> Aug 8 08:18:36 cb92002s pengine: [1256]: notice: LogActions: Leave
> resource mount-data (Stopped)
> Aug 8 08:18:36 cb92002s pengine: [1256]: notice: LogActions: Leave
> resource postgresql (Stopped
>
> _______________________________________________
> Pacemaker mailing list: Pacemaker at oss.clusterlabs.org
> http://oss.clusterlabs.org/mailman/listinfo/pacemaker
>
> Project Home: http://www.clusterlabs.org
> Getting started: http://www.clusterlabs.org/doc/Cluster_from_Scratch.pdf
> Bugs: http://bugs.clusterlabs.org
More information about the Pacemaker
mailing list