ocf_log function improperly called in mysql-wss ocf resource
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Fuel for OpenStack |
In Progress
|
Medium
|
Gabor Orosz | ||
Mitaka |
Confirmed
|
Medium
|
Oleksiy Molchanov | ||
Newton |
Confirmed
|
Medium
|
Oleksiy Molchanov |
Bug Description
Identified on Fuel 9.2, probably affects older releases.
Priority: Low - corosync logs are being spammed by warnings regarding improperly called function.
Root cause: /usr/lib/
nodes_in_
local LH="${LL} nodes_in_
local NODES
NODES=
if [ ! -z "$NODES" ]; then
ocf_log "${LH} Online Nodes in cluster: ${NODES}" # <= One parameter only, should be two
echo $NODES
else
ocf_log "${LH} No online nodes in cluster" # <= One parameter only, should be two
echo
fi
}
Later in same file are also proper calls, e.g.:
if [ -z $1 ]; then
ocf_log $status_loglevel "${LH} No GTID provided"
return 1
fi
Changed in fuel: | |
milestone: | none → 11.x-updates |
importance: | Undecided → Medium |
Changed in fuel: | |
assignee: | Oleksiy Molchanov (omolchanov) → Gabor Orosz (gabor.orosz) |
Fix proposed to branch: master /review. openstack. org/457520
Review: https:/