Charm installation fails with hook failed: "local-monitors-relation-changed"
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
PostgreSQL Charm |
New
|
Undecided
|
Unassigned |
Bug Description
In test run [28fcfc8b-
```
landscape-
canonical-
filebeat/9 active idle 10.246.166.55 Filebeat ready.
landscape-
logrotated/9 active idle 10.246.166.55 Unit is ready.
nrpe/9 active idle 10.246.166.55 icmp,5666/tcp Ready
ntp/9 active idle 10.246.166.55 123/udp chrony: Ready, OK: offset is 0.000054
telegraf/9 active idle 10.246.166.55 9103/tcp Monitoring landscape-
landscape-
canonical-
filebeat/3 active idle 10.246.166.155 Filebeat ready.
landscape-
logrotated/3 active idle 10.246.166.155 Unit is ready.
nrpe/3 active idle 10.246.166.155 icmp,5666/tcp Ready
ntp/4 active idle 10.246.166.155 123/udp chrony: Ready, OK: offset is 0.000053
telegraf/3 active idle 10.246.166.155 9103/tcp Monitoring landscape-
landscape-
canonical-
filebeat/1 active idle 10.246.165.90 Filebeat ready.
landscape-
logrotated/1 active idle 10.246.165.90 Unit is ready.
nrpe/1 active idle 10.246.165.90 icmp,5666/tcp Ready
ntp/1 active idle 10.246.165.90 123/udp chrony: Ready, OK: offset is 0.000184
telegraf/1 active idle 10.246.165.90 9103/tcp Monitoring landscape-
landscape-server/0* waiting idle 6 10.246.167.157 Waiting on relations: db
canonical-
filebeat/11 active idle 10.246.167.157 Filebeat ready.
landscape-
logrotated/11 active idle 10.246.167.157 Unit is ready.
nrpe/11 active idle 10.246.167.157 icmp,5666/tcp Ready
ntp/11 active idle 10.246.167.157 123/udp chrony: Ready, OK: offset is 0.000163
telegraf/11 active idle 10.246.167.157 9103/tcp Monitoring landscape-server/0 (source version/commit 23.01-4-...)
```
In the debug-log we see:
```
unit-landscape-
unit-landscape-
Traceback (most recent call last):
File "/usr/lib/
os.rename(src, real_dst)
FileNotFoundError: [Errno 2] No such file or directory: '/tmp/tmpx8jh2efa' -> '/var/lib/
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/var/lib/
bus.
File "/var/lib/
_invoke(
File "/var/lib/
handler.
File "/var/lib/
self.
File "/var/lib/
helpers.
File "/var/lib/
shutil.
File "/usr/lib/
copy_
File "/usr/lib/
copyfile(src, dst, follow_
File "/usr/lib/
with open(dst, 'wb') as fdst:
FileNotFoundError: [Errno 2] No such file or directory: '/var/lib/
```
Maybe the `/var/lib/
Crashdumps and configs can be found here:
https:/