Unable to remove stale units in k8s model
Bug #1991388 reported by
Tom Haddon
This bug report is a duplicate of:
Bug #1977582: Unit is stuck in unknown/lost status when scaling down.
Edit
Remove
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Canonical Juju |
Triaged
|
Medium
|
Unassigned |
Bug Description
We have a production k8s model with the following `juju status` and `kubectl get pods` output:
https:/
As you can see the indico application is scaled to 2 units. We have two active units (indico/0 and indico/1). However, there are also two stale units (indico/1 and indico/2). These were added when we scaled up at one point but we subsequently scaled back. However, as you can see there are no k8s pods for these units, and since there's no way to remove a specific unit in k8s we're unable to clear the stale units from juju status.
tags: | added: canonical-is |
To post a comment you must log in.
Right, and juju itself thinks that the scale *should* be 2 (scale 2 column), and so it isn't like you can do `juju scale indico 2` which would tell juju to remove 2 and 3.