Skip to content

Commit

Permalink
Merge pull request #1831 from oalbrigt/Filesystem-remove-mountpoint-d…
Browse files Browse the repository at this point in the history
…oesnt-exist-warning

Filesystem/CTDB: validate-all improvements
  • Loading branch information
oalbrigt authored Jan 9, 2023
2 parents db75db5 + 8a7f40b commit 50b6cd7
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 5 deletions.
2 changes: 1 addition & 1 deletion heartbeat/CTDB.in
Original file line number Diff line number Diff line change
Expand Up @@ -940,7 +940,7 @@ ctdb_validate() {
fi

if [ -f "${OCF_RESKEY_ctdb_config_dir}/public_addresses" ]; then
ocf_log warn "CTDB file '${OCF_RESKEY_ctdb_config_dir}/public_addresses' exists - CTDB will try to manage IP failover!"
ocf_log info "CTDB file '${OCF_RESKEY_ctdb_config_dir}/public_addresses' exists - CTDB will try to manage IP failover!"
fi

if [ ! -f "$OCF_RESKEY_ctdb_config_dir/nodes" ]; then
Expand Down
4 changes: 0 additions & 4 deletions heartbeat/Filesystem
Original file line number Diff line number Diff line change
Expand Up @@ -851,10 +851,6 @@ Filesystem_monitor()
#
Filesystem_validate_all()
{
if [ -n "$MOUNTPOINT" ] && [ ! -d "$MOUNTPOINT" ]; then
ocf_log warn "Mountpoint $MOUNTPOINT does not exist"
fi

# Check if the $FSTYPE is workable
# NOTE: Without inserting the $FSTYPE module, this step may be imprecise
# TODO: This is Linux specific crap.
Expand Down

0 comments on commit 50b6cd7

Please sign in to comment.