-
Notifications
You must be signed in to change notification settings - Fork 29
Open
Labels
bugSomething isn't working as expectedSomething isn't working as expectedgood first issueGood for newcomersGood for newcomers
Description
Steps to reproduce
Juju deploy postgresql-k8s --trust # rev 495 from 14/stable
# wait for deployment, it will be successful
juju remove-application postgresql-k8s --force --no-prompt --no-wait
# wait for removal
juju secrets # all Juju Secrets have been removed, OK
ID Name Owner Rotation Revision Last updated
kubectl get services -n test21047 # a lot of services left, which will block the next deployment
NAME TYPE CLUSTER-IP EXTERNAL-IP PORT(S) AGE
modeloperator ClusterIP 10.152.183.222 <none> 17071/TCP 45m
patroni-postgresql-k8s-config ClusterIP None <none> <none> 4m44s
postgresql-k8s ClusterIP 10.152.183.68 <none> 5432/TCP,8008/TCP 5m12s
postgresql-k8s-endpoints ClusterIP None <none> <none> 5m12s
postgresql-k8s-primary ClusterIP 10.152.183.44 <none> 8008/TCP,5432/TCP 4m47s
postgresql-k8s-replicas ClusterIP 10.152.183.30 <none> 8008/TCP,5432/TCP 4m47s
Juju deploy postgresql-k8s --trust # this will stuck
Expected behaviour
The re-deployment should overwrite K8s services and deploy succesfully.
Otherwise block/error charm with message to clean K8s Services garbage.
Actual behaviour
the second Juju deploy postgresql-k8s --trust will stuck if K8s services garbage exist.
Versions
Operating system: 24.04.3 LTS
Juju CLI: 3.6.12
Juju agent: 3.6.12 33252 3/stable canonical✓ -
Charm revision: rev 495 from 14/stable
Canonical K8s: v1.32.10 4531 1.32-classic/edge canonical✓ classic
Log output
No relative logs detected.
Metadata
Metadata
Assignees
Labels
bugSomething isn't working as expectedSomething isn't working as expectedgood first issueGood for newcomersGood for newcomers