db.linklayerdevices.find({"_id": "d2bf2df5-7c81-4508-89c2-bf33ac89df16:m#16#d#enp1s0"}) does exist
db.ip.addresses.find({ "_id": "d2bf2df5-7c81-4508-89c2-bf33ac89df16:m#16#d#enp1s0#ip#10.48.132.243" }) does exist
db.providerIDs.find({"_id": "d2bf2df5-7c81-4508-89c2-bf33ac89df16:linklayerdevice:9ca7bc2f-6379-43fd-a42c-5baae8f4f654" }) does not exist.
DB data from a model reproducing, the machine is in a dying state per juju. It exists in openstack but is shutdown right now.
juju:PRIMARY> db.txns. find({' s':5, "o.c":{ $eq:"linklayerd evices" }}).sort( {'_id': -1}).limit( 1).pretty( ) "62c5d42eea1953 21ac2233d2" ), 7c81-4508- 89c2-bf33ac89df 16:16", 7c81-4508- 89c2-bf33ac89df 16:linklayerdev ice:9ca7bc2f- 6379-43fd- a42c-5baae8f4f6 54", 7c81-4508- 89c2-bf33ac89df 16:linklayerdev ice:9ca7bc2f- 6379-43fd- a42c-5baae8f4f6 54", 7c81-4508- 89c2-bf33ac89df 16" 7c81-4508- 89c2-bf33ac89df 16:m#16# d#enp1s0" , 6379-43fd- a42c-5baae8f4f6 54" 7c81-4508- 89c2-bf33ac89df 16:m#16# d#enp1s0# ip#10.48. 132.243" , network- id" : "d75416f2- 093a-4ffb- aaf6-d22f350d01 ea", subnet- id" : "0915bb73- 94b6-493d- af18-2aa9a21fc4 15"
{
"_id" : ObjectId(
"s" : 5,
"o" : [
{
"c" : "machines",
"d" : "d2bf2df5-
"a" : {
"life" : 0 <-- ERROR
}
},
{
"c" : "providerIDs",
"d" : "d2bf2df5-
"a" : "d-",
"i" : {
"_id" : "d2bf2df5-
"model-uuid" : "d2bf2df5-
}
},
{
"c" : "linklayerdevices",
"d" : "d2bf2df5-
"a" : "d+",
"u" : {
"$set" : {
"providerid" : "9ca7bc2f-
}
}
},
{
"c" : "ip.addresses",
"d" : "d2bf2df5-
"a" : "d+",
"u" : {
"$set" : {
"provider-
"provider-
}
}
}
],
"n" : "d61deb9e"
}
juju:PRIMARY> db.machines. find({" _id": "d2bf2df5- 7c81-4508- 89c2-bf33ac89df 16:16"} ).pretty( ); 7c81-4508- 89c2-bf33ac89df 16:16", 7c81-4508- 89c2-bf33ac89df 16", 0:e8396142- 140d-45b8- 8072-5cc9305121 fe",
{
"_id" : "d2bf2df5-
"machineid" : "16",
"model-uuid" : "d2bf2df5-
"nonce" : "machine-
"series" : "focal",
"containertype" : "",
"principals" : [
"ubuntu-arm64/0"
],
"life" : 1, <-- doesn't match txn
"jobs" : [
1
],
...
db.linklayerdev ices.find( {"_id": "d2bf2df5- 7c81-4508- 89c2-bf33ac89df 16:m#16# d#enp1s0" }) does exist .find({ "_id": "d2bf2df5- 7c81-4508- 89c2-bf33ac89df 16:m#16# d#enp1s0# ip#10.48. 132.243" }) does exist find({" _id": "d2bf2df5- 7c81-4508- 89c2-bf33ac89df 16:linklayerdev ice:9ca7bc2f- 6379-43fd- a42c-5baae8f4f6 54" }) does not exist.
db.ip.addresses
db.providerIDs.