Activity log for bug #1782444

Date Who What changed Old value New value Message
2018-07-18 22:54:29 David Ames bug added bug
2018-07-18 22:54:39 David Ames bug task added charm-aodh
2018-07-18 22:56:55 David Ames description Something has changed in either reactive or charms.openstack or charm-helpers that causes template files to be written with 640 root:root permissions. This causes OpenStack clients to fail to be able to read these files: Jul 18 22:48:52 juju-14fa71-thedac-6 aodh-listener[22072]: Traceback (most recent call last): Jul 18 22:48:52 juju-14fa71-thedac-6 aodh-listener[22072]: File "/usr/bin/aodh-listener", line 10, in <module> Jul 18 22:48:52 juju-14fa71-thedac-6 aodh-listener[22072]: sys.exit(listener()) Jul 18 22:48:52 juju-14fa71-thedac-6 aodh-listener[22072]: File "/usr/lib/python2.7/dist-packages/aodh/cmd/alarm.py", line 43, in listener Jul 18 22:48:52 juju-14fa71-thedac-6 aodh-listener[22072]: conf = service.prepare_service() Jul 18 22:48:52 juju-14fa71-thedac-6 aodh-listener[22072]: File "/usr/lib/python2.7/dist-packages/aodh/service.py", line 87, in prepare_service Jul 18 22:48:52 juju-14fa71-thedac-6 aodh-listener[22072]: default_config_files=config_files) Jul 18 22:48:52 juju-14fa71-thedac-6 aodh-listener[22072]: File "/usr/lib/python2.7/dist-packages/oslo_config/cfg.py", line 2355, in __call__ Jul 18 22:48:52 juju-14fa71-thedac-6 aodh-listener[22072]: self._namespace._files_permission_denied) Jul 18 22:48:52 juju-14fa71-thedac-6 aodh-listener[22072]: oslo_config.cfg.ConfigFilesPermissionDeniedError: Failed to open some config files: /etc/aodh/aodh.conf Jul 18 22:48:53 juju-14fa71-thedac-6 systemd[1]: aodh-listener.service: Main process exited, code=exited, status=1/FAILURE Jul 18 22:48:53 juju-14fa71-thedac-6 systemd[1]: aodh-listener.service: Unit entered failed state. Jul 18 22:48:53 juju-14fa71-thedac-6 systemd[1]: aodh-listener.service: Failed with result 'exit-code'. Jul 18 22:48:53 juju-14fa71-thedac-6 systemd[1]: aodh-listener.service: Service hold-off time over, scheduling restart. I am adding aodh and neutron-dynamic-routing as targets but the fault will affect all reactive charms and likely lies outside of the charms themselves. Something has changed in either reactive or charms.openstack or charm-helpers that causes template files to be written with 640 root:root permissions. This causes OpenStack daemons to fail to be able to read these files: Jul 18 22:48:52 juju-14fa71-thedac-6 aodh-listener[22072]: Traceback (most recent call last): Jul 18 22:48:52 juju-14fa71-thedac-6 aodh-listener[22072]: File "/usr/bin/aodh-listener", line 10, in <module> Jul 18 22:48:52 juju-14fa71-thedac-6 aodh-listener[22072]: sys.exit(listener()) Jul 18 22:48:52 juju-14fa71-thedac-6 aodh-listener[22072]: File "/usr/lib/python2.7/dist-packages/aodh/cmd/alarm.py", line 43, in listener Jul 18 22:48:52 juju-14fa71-thedac-6 aodh-listener[22072]: conf = service.prepare_service() Jul 18 22:48:52 juju-14fa71-thedac-6 aodh-listener[22072]: File "/usr/lib/python2.7/dist-packages/aodh/service.py", line 87, in prepare_service Jul 18 22:48:52 juju-14fa71-thedac-6 aodh-listener[22072]: default_config_files=config_files) Jul 18 22:48:52 juju-14fa71-thedac-6 aodh-listener[22072]: File "/usr/lib/python2.7/dist-packages/oslo_config/cfg.py", line 2355, in __call__ Jul 18 22:48:52 juju-14fa71-thedac-6 aodh-listener[22072]: self._namespace._files_permission_denied) Jul 18 22:48:52 juju-14fa71-thedac-6 aodh-listener[22072]: oslo_config.cfg.ConfigFilesPermissionDeniedError: Failed to open some config files: /etc/aodh/aodh.conf Jul 18 22:48:53 juju-14fa71-thedac-6 systemd[1]: aodh-listener.service: Main process exited, code=exited, status=1/FAILURE Jul 18 22:48:53 juju-14fa71-thedac-6 systemd[1]: aodh-listener.service: Unit entered failed state. Jul 18 22:48:53 juju-14fa71-thedac-6 systemd[1]: aodh-listener.service: Failed with result 'exit-code'. Jul 18 22:48:53 juju-14fa71-thedac-6 systemd[1]: aodh-listener.service: Service hold-off time over, scheduling restart. I am adding aodh and neutron-dynamic-routing as targets but the fault will affect all reactive charms and likely lies outside of the charms themselves.
2018-07-19 10:21:59 Liam Young charm-aodh: assignee Liam Young (gnuoy)
2018-07-19 10:22:01 Liam Young charm-aodh: importance Undecided High
2018-07-19 10:22:04 Liam Young charm-aodh: status New In Progress
2018-07-19 14:52:00 David Ames charm-neutron-dynamic-routing: status New Triaged
2018-07-19 14:52:06 David Ames charm-neutron-dynamic-routing: importance Undecided Critical
2018-07-19 14:52:08 David Ames charm-neutron-dynamic-routing: assignee David Ames (thedac)
2018-07-19 15:13:14 OpenStack Infra charm-neutron-dynamic-routing: status Triaged In Progress
2018-07-23 17:13:23 James Page charm-neutron-dynamic-routing: importance Critical High
2018-12-04 14:39:20 James Page charm-aodh: status In Progress Fix Committed
2018-12-04 14:39:22 James Page charm-neutron-dynamic-routing: status In Progress Fix Released
2018-12-04 14:39:25 James Page charm-aodh: status Fix Committed Fix Released
2018-12-04 14:39:27 James Page charm-aodh: milestone 18.11
2018-12-04 14:39:30 James Page charm-neutron-dynamic-routing: milestone 19.04