Hi,
I have a working iSCSI configuration with pacemaker, corosync and Ubuntu
12.04.01 LTS (Kernel 3.2.0-29-generic). The only problem right now is
the iSCSILogicalUnit script which writes every ten seconds (monitor
interval) the following warning message to syslog:
iSCSILogicalUnit[16578]: WARNING: Configuration parameter "scsi_id" is
not supported by the iSCSI implementation and will be ignored.
I've nailed it down to the point that the iSCSILogicalUnit script sets a
default scsi_id at the top:
# Use a default SCSI ID and SCSI SN that is unique across the cluster,
# and persistent in the event of resource migration.
# SCSI IDs are limited to 24 bytes, but only 16 bytes are known to be
# supported by all iSCSI implementations this RA cares about. Thus,
# for a default, use the first 16 characters of
# $OCF_RESOURCE_INSTANCE.
OCF_RESKEY_scsi_id_default="${OCF_RESOURCE_INSTANCE:0:16}"
: ${OCF_RESKEY_scsi_id=${OCF_RESKEY_scsi_id_default}}
This scsi_id is then used in the function iSCSILogicalUnit_validate()
which seems to be used on every call of the script. The scsi_id is then
used in the following part:
lio)
unsupported_params="scsi_id vendor_id product_id"
;;
esac
for var in ${unsupported_params}; do
envar=OCF_RESKEY_${var}
if [ -n "${!envar}" ]; then
ocf_log warn "Configuration parameter \"${var}\"" \
"is not supported by the iSCSI implementation" \
"and will be ignored."
fi
Is there any way to disable this warning being written to syslog every
ten seconds?
Greetings
Kai Bojens
_______________________________________________
Linux-HA mailing list
[email protected]
http://lists.linux-ha.org/mailman/listinfo/linux-ha
See also: http://linux-ha.org/ReportingProblems