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:
parent
afb47816ac
commit
c5c7770e30
@ -342,6 +342,7 @@ fi
|
|||||||
AMP_element_sequence="$AMP_element_sequence rebind-sshd"
|
AMP_element_sequence="$AMP_element_sequence rebind-sshd"
|
||||||
AMP_element_sequence="$AMP_element_sequence no-resolvconf"
|
AMP_element_sequence="$AMP_element_sequence no-resolvconf"
|
||||||
AMP_element_sequence="$AMP_element_sequence amphora-agent"
|
AMP_element_sequence="$AMP_element_sequence amphora-agent"
|
||||||
|
AMP_element_sequence="$AMP_element_sequence sos"
|
||||||
|
|
||||||
if [ "$AMP_ENABLE_FULL_MAC_SECURITY" -ne 1 ]; then
|
if [ "$AMP_ENABLE_FULL_MAC_SECURITY" -ne 1 ]; then
|
||||||
# SELinux systems
|
# SELinux systems
|
||||||
|
11
elements/sos/README.rst
Normal file
11
elements/sos/README.rst
Normal 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.
|
2
elements/sos/element-deps
Normal file
2
elements/sos/element-deps
Normal file
@ -0,0 +1,2 @@
|
|||||||
|
package-installs
|
||||||
|
pkg-map
|
1
elements/sos/package-installs.yaml
Normal file
1
elements/sos/package-installs.yaml
Normal file
@ -0,0 +1 @@
|
|||||||
|
sos:
|
10
elements/sos/pkg-map
Normal file
10
elements/sos/pkg-map
Normal file
@ -0,0 +1,10 @@
|
|||||||
|
{
|
||||||
|
"family": {
|
||||||
|
"redhat": {
|
||||||
|
"sos": "sos"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"default": {
|
||||||
|
"sos": ""
|
||||||
|
}
|
||||||
|
}
|
3
releasenotes/notes/add-sos-element-5d6677471341e7f2.yaml
Normal file
3
releasenotes/notes/add-sos-element-5d6677471341e7f2.yaml
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
---
|
||||||
|
features:
|
||||||
|
- Add sos element to amphora images (Red Hat family only).
|
Loading…
Reference in New Issue
Block a user