rbac failure
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
charm-k8s-postgresql |
Fix Released
|
Medium
|
Unassigned |
Bug Description
When installing postgres from this charm with 'juju deploy cs:~postgresql-
root@2566e8d973
2020-12-15 17:48:39,088 INFO: Updating permissions and ownership of /srv
tail: cannot open '/var/log/
2020-12-15 17:48:39,088 INFO: Updating permissions and ownership of /var/log/postgresql
2020-12-15 17:48:39,088 INFO: Updating permissions and ownership of /srv/pgdata
2020-12-15 17:48:39,088 INFO: Updating permissions and ownership of /srv/pgdata/12
2020-12-15 17:48:39,089 INFO: Updating permissions and ownership of /srv/pgconf
2020-12-15 17:48:39,089 INFO: Overwriting /root/.pgpass, updating secrets
2020-12-15 17:48:39,089 INFO: Overwriting /var/lib/
2020-12-15 17:48:39,089 INFO: Updating repmgr configuration in /srv/pgconf/
2020-12-15 17:48:39,090 INFO: PostgreSQL database cluster exists at /srv/pgdata/12/main
2020-12-15 17:48:39,090 INFO: Updating PostgreSQL configuration in /srv/pgconf/
Traceback (most recent call last):
File "/usr/local/
pgcharm.
File "/usr/local/
if is_master():
File "/usr/local/
return get_master() == JUJU_POD_NAME
File "/usr/local/
masters = [i.metadata.name for i in api.list_
File "/usr/local/
return self.list_
File "/usr/local/
return self.api_
File "/usr/local/
return self.__
File "/usr/local/
response_data = self.request(
File "/usr/local/
return self.rest_
File "/usr/local/
return self.request("GET", url,
File "/usr/local/
raise ApiException(
kubernetes.
Reason: Forbidden
HTTP response headers: HTTPHeaderDict(
HTTP response body: {"kind"
Related branches
- Stuart Bishop (community): Approve
- Ian Booth (community): Approve
- Canonical IS Reviewers: Pending requested
-
Diff: 52 lines (+30/-0)2 files modifiedsrc/charm.py (+15/-0)
tests/test_charm.py (+15/-0)
description: | updated |
description: | updated |
no longer affects: | juju |
This is possibly related to https:/ /bugs.launchpad .net/juju/ +bug/1907161 - will try to confirm.