Make juju-lint aware of unnecessary NRPE checks for LXDs
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Juju Lint |
Won't Fix
|
Medium
|
Unassigned |
Bug Description
The nrpe charm purposely refrains from deploy some of its checks to containers. Examples of suck checks are netlinks and lacp_bonds. Currently, juju-lint is reporting:
2023-03-14 11:53:30 [ERROR] [openstack-
2023-03-14 11:53:30 [ERROR] [openstack-
but that particular nrpe application is related to applications deployed to LXDs, hence the values of these config properties are irrelevant.
Juju-lint shouldn't ERROR on this in order to prevent the user from wasting time checking the app is indeed deployed to a LXD.
tags: | added: bseng-1510 |
Changed in juju-lint: | |
status: | New → Triaged |
importance: | Undecided → Medium |
Yeah, so juju-lint supports this by means of the suffixes property. Changing the name of the nrpe app which will be deployed to LXDs only to nrpe-lxd or nrpe-container silences these ERRORS.