From d9810206cb4d56825ed4de98b6ae636461d59bbd Mon Sep 17 00:00:00 2001 From: Mikel Olasagasti Uranga Date: Wed, 29 Aug 2018 23:48:38 +0200 Subject: [openstack-nova] Add missing placement api wsgi logs Resolves: #1409 Signed-off-by: Mikel Olasagasti Uranga Signed-off-by: Bryn M. Reeves --- sos/plugins/openstack_nova.py | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/sos/plugins/openstack_nova.py b/sos/plugins/openstack_nova.py index d8ca0e2e..b041a59a 100644 --- a/sos/plugins/openstack_nova.py +++ b/sos/plugins/openstack_nova.py @@ -246,5 +246,15 @@ class RedHatNova(OpenStackNova, RedHatPlugin): "/etc/security/limits.d/91-nova.conf", "/etc/sysconfig/openstack-nova-novncproxy" ]) + if self.get_option("all_logs"): + self.add_copy_spec([ + "/var/log/httpd/nova_api*", + "/var/log/httpd/placement*", + ]) + else: + self.add_copy_spec([ + "/var/log/httpd/nova_api*.log", + "/var/log/httpd/placement*.log", + ]) # vim: set et ts=4 sw=4 : -- cgit