File tree 1 file changed +6
-4
lines changed
1 file changed +6
-4
lines changed Original file line number Diff line number Diff line change @@ -116,10 +116,12 @@ function collect_sos {
116
116
# ref for plugin tuned: https://github.com/sosreport/sos/commit/c55c58cf2dabf93c924c839c8ed045c18e31ba1c
117
117
_modules=" ${_modules} tuned"
118
118
fi
119
- # OpenStack plugin
120
- OSP=/etc/rhosp-release
121
- if [[ -f " $OSP " ]] ; then
122
- _modules=" ${_modules} openstack_ansible openstack_aodh openstack_ceilometer openstack_cinder openstack_glance openstack_heat openstack_horizon openstack_instack openstack_ironic openstack_keystone openstack_manila openstack_neutron openstack_nova openstack_novajoin openstack_octavia openstack_placement openstack_swift os_net_config mssql cman ceph openvswitch ovn_central ovn_host pacemaker podman rabbitmq kernelrt ceph kvm corosync"
119
+ if [[ " ${sos_ver} " -ge 3 || " ${sos_ver} " -le 3 ]]; then
120
+ # sos-plugins for OpenStack cloud
121
+ OSP=/etc/rhosp-release
122
+ if [[ -f " $OSP " ]] ; then
123
+ _modules=" ${_modules} openstack_ansible openstack_aodh openstack_ceilometer openstack_cinder openstack_glance openstack_heat openstack_horizon openstack_instack openstack_ironic openstack_keystone openstack_manila openstack_neutron openstack_nova openstack_novajoin openstack_octavia openstack_placement openstack_swift os_net_config mssql cman ceph openvswitch ovn_central ovn_host pacemaker podman rabbitmq kernelrt ceph kvm corosync"
124
+ fi
123
125
fi
124
126
125
127
_name=" pbench-${_pbench_full_hostname} "
You can’t perform that action at this time.
0 commit comments