There is no confirmation that machine will be deleted when delete unit

Bug #2060940 reported by Maksim Beliaev
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Canonical Juju
Triaged
Medium
Jack Shaw

Bug Description

When user deletes application unit that is deployed on manually added machine, then the machine is also deleted.

However, in CLI we do not see it in the confirmation:

maksim@darmbeliaev:~$ juju status
Model Controller Cloud/Region Version SLA Timestamp
new-kubernetes local-controller localhost/localhost 3.4.2 unsupported 16:54:28+02:00

App Version Status Scale Charm Channel Rev Exposed Message
k8s waiting 1 k8s latest/edge 27 no Waiting to bootstrap k8s snap
k8s-worker waiting 2 k8s-worker latest/edge 28 no Waiting for Cluster token

Unit Workload Agent Machine Public address Ports Message
k8s-worker/0* waiting idle 0 10.112.13.32 Waiting for Cluster token
k8s-worker/3 waiting idle 4 10.112.13.208 Waiting for Cluster token
k8s/0* waiting idle 1 10.112.13.68 Waiting to bootstrap k8s snap

Machine State Address Inst id Base AZ Message
0 started 10.112.13.32 manual:10.112.13.32 ubuntu@22.04 Manually provisioned machine
1 started 10.112.13.68 manual:10.112.13.68 ubuntu@22.04 Manually provisioned machine
4 started 10.112.13.208 manual:10.112.13.208 ubuntu@22.04 Manually provisioned machine
maksim@darmbeliaev:~$ juju remove-unit k8s-worker/3
WARNING This command will perform the following actions:
will remove unit k8s-worker/3

Continue [y/N]? y
maksim@darmbeliaev:~$ juju status
Model Controller Cloud/Region Version SLA Timestamp
new-kubernetes local-controller localhost/localhost 3.4.2 unsupported 16:54:51+02:00

App Version Status Scale Charm Channel Rev Exposed Message
k8s waiting 1 k8s latest/edge 27 no Waiting to bootstrap k8s snap
k8s-worker waiting 1 k8s-worker latest/edge 28 no Waiting for Cluster token

Unit Workload Agent Machine Public address Ports Message
k8s-worker/0* waiting idle 0 10.112.13.32 Waiting for Cluster token
k8s/0* waiting idle 1 10.112.13.68 Waiting to bootstrap k8s snap

Machine State Address Inst id Base AZ Message
0 started 10.112.13.32 manual:10.112.13.32 ubuntu@22.04 Manually provisioned machine
1 started 10.112.13.68 manual:10.112.13.68 ubuntu@22.04 Manually provisioned machine

Revision history for this message
Maksim Beliaev (beliaev-maksim) wrote :
Jack Shaw (jack-shaw)
Changed in juju:
assignee: nobody → Jack Shaw (jack-shaw)
Changed in juju:
milestone: none → 3.3.6
importance: Undecided → Medium
Changed in juju:
status: New → Triaged
Changed in juju:
milestone: 3.3.6 → 3.4.4
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.