aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--sos/plugins/openstack_nova.py10
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 :