Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.

Bug 1893893

Summary: [FFU 13-16.1][Validation] pre-upgrade validation for selinux is failing
Product: Red Hat OpenStack Reporter: MD Sufiyan <msufiyan>
Component: validations-commonAssignee: David Peacock <dpeacock>
Status: CLOSED DUPLICATE QA Contact: nlevinki <nlevinki>
Severity: high Docs Contact:
Priority: medium    
Version: 16.1 (Train)CC: cjeanner, dpeacock, gchamoul, jjoyce, jschluet, slinaber, tvignaud
Target Milestone: z4Keywords: Triaged
Target Release: 16.1 (Train on RHEL 8.2)   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2020-12-03 10:09:56 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:

Description MD Sufiyan 2020-11-02 22:03:51 UTC
Description of problem:

Pre-upgarde validation[1] for selinux is failing after running the command[2]. Also "tripleo validator show" is not priniting any useful information for the failed validation UUID.

+--------------------------------------+-------------------------------------+--------+-----------------------+----------------+---------------------+-------------+
| UUID                                 | Validations                         | Status | Host Group(s)         | Status by Host | Unreachable Host(s) | Duration    |
+--------------------------------------+-------------------------------------+--------+-----------------------+----------------+---------------------+-------------+
| 5254000f-87a1-8b5d-9afb-000000000006 | validate-selinux                    | FAILED | all                   |                |                     | None        | 
+--------------------------------------+-------------------------------------+--------+-----------------------+----------------+---------------------+-------------+

(undercloud) [stack@undercloud-0 ~]$ openstack tripleo validator show run 5254000f-87a1-8b5d-9afb-000000000006
sys:1: ResourceWarning: unclosed <socket.socket fd=4, family=AddressFamily.AF_INET, type=SocketKind.SOCK_STREAM, proto=6, laddr=('192.168.24.1', 55070), raddr=('192.168.24.1', 5000)>

[1] https://access.redhat.com/documentation/en-us/red_hat_openstack_platform/16.1/html-single/framework_for_upgrades_13_to_16.1/index?validating-red-hat-openstack-platform-oldvernum-before-the-upgrade#validating-the-pre-upgrade-requirements
[2] openstack tripleo validator run --group pre-upgrade

Comment 1 Cédric Jeanneret 2020-11-03 08:27:10 UTC
Hello,

would be good getting some more info - but that will probably have to wait 16.1.3 since we corrected a LOT of issues regarding the logging, outputs and error handling :/.

Cheers,

C.

Comment 2 Cédric Jeanneret 2020-11-04 16:21:53 UTC
Sounds like a duplicate of https://bugzilla.redhat.com/show_bug.cgi?id=1891210 - that one has more details, and sounds like the same thing.

Though in your case, we don't know if you actually have selinux issues or not...

Comment 4 MD Sufiyan 2020-11-05 14:54:11 UTC
Hi Cedric,

Unfortunately, I don't see any denial error in audit.log 

(undercloud) [stack@undercloud-0 ~]$ sudo grep -i denied /var/log/audit/ -nr

Is there any specific thing you want to have a look at? I also have access to the system let me know in case you want to have a quick look

I'm available in rhos-upgrdes and sbr-stack as msufiyan

Thanks

Sufiyan

Comment 5 Gaël Chamoulaud 2020-12-03 10:09:56 UTC

*** This bug has been marked as a duplicate of bug 1891210 ***