aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJose Castillo <jose.mfcastillo@gmail.com>2019-01-14 14:11:29 +0100
committerBryn M. Reeves <bmr@redhat.com>2019-03-20 15:15:26 +0000
commit6ed8269a94be06843fbbb2e2a096260e75540caf (patch)
tree446e9f8585eb5363dee6fcf13d739f434e21a1ca
parentcdd81d3bef17b68a0b727bdc6e3d77377018e40e (diff)
downloadsos-6ed8269a94be06843fbbb2e2a096260e75540caf.tar.gz
[nvme] Capture /etc/nvme/discovery.conf
The file /etc/nvme/discovery.conf is used by the command 'nvme discover' to send Get Log Page requests to a NVMe-over-Fabrics Discovery Controller. This plugin ensures that the sosreport captures the configuration, if it exists. Resolves: #1539 Signed-off-by: Jose Castillo <jose.mfcastillo@gmail.com> Signed-off-by: Bryn M. Reeves <bmr@redhat.com>
-rw-r--r--sos/plugins/nvme.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/sos/plugins/nvme.py b/sos/plugins/nvme.py
index d307d1c9..d4be7fbf 100644
--- a/sos/plugins/nvme.py
+++ b/sos/plugins/nvme.py
@@ -33,5 +33,6 @@ class Nvme(Plugin, RedHatPlugin, DebianPlugin, UbuntuPlugin):
"nvme smart-log /dev/%s" % dev,
"nvme error-log /dev/%s" % dev,
"nvme show-regs /dev/%s" % dev])
+ self.add_copy_spec("/etc/nvme/discovery.conf")
# vim: set et ts=4 sw=4 :