If you connect to Mongo...
unitstates - ID has the model UUID and unit ID, for example:
db.unitstates.find({"_id" : "bdd12a44-2fdb-4596-87e5-a2fe851f36de:u#ubuntu/0#charm"}).pretty()
actionnotifications is similar, but the suffix is _a_<task ID>:
db.actionnotifications.find({"_id" : "bdd12a44-2fdb-4596-87e5-a2fe851f36de:mongodb/0_a_4"}).pretty()
operations is just with the operation ID:
db.operations.find({"_id" : "bdd12a44-2fdb-4596-87e5-a2fe851f36de:3"}).pretty()
Task and operation ID are returned when you run an action:
Running operation 7 with 1 task - task 8 on unit-mongodb-0
If you connect to Mongo...
unitstates - ID has the model UUID and unit ID, for example:
db.unitstates. find({" _id" : "bdd12a44- 2fdb-4596- 87e5-a2fe851f36 de:u#ubuntu/ 0#charm" }).pretty( )
actionnotifications is similar, but the suffix is _a_<task ID>:
db.actionnotifi cations. find({" _id" : "bdd12a44- 2fdb-4596- 87e5-a2fe851f36 de:mongodb/ 0_a_4"} ).pretty( )
operations is just with the operation ID:
db.operations. find({" _id" : "bdd12a44- 2fdb-4596- 87e5-a2fe851f36 de:3"}) .pretty( )
Task and operation ID are returned when you run an action:
Running operation 7 with 1 task
- task 8 on unit-mongodb-0