provider ID is assigned to another device
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Canonical Juju |
Triaged
|
High
|
Joseph Phillips |
Bug Description
While debugging https:/
I came across this in the debug logs:
machine-0: 19:14:16 INFO juju.apiserver.
machine-0: 19:14:16 WARNING juju.apiserver.
machine-0: 19:14:16 INFO juju.apiserver.
machine-0: 19:14:16 WARNING juju.apiserver.
machine-0: 19:14:16 INFO juju.apiserver.
machine-0: 19:14:16 WARNING juju.apiserver.
machine-0: 19:14:16 INFO juju.apiserver.
machine-0: 19:14:16 WARNING juju.apiserver.
machine-0: 19:14:16 INFO juju.apiserver.
machine-0: 19:14:16 WARNING juju.apiserver.
machine-0: 19:14:16 INFO juju.apiserver.
machine-0: 19:14:16 WARNING juju.apiserver.
I don't know if this is related to: https:/
But it doesn't feel like something we should be seeing in the logs. Something is violating our expectations. (Either it is ok, and we shouldn't be warning, or it isn't and we need to be fixing something).
The logs and crashdump are available on the original bug.
If we find a simple way forward, or this takes too long to investigate, we can deprioritize this bug.
Is this recurrent?
The instance-poller merge logic does allow removal of a provider ID from an existing device, so the (unlikely) scenario in which one was on one and is not on another, we would expect eventual consistency.
If the provider ID is actually orphaned, I don't think the resolution is automatic. We did see this back in the 2.8 series, and we wrote an upgrade step for it: /github. com/juju/ juju/pull/ 12132
https:/
So it seems there is a code path where we can get into this trouble still.