diff options
author | Mikel Olasagasti Uranga <mikel@olasagasti.info> | 2018-08-29 23:48:38 +0200 |
---|---|---|
committer | Bryn M. Reeves <bmr@redhat.com> | 2018-09-04 11:06:12 +0100 |
commit | d9810206cb4d56825ed4de98b6ae636461d59bbd (patch) | |
tree | 0f448d450a530e2786ec0606cf42017c9bab33a5 | |
parent | 2b29530eb50ab1016937f5c28adaf4e2288e46be (diff) | |
download | sos-d9810206cb4d56825ed4de98b6ae636461d59bbd.tar.gz |
[openstack-nova] Add missing placement api wsgi logs
Resolves: #1409
Signed-off-by: Mikel Olasagasti Uranga <mikel@olasagasti.info>
Signed-off-by: Bryn M. Reeves <bmr@redhat.com>
-rw-r--r-- | sos/plugins/openstack_nova.py | 10 |
1 files changed, 10 insertions, 0 deletions
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 : |