[Wishlist] means within a charm to collect a list of running agents
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Canonical Juju |
Triaged
|
Low
|
Unassigned |
Bug Description
This is specific to machine charms only.
I have an application where I wish to tag machines based on the applications that run on the machine. For example, my subordinate may wish to tag a machine as "keystone" if it has the Keystone application running (cs:keystone), plus "keystone-
Currently I would look at the content of /var/lib/
It would be helpful if there's a way to query machine information from a supported Juju command rather than use this pattern which doesn't appear to be the most portable, or secure, method.
This actually sounds like it could be a feature of juju, to expose machine specifics as tags on the cloud. Is this what you mean by tagging the machines? I could imagine this also being on k8s as well (as generated annotations/ labels) .
Could we understand your use case more?