esunar / test4

GNU General Public License v3.0
0 stars 0 forks source link

[wishlist] check for controller monitoring charms #205

Open esunar opened 1 year ago

esunar commented 1 year ago

Recent clouds have been deployed with a small monitoring stack for the controller units. It would be good to add a check for the presence of these cross model relations. Although the presence of some of those charms could be detected from the status of the openstack model, if we want a more thorough check we would have to run that against the status of the controller model.

For reference: https://pastebin.ubuntu.com/p/PwYggfjztc/


Imported from Launchpad using lp2gh.

esunar commented 1 year ago

(by ec0) This should now be possible, as the bundle checking logic will happily process all models (including the controller) model on a cloud. I'd be happy to see an MR for specific rules that took advantage of this, but also think that the broader applicability of this pattern needs to be examined, especially with some related items for representing the Juju controller as an application being on the Juju roadmap, this specific implementation may need to change to accommodate.

Regardless, thanks for the MR, and if you come up with some rules which are applicable, would be happy to review.