Comment 6 for bug 1689710

Revision history for this message
Alex Kavanagh (ajkavanagh) wrote :

This bug is now fixed in master:

root@juju-7dbb96-0:/var/log/aodh# date
Fri Aug 25 15:02:30 UTC 2017
root@juju-7dbb96-0:/var/log/aodh# ps ax | grep aodh
 1782 ? Ss 0:00 bash /var/lib/juju/init/jujud-unit-aodh-0/exec-start.sh
 1786 ? Sl 0:01 /var/lib/juju/tools/unit-aodh-0/jujud unit --data-dir /var/lib/juju --unit-name aodh/0 --debug
21191 ? Ss 0:00 /usr/bin/python /usr/bin/aodh-api --config-file=/etc/aodh/aodh.conf --log-file=/var/log/aodh/aodh-api.log
21200 ? Ss 0:00 /usr/bin/python /usr/bin/aodh-evaluator --config-file=/etc/aodh/aodh.conf --log-file=/var/log/aodh/aodh-evaluator.log
21209 ? Ssl 0:00 /usr/bin/python /usr/bin/aodh-notifier --config-file=/etc/aodh/aodh.conf --log-file=/var/log/aodh/aodh-notifier.log
21218 ? Ssl 0:00 /usr/bin/python /usr/bin/aodh-listener --config-file=/etc/aodh/aodh.conf --log-file=/var/log/aodh/aodh-listener.log
22666 pts/0 S+ 0:00 tail -f unit-aodh-0.log
23801 pts/1 S+ 0:00 grep --color=auto aodh
root@juju-7dbb96-0:/var/log/aodh# date
Fri Aug 25 15:09:47 UTC 2017
root@juju-7dbb96-0:/var/log/aodh# ps ax | grep aodh
 1782 ? Ss 0:00 bash /var/lib/juju/init/jujud-unit-aodh-0/exec-start.sh
 1786 ? Sl 0:01 /var/lib/juju/tools/unit-aodh-0/jujud unit --data-dir /var/lib/juju --unit-name aodh/0 --debug
21191 ? Ss 0:00 /usr/bin/python /usr/bin/aodh-api --config-file=/etc/aodh/aodh.conf --log-file=/var/log/aodh/aodh-api.log
21200 ? Ss 0:00 /usr/bin/python /usr/bin/aodh-evaluator --config-file=/etc/aodh/aodh.conf --log-file=/var/log/aodh/aodh-evaluator.log
21209 ? Ssl 0:00 /usr/bin/python /usr/bin/aodh-notifier --config-file=/etc/aodh/aodh.conf --log-file=/var/log/aodh/aodh-notifier.log
21218 ? Ssl 0:00 /usr/bin/python /usr/bin/aodh-listener --config-file=/etc/aodh/aodh.conf --log-file=/var/log/aodh/aodh-listener.log
22666 pts/0 S+ 0:00 tail -f unit-aodh-0.log
25851 pts/1 S+ 0:00 grep --color=auto aodh

Note that the pids are the same with 8 minutes difference + an update-status happening every 5 minutes:

2017-08-25 15:04:16 INFO juju-log Reactive main running for hook update-status
2017-08-25 15:04:16 INFO juju-log Invoking reactive handler: reactive/layer_openstack.py:54:default_update_status
2017-08-25 15:04:16 INFO juju-log Invoking reactive handler: reactive/aodh_handlers.py:70:render_unclustered
2017-08-25 15:04:17 WARNING juju-log DEPRECATION: should not use port_map parameter in APIConfigurationAdapter.__init__()
2017-08-25 15:04:17 WARNING juju-log DEPRECATION: should not use service_name parameter in APIConfigurationAdapter.__init__()
2017-08-25 15:04:17 INFO juju-log Creating choice loader with dirs: [['templates/'], ['/var/lib/juju/agents/unit-aodh-0/.venv/lib/python3.5/site-packages/charmhelpers/contrib/openstack/templates']]
2017-08-25 15:04:17 WARNING juju-log Not adding haproxy listen stanza for aodh-api_int port is already in use
2017-08-25 15:04:17 WARNING juju-log Not adding haproxy listen stanza for aodh-api_public port is already in use
2017-08-25 15:04:17 INFO juju-log Writing file /etc/haproxy/haproxy.cfg root:root 444
2017-08-25 15:04:17 INFO juju-log Creating choice loader with dirs: [['templates/'], ['/var/lib/juju/agents/unit-aodh-0/.venv/lib/python3.5/site-packages/charmhelpers/contrib/openstack/templates']]
2017-08-25 15:04:17 INFO juju-log Writing file /etc/memcached.conf root:root 444
2017-08-25 15:04:17 INFO juju-log Creating choice loader with dirs: [['templates/'], ['/var/lib/juju/agents/unit-aodh-0/.venv/lib/python3.5/site-packages/charmhelpers/contrib/openstack/templates']]
2017-08-25 15:04:17 DEBUG update-status lxc
2017-08-25 15:04:18 INFO juju-log Writing file /etc/aodh/aodh.conf root:root 444
2017-08-25 15:04:18 INFO juju-log Creating choice loader with dirs: [['templates/'], ['/var/lib/juju/agents/unit-aodh-0/.venv/lib/python3.5/site-packages/charmhelpers/contrib/openstack/templates']]
2017-08-25 15:04:18 INFO juju-log Writing file /etc/systemd/system/aodh-api.service.d/override.conf root:root 444
2017-08-25 15:04:18 INFO juju-log Invoking reactive handler: reactive/aodh_handlers.py:38:setup_amqp_req
2017-08-25 15:04:18 INFO juju-log Invoking reactive handler: reactive/aodh_handlers.py:48:setup_database
2017-08-25 15:04:18 INFO juju-log Invoking reactive handler: reactive/aodh_handlers.py:57:setup_endpoint
2017-08-25 15:04:19 DEBUG juju-log Running _assess_status()
2017-08-25 15:04:19 DEBUG update-status active
2017-08-25 15:04:19 DEBUG update-status active
2017-08-25 15:04:19 DEBUG update-status active
2017-08-25 15:04:19 DEBUG update-status active

Note that the update-status is still "noisy" but isn't causing any restarts.