Uploaded image for project: 'ZABBIX BUGS AND ISSUES'
  1. ZABBIX BUGS AND ISSUES
  2. ZBX-26371

false Green/Success feedback of an update, while it's actually failed

XMLWordPrintable

    • Icon: Incident report Incident report
    • Resolution: Unresolved
    • Icon: Minor Minor
    • None
    • 6.0.40
    • Frontend (F)
    • None

      I had to screw up DB data consistency for another case, and when tried to reproduce that case I've spot this wrong behavior below.
      Skew up DB - a hosts uses template's ID in proxy_hostid field.

      Attempt to delete the template.
      If an update operation performs 1st step which is successful (template unlinking in my case), then report is Green, while if you expand it, you see SQL error:

      Any changes actually not made, so it falsely said it was successful. This is key point of current issue.

      If the template in not used for any host and the update operation does DELETE SQL as 1st step, then report is properly Red:

       

        1. kind-of-success.png
          54 kB
          Oleksii Zagorskyi
        2. real-failure.png
          57 kB
          Oleksii Zagorskyi

            zabbix.dev Zabbix Development Team
            zalex_ua Oleksii Zagorskyi
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated: