Bug 1874295

Summary: [openstack_ironic] Missing ironic-inspector configs
Product: Red Hat Enterprise Linux 8 Reporter: David Vallee Delisle <dvd>
Component: sosAssignee: Pavel Moravec <pmoravec>
Status: CLOSED ERRATA QA Contact: Miroslav HradĂ­lek <mhradile>
Severity: high Docs Contact:
Priority: high    
Version: 8.2CC: agk, bmr, coldford, cww, jhardee, mhradile, plambri, pmoravec, sbradley
Target Milestone: rcKeywords: OtherQA
Target Release: 8.0Flags: pm-rhel: mirror+
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: sos-4.0-2.el8 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2021-05-18 14:47:21 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 1894575    

Description David Vallee Delisle 2020-08-31 23:53:27 UTC
Description of problem:
We're missing the ironic-inspector configurations, probably because they
were in the RedHatPlugin class.

Version-Release number of selected component (if applicable):
sos-3.8-6.el8_2.noarch

How reproducible:
All the time

Steps to Reproduce:
1. sosreport --batch --case-id 1234 -o openstack_ironic


# diff <(find sosreport-undercloud-0-2020-08-31-fckzunr | grep ironic | grep inspector) <(find sosreport-undercloud-0-1234-2020-08-31-lnecrac | grep ironic | grep inspector)
1,6c1,23
< sosreport-undercloud-0-2020-08-31-fckzunr/sos_commands/openstack_ironic/journalctl_--no-pager_--unit_openstack-ironic-inspector-dnsmasq
< sosreport-undercloud-0-2020-08-31-fckzunr/var/lib/ironic-inspector
< sosreport-undercloud-0-2020-08-31-fckzunr/var/lib/ironic-inspector/dhcp-hostsdir
< sosreport-undercloud-0-2020-08-31-fckzunr/var/lib/ironic-inspector/dhcp-hostsdir/unknown_hosts_filter
< sosreport-undercloud-0-2020-08-31-fckzunr/var/lib/ironic-inspector/dhcp-hostsdir/52:54:00:20:39:23
< sosreport-undercloud-0-2020-08-31-fckzunr/var/lib/ironic-inspector/dhcp-hostsdir/52:54:00:00:bd:3e
---
> sosreport-undercloud-0-1234-2020-08-31-lnecrac/sos_commands/openstack_ironic/ls_-laRt_.var.lib.config-data.puppet-generated.ironic_inspector.var.lib.httpboot
> sosreport-undercloud-0-1234-2020-08-31-lnecrac/sos_commands/openstack_ironic/ls_-laRt_.var.lib.config-data.puppet-generated.ironic.var.lib.config-data.puppet-generated.ironic_inspector.var.lib.httpboot
> sosreport-undercloud-0-1234-2020-08-31-lnecrac/sos_commands/openstack_ironic/ls_-laRt_.var.lib.config-data.puppet-generated.ironic_inspector.var.lib.tftpboot
> sosreport-undercloud-0-1234-2020-08-31-lnecrac/sos_commands/openstack_ironic/ls_-laRt_.var.lib.config-data.puppet-generated.ironic.var.lib.config-data.puppet-generated.ironic_inspector.var.lib.tftpboot
> sosreport-undercloud-0-1234-2020-08-31-lnecrac/sos_commands/openstack_ironic/podman_exec_ironic_inspector_dnsmasq_rpm_-qa_grep_ironic_dnsmasq_ipxe
> sosreport-undercloud-0-1234-2020-08-31-lnecrac/sos_commands/openstack_ironic/podman_exec_ironic_inspector_rpm_-qa_grep_ironic_dnsmasq_ipxe
> sosreport-undercloud-0-1234-2020-08-31-lnecrac/sos_commands/openstack_ironic/journalctl_--no-pager_--unit_openstack-ironic-inspector-dnsmasq
> sosreport-undercloud-0-1234-2020-08-31-lnecrac/var/lib/config-data/puppet-generated/ironic_inspector
> sosreport-undercloud-0-1234-2020-08-31-lnecrac/var/lib/config-data/puppet-generated/ironic_inspector/etc
> sosreport-undercloud-0-1234-2020-08-31-lnecrac/var/lib/config-data/puppet-generated/ironic_inspector/etc/ironic-inspector
> sosreport-undercloud-0-1234-2020-08-31-lnecrac/var/lib/config-data/puppet-generated/ironic_inspector/etc/ironic-inspector/dnsmasq.conf
> sosreport-undercloud-0-1234-2020-08-31-lnecrac/var/lib/config-data/puppet-generated/ironic_inspector/etc/ironic-inspector/inspector.conf
> sosreport-undercloud-0-1234-2020-08-31-lnecrac/var/lib/ironic-inspector
> sosreport-undercloud-0-1234-2020-08-31-lnecrac/var/lib/ironic-inspector/dhcp-hostsdir
> sosreport-undercloud-0-1234-2020-08-31-lnecrac/var/lib/ironic-inspector/dhcp-hostsdir/unknown_hosts_filter
> sosreport-undercloud-0-1234-2020-08-31-lnecrac/var/lib/ironic-inspector/dhcp-hostsdir/52:54:00:20:39:23
> sosreport-undercloud-0-1234-2020-08-31-lnecrac/var/lib/ironic-inspector/dhcp-hostsdir/52:54:00:00:bd:3e
> sosreport-undercloud-0-1234-2020-08-31-lnecrac/var/log/containers/ironic-inspector
> sosreport-undercloud-0-1234-2020-08-31-lnecrac/var/log/containers/ironic-inspector/ironic-inspector.log
> sosreport-undercloud-0-1234-2020-08-31-lnecrac/var/log/containers/ironic-inspector/dnsmasq.log
> sosreport-undercloud-0-1234-2020-08-31-lnecrac/var/log/containers/ironic-inspector/ramdisk
> sosreport-undercloud-0-1234-2020-08-31-lnecrac/var/log/containers/ironic-inspector/ramdisk/9369d4cc-07f4-482e-a369-054d16d7f083_20200725-143534.196143.tar.gz
> sosreport-undercloud-0-1234-2020-08-31-lnecrac/var/log/containers/ironic-inspector/ramdisk/d5e5162d-ab5a-4252-b35a-7c8dcc1bf99e_20200725-143537.250707.tar.gz


Additional info:

Patch submitted upstream:
https://github.com/sosreport/sos/pull/2223

Comment 1 Pavel Moravec 2020-09-22 07:23:56 UTC
Thanks a lot for the PR. To ensure it will be backported to 8.4, could you please provide OtherQE once the candidate build will be available?

Comment 2 Pavel Moravec 2020-09-22 19:52:55 UTC
*** Bug 1850534 has been marked as a duplicate of this bug. ***

Comment 9 Pavel Moravec 2020-10-29 11:55:58 UTC
Hello,
can you please verify the bug against below build? Thanks in advance.


A yum repository for the build of sos-4.0-2.el8 (task 32548242) is available at:

http://brew-task-repos.usersys.redhat.com/repos/official/sos/4.0/2.el8/

You can install the rpms locally by putting this .repo file in your /etc/yum.repos.d/ directory:

http://brew-task-repos.usersys.redhat.com/repos/official/sos/4.0/2.el8/sos-4.0-2.el8.repo

RPMs and build logs can be found in the following locations:
http://brew-task-repos.usersys.redhat.com/repos/official/sos/4.0/2.el8/noarch/

The full list of available rpms is:
http://brew-task-repos.usersys.redhat.com/repos/official/sos/4.0/2.el8/noarch/sos-4.0-2.el8.src.rpm
http://brew-task-repos.usersys.redhat.com/repos/official/sos/4.0/2.el8/noarch/sos-4.0-2.el8.noarch.rpm
http://brew-task-repos.usersys.redhat.com/repos/official/sos/4.0/2.el8/noarch/sos-audit-4.0-2.el8.noarch.rpm

The repository will be available for the next 60 days. Scratch build output will be deleted
earlier, based on the Brew scratch build retention policy.

Comment 13 errata-xmlrpc 2021-05-18 14:47:21 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory (sos bug fix and enhancement update), and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

https://access.redhat.com/errata/RHEA-2021:1604

Comment 17 Red Hat Bugzilla 2023-09-15 00:47:19 UTC
The needinfo request[s] on this closed bug have been removed as they have been unresolved for 500 days