Add sos element to Red Hat family images

sosreport is a tool that collects information about a system.

The sos plugin for Octavia can gather information of installed packages,
log and configuration files for Octavia controller components and
amphora agent. The result is a generated report that can be used for
troubleshooting. The plugin redacts confidential data such as passwords,
certificates and secrets.

At present sos only installs in Red Hat family images as the plugin does
not support other distributions.

Change-Id: I5131a4cfdedd8b78fb673b4264ef1d7a1d613972
This commit is contained in:
Carlos Goncalves 2018-04-17 11:44:51 +02:00
parent afb47816ac
commit c5c7770e30
6 changed files with 28 additions and 0 deletions

View File

@ -342,6 +342,7 @@ fi
AMP_element_sequence="$AMP_element_sequence rebind-sshd"
AMP_element_sequence="$AMP_element_sequence no-resolvconf"
AMP_element_sequence="$AMP_element_sequence amphora-agent"
AMP_element_sequence="$AMP_element_sequence sos"
if [ "$AMP_ENABLE_FULL_MAC_SECURITY" -ne 1 ]; then
# SELinux systems

11
elements/sos/README.rst Normal file
View File

@ -0,0 +1,11 @@
Element to install sosreport.
sosreport is a tool that collects information about a system.
The sos plugin for Octavia can gather information of installed packages, log
and configuration files for Octavia controller components and amphora agent.
The result is a generated report that can be used for troubleshooting. The
plugin redacts confidential data such as passwords, certificates and secrets.
At present sos only installs in Red Hat family images as the plugin does not
support other distributions.

View File

@ -0,0 +1,2 @@
package-installs
pkg-map

View File

@ -0,0 +1 @@
sos:

10
elements/sos/pkg-map Normal file
View File

@ -0,0 +1,10 @@
{
"family": {
"redhat": {
"sos": "sos"
}
},
"default": {
"sos": ""
}
}

View File

@ -0,0 +1,3 @@
---
features:
- Add sos element to amphora images (Red Hat family only).