When we provide invalid GlusterFS share format in GlusterFS shares
configuration file (glusterfs_shares_config), it will log a
Warning message in the volume log file, which not easily discover
able while debugging.
So, this patch changing Invalid GlusterFS share Warning message to
Error message.
Change-Id: I24d47dafc56490d40bd81256135f4b13fce5614a
share_opts = share_info[1].strip() if len(share_info) > 1 else None
if not re.match(self.SHARE_FORMAT_REGEX, share_address):
- LOG.warn(_LW("Share %s ignored due to invalid format. Must be "
- "of form address:/export.") % share_address)
+ LOG.error(_LE("Share %s ignored due to invalid format. Must "
+ "be of form address:/export.") % share_address)
continue
self.shares[share_address] = share_opts