• Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Undefined Undefined
    • rhel-10.0.beta
    • rhel-10.0.beta
    • fence-agents
    • None
    • fence-agents-4.13.1-7.el10
    • sst_high_availability
    • ssg_filesystems_storage_and_HA
    • 3
    • False
    • Hide

      None

      Show
      None

      What were you trying to do that didn't work?

      Running instance attributes validation reports a syntax warning in the code of the fence agent. If configuring fence_scsi via pcs, this report is then presented to the user. The warning is also printed when providing metadata. This doesn't affect pcs, though, as the warning goes to stderr.  Other functions of the agent may be affected as well, I haven't check that.

      Please provide the package NVR for which bug is seen:

      fence-agents-scsi-4.13.1-1

      How reproducible:

      always, easily

      Steps to reproduce

       

      stonith_admin --validate --output-as xml --agent fence_scsi

       

      Expected results

      The agent reports only issues related to the passed instance attributes

      Actual results

      <pacemaker-result api-version="2.32" request="stonith_admin --validate --output-as xml --agent fence_scsi">
        <validate agent="fence_scsi" valid="true">
          <command code="0">
            <output source="stderr">/usr/sbin/fence_scsi:298: SyntaxWarning: invalid escape sequence '\s'
        if not re.search(r"^" + dev + "\s+", out, flags=re.MULTILINE):
      /usr/sbin/fence_scsi:616: SyntaxWarning: invalid escape sequence '\s'
        if not ("--devices" in options and [d for d in re.split("\s*,\s*|\s+", options["--devices"].strip()) if d]):
      /usr/sbin/fence_scsi:619: SyntaxWarning: invalid escape sequence '\s'
        options["devices"] = [d for d in re.split("\s*,\s*|\s+", options["--devices"].strip()) if d]
      </output>
          </command>
        </validate>
        <status code="0" message="OK"/>
      </pacemaker-result>
      

       

            rhn-engineering-oalbrigt Oyvind Albrigtsen
            tojeline@redhat.com Tomas Jelinek
            Oyvind Albrigtsen Oyvind Albrigtsen
            Cluster QE Cluster QE
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated: