Charm install fails with hook failed: "website-relation-joined"
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Landscape Charm |
New
|
Undecided
|
Unassigned |
Bug Description
Landscape-server latest/edge Rev. 58 fails to install with:
```
landscape-
canonical-
filebeat/1 active idle 10.246.167.128 Filebeat ready.
landscape-
logrotated/1 active idle 10.246.167.128 Unit is ready.
nrpe/1 active idle 10.246.167.128 icmp,5666/tcp Ready
ntp/1 active idle 10.246.167.128 123/udp chrony: Ready
telegraf/1 active idle 10.246.167.128 9103/tcp Monitoring landscape-
landscape-
canonical-
filebeat/3 active idle 10.246.165.7 Filebeat ready.
landscape-
logrotated/3 active idle 10.246.165.7 Unit is ready.
nrpe/3 active idle 10.246.165.7 icmp,5666/tcp Ready
ntp/3 active idle 10.246.165.7 123/udp chrony: Ready
telegraf/3 active idle 10.246.165.7 9103/tcp Monitoring landscape-
landscape-
canonical-
filebeat/2 active idle 10.246.164.152 Filebeat ready.
landscape-
logrotated/2 active idle 10.246.164.152 Unit is ready.
nrpe/2 active idle 10.246.164.152 icmp,5666/tcp Ready
ntp/2 active idle 10.246.164.152 123/udp chrony: Ready
telegraf/2 active idle 10.246.164.152 9103/tcp Monitoring landscape-
landscape-server/0* error idle 6 10.246.167.51 hook failed: "website-
canonical-
filebeat/0* active idle 10.246.167.51 Filebeat ready.
logrotated/0* active idle 10.246.167.51 Unit is ready.
nrpe/0* active idle 10.246.167.51 icmp,5666/tcp Ready
ntp/0* active idle 10.246.167.51 123/udp chrony: Ready, OK: chronyd has only been running 231 seconds
telegraf/0* active idle 10.246.167.51 9103/tcp Monitoring landscape-server/0 (source version/commit d208a64)
```
The charm configs are as described in https:/
In the charmlog we see:
```
unit-landscape-
Traceback (most recent call last):
File "./src/charm.py", line 569, in <module>
main(
File "/var/lib/
_emit_
File "/var/lib/
event_
File "/var/lib/
framework.
File "/var/lib/
self.
File "/var/lib/
custom_
File "./src/charm.py", line 367, in _website_
with open(error_
FileNotFoundError: [Errno 2] No such file or directory: '/opt/canonical
unit-landscape-
```
tags: | added: cdo-qa |