Comment 5 for bug 1980764

Revision history for this message
Paul Goins (vultaire) wrote :

Confirmed that the workaround does *not* work; the nrpe subordinate won't install until after certain hooks on the principal charm have fired.

While code which imports nagios_plugin3 has existed in the charm for many years, it was always in the context of the plugin modules in the files directory, which I don't believe would get fired until run via NRPE. In other words, the plugin files depended on code in the NRPE charm, but they were only intended to be used in conjunction with that charm and not by the code in o-s-c.

Commit 9299fe70 introduced an import from the files/plugins directory, introducing the cross-dependency into the charm code proper and causing this breakage.

Long story short is, the breakage needs to be addressed in some way.