Juju lint-false positives for nagios

Bug #1855857 reported by Michał Ajduk
22
This bug affects 3 people
Affects Status Importance Assigned to Milestone
Juju Lint
Fix Released
Critical
Arif Ali

Bug Description

Juju-lint reports a false positive issue for nagios.

2019-12-10 09:00:21 [INFO] The following subordinates couldn't be found:
2019-12-10 09:00:21 [ERROR] -> nrpe [nagios]

This means that nagios unit does not have it's subordinate nrpe. Please not that nagios charm does not expose relation of type nrpe-external-master which is for subordinates:

ubuntu@maas001-rack001:~/$ juju add-relation "nagios:nrpe-external-master" "nrpe-container:nrpe-external-master"
ERROR application "nagios" has no "nrpe-external-master" relation

The relation nagios - general-info does not allow setting this.

Hence nagios charm is not ready to have subordinate nrpe checks and this should be excluded from juju-lint checks.

Related branches

Revision history for this message
Arif Ali (arif-ali) wrote :

We have a customer who is running the juju-lint as part of verification, and ideally would not like to see this error. So, if we could resolve this, then that would be appreciated

Revision history for this message
Arif Ali (arif-ali) wrote :

any thoughts on this please?

Changed in juju-lint:
status: New → Incomplete
status: Incomplete → In Progress
assignee: nobody → Arif Ali (arif-ali)
Revision history for this message
James Hebden (ec0) wrote :

Please see comments in the MR.

Changed in juju-lint:
importance: Undecided → Critical
Revision history for this message
James Hebden (ec0) wrote :

MR has been approved. I think it would also make sense to test this on a real cloud, and update the canonical reference rules in the repository before closing out this bug.

Jose Guedez (jfguedez)
Changed in juju-lint:
status: In Progress → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.