Skip to content

Cannnot deploy 16/stable on Juju 4.0.11 : cannot patch resource "..." in API group "" in the namespace "..." #1615

Description

@taurus-forever

Hi,

Reported by @deusebio in MM.

Steps to reproduce

# juju 4.0.11 on Canonical K8s and MicroK8s

juju deploy postgresql-k8s -n 1 --trust --channel 16/stable --force

Expected behaviour

Successful deploy

Actual behaviour

Model     Controller  Cloud/Region        Version  Timestamp
database  micro       microk8s/localhost  4.0.11   23:03:19+02:00

App             Version  Status  Scale  Charm           Channel    Rev  Address  Exposed  Message
postgresql-k8s  16.14    active      1  postgresql-k8s  16/stable  927           no       

Unit               Workload     Agent      Address      Ports          Message
postgresql-k8s/0*  maintenance  executing  10.1.99.132  5432,8008/tcp  (leader-elected) installing charm software
unit-postgresql-k8s-0: 23:02:38 ERROR juju.worker.uniter.operation hook "leader-elected" (via hook dispatching script: dispatch) failed: saving content for secret "2orh1ju9ulr6sjmgu0q0": attempt count exceeded: secrets "2orh1ju9ulr6sjmgu0q0-1" is forbidden: User "system:serviceaccount:database:juju-secret-consumer-09cc9fbd-5e5c-41bd-839e-b0f5d4f6d7d4" cannot patch resource "secrets" in API group "" in the namespace "database"

Versions

Operating system: 24.04
Juju CLI: 4.0.11
Juju agent: 4.0.11
Charm revision: 16/stable 927
Canonical K8s: v1.32.13

Additional context

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working as expected

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions