deployment requires restart due to cloudstats daemon TypeError
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
charm-cloudstats |
New
|
Undecided
|
Unassigned |
Bug Description
After deploying cloudstats charm, attaching snap resource, and adding keystone relation, the cloudstats snap remains in an error state.
Traceback:
Jul 10 16:27:40 juju-d7d014-1-lxd-9 systemd[1]: Started Service for snap application cloudstats.
Jul 10 16:27:41 juju-d7d014-1-lxd-9 cloudstats.
Jul 10 16:27:41 juju-d7d014-1-lxd-9 cloudstats.
Jul 10 16:27:41 juju-d7d014-1-lxd-9 cloudstats.
Jul 10 16:27:41 juju-d7d014-1-lxd-9 cloudstats.
Jul 10 16:27:41 juju-d7d014-1-lxd-9 cloudstats.
Jul 10 16:27:41 juju-d7d014-1-lxd-9 cloudstats.
Jul 10 16:27:41 juju-d7d014-1-lxd-9 cloudstats.
Jul 10 16:27:41 juju-d7d014-1-lxd-9 cloudstats.
Jul 10 16:27:41 juju-d7d014-1-lxd-9 cloudstats.
Jul 10 16:27:41 juju-d7d014-1-lxd-9 cloudstats.
Jul 10 16:27:41 juju-d7d014-1-lxd-9 cloudstats.
Jul 10 16:27:41 juju-d7d014-1-lxd-9 cloudstats.
Jul 10 16:27:41 juju-d7d014-1-lxd-9 cloudstats.
Jul 10 16:27:41 juju-d7d014-1-lxd-9 cloudstats.
Jul 10 16:27:41 juju-d7d014-1-lxd-9 cloudstats.
Jul 10 16:27:41 juju-d7d014-1-lxd-9 cloudstats.
Jul 10 16:27:41 juju-d7d014-1-lxd-9 cloudstats.
Jul 10 16:27:41 juju-d7d014-1-lxd-9 cloudstats.
Jul 10 16:27:41 juju-d7d014-1-lxd-9 cloudstats.
Jul 10 16:27:41 juju-d7d014-1-lxd-9 cloudstats.
Jul 10 16:27:41 juju-d7d014-1-lxd-9 cloudstats.
Jul 10 16:27:41 juju-d7d014-1-lxd-9 cloudstats.
Jul 10 16:27:41 juju-d7d014-1-lxd-9 cloudstats.
Jul 10 16:27:41 juju-d7d014-1-lxd-9 cloudstats.
Doing a snap restart fixes the issue, and cloudstats begins to work again.
Steps to reproduce:
juju deploy ./charm-cloudstats cloudstats --series xenial --config ./config.yaml --to lxd:1 --constraints "spaces=
juju attach-resource cloudstats cloudstats=
juju add-relation keystone:
# wait for charm to settle
# check snap status
juju run --unit cloudstats/0 "systemctl status snap.cloudstats
# restart cloudstats snap
snap restart cloudstats
information type: | Proprietary → Public |