I am deploying openstack and ceph in different model and after adding relationship of ceph-mon:client with gnocchi:storage-ceph
- [ ceph-mon:client, gnocchi:storage-ceph ]
I am not seeing the gnocchi renders the gnocchi.conf file and metrics service does not get started due to that.
juju status gnocchi shows the following error
gnocchi/3* 8041/tcp Services not running that should be: gnocchi-metricd, apache2; Ports which should be open, but are not: 8031
2021-04-29 21:11:42 INFO juju.worker.uniter.storage resolver.go:127 initial storage attachments ready
2021-04-29 21:11:42 INFO juju.worker.uniter resolver.go:147 found queued "install" hook
2021-04-29 21:12:57 WARNING unit.gnocchi/4.install logger.go:60 E: Unable to locate package openstack-release
2021-04-29 21:14:03 WARNING unit.gnocchi/4.install logger.go:60 Failed to disable unit: Unit file gnocchi-api.service does not exist.
2021-04-29 21:14:03 WARNING unit.gnocchi/4.install logger.go:60 Unit gnocchi-api.service does not exist, proceeding anyway.
2021-04-29 21:14:03 WARNING unit.gnocchi/4.install logger.go:60 Created symlink /etc/systemd/system/gnocchi-api.service → /dev/null.
2021-04-29 21:14:06 WARNING unit.gnocchi/4.install logger.go:60 rehash: warning: skipping duplicate certificate in gnocchi.pem
2021-04-29 21:14:11 WARNING unit.gnocchi/4.install logger.go:60 Unit /etc/systemd/system/gnocchi-api.service is masked, ignoring.
2021-04-29 21:14:11 WARNING unit.gnocchi/4.install logger.go:60 No module matches ssl
2021-04-29 21:14:11 WARNING unit.gnocchi/4.install logger.go:60 No module matches proxy
2021-04-29 21:14:12 WARNING unit.gnocchi/4.install logger.go:60 No module matches proxy_http
2021-04-29 21:14:12 WARNING unit.gnocchi/4.install logger.go:60 No module matches headers
2021-04-29 21:14:12 WARNING unit.gnocchi/4.install logger.go:60 No site matches openstack_https_frontend
2021-04-29 21:14:28 WARNING unit.gnocchi/4.install logger.go:60 Synchronizing state of gnocchi-metricd.service with SysV service script with /lib/systemd/systemd-sysv-install.
2021-04-29 21:14:28 WARNING unit.gnocchi/4.install logger.go:60 Executing: /lib/systemd/systemd-sysv-install disable gnocchi-metricd
2021-04-29 21:14:28 WARNING unit.gnocchi/4.install logger.go:60 Created symlink /etc/systemd/system/gnocchi-metricd.service → /dev/null.
2021-04-29 21:14:28 WARNING unit.gnocchi/4.install logger.go:60 Synchronizing state of apache2.service with SysV service script with /lib/systemd/systemd-sysv-install.
2021-04-29 21:14:28 WARNING unit.gnocchi/4.install logger.go:60 Executing: /lib/systemd/systemd-sysv-install disable apache2
2021-04-29 21:14:29 WARNING unit.gnocchi/4.install logger.go:60 Removed /etc/systemd/system/multi-user.target.wants/apache2.service.
2021-04-29 21:14:29 WARNING unit.gnocchi/4.install logger.go:60 Created symlink /etc/systemd/system/apache2.service → /dev/null.
2021-04-29 21:14:29 WARNING unit.gnocchi/4.install logger.go:60 Synchronizing state of memcached.service with SysV service script with /lib/systemd/systemd-sysv-install.
2021-04-29 21:14:29 WARNING unit.gnocchi/4.install logger.go:60 Executing: /lib/systemd/systemd-sysv-install disable memcached
2021-04-29 21:14:29 WARNING unit.gnocchi/4.install logger.go:60 Removed /etc/systemd/system/multi-user.target.wants/memcached.service.
2021-04-29 21:14:30 WARNING unit.gnocchi/4.install logger.go:60 Created symlink /etc/systemd/system/memcached.service → /dev/null.
2021-04-29 21:14:30 WARNING unit.gnocchi/4.install logger.go:60 Synchronizing state of haproxy.service with SysV service script with /lib/systemd/systemd-sysv-install.
2021-04-29 21:14:30 WARNING unit.gnocchi/4.install logger.go:60 Executing: /lib/systemd/systemd-sysv-install disable haproxy
2021-04-29 21:14:30 WARNING unit.gnocchi/4.install logger.go:60 Removed /etc/systemd/system/multi-user.target.wants/haproxy.service.
2021-04-29 21:14:30 WARNING unit.gnocchi/4.install logger.go:60 Created symlink /etc/systemd/system/haproxy.service → /dev/null.
2021-04-29 21:14:31 INFO juju.worker.uniter.operation runhook.go:145 ran "install" hook (via explicit, bespoke hook script)
Gnocchi is not sending the application-name or unit-name relation data to ceph so the responding ceph-broker request message says its replaying to remote-id-XXX which gnocchi does not recognise as being meant for it