Bug 1876040
Summary: | validate-selinux fails because of missing /var/log/validations | ||
---|---|---|---|
Product: | Red Hat OpenStack | Reporter: | Takashi Kajinami <tkajinam> |
Component: | validations-common | Assignee: | Cédric Jeanneret <cjeanner> |
Status: | CLOSED ERRATA | QA Contact: | nlevinki <nlevinki> |
Severity: | high | Docs Contact: | |
Priority: | medium | ||
Version: | 16.1 (Train) | CC: | astupnik, cjeanner, emacchi, gchamoul, jjoyce, jschluet, mbultel, slinaber, tvignaud |
Target Milestone: | z3 | Keywords: | Triaged |
Target Release: | 16.1 (Train on RHEL 8.2) | ||
Hardware: | Unspecified | ||
OS: | Unspecified | ||
Whiteboard: | |||
Fixed In Version: | validations-common-1.1.2-1.20200914180305.el8ost | Doc Type: | No Doc Update |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2020-12-15 18:36:32 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
Takashi Kajinami
2020-09-05 05:51:04 UTC
I confirmed that the validate-selinux validation succeeds after I manually create /var/log/validations directory in overcloud nodes. ~~~ (undercloud) [stack@undercloud-0 ~]$ cat playbook-validations.yaml --- - name: Copy leapp data hosts: overcloud tasks: - name: Create validation log directory file: path: /var/log/validations state: directory owner: heat-admin group: heat-admin mode: 0755 become: yes (undercloud) [stack@undercloud-0 ~]$ ansible-playbook -i ~/inventory.yaml playbook-validations.yaml ... (undercloud) [stack@undercloud-0 ~]$ openstack tripleo validator run --group post-upgrade ... +--------------------------------------+---------------------------+--------+-----------------------+----------------------------------------------------------------------------+---------------------+-------------+ | UUID | Validations | Status | Host Group(s) | Status by Host | Unreachable Host(s) | Duration | +--------------------------------------+---------------------------+--------+-----------------------+----------------------------------------------------------------------------+---------------------+-------------+ | 525400df-30c2-281f-631e-00000000000b | container-status | PASSED | undercloud, overcloud | compute-0, compute-1, controller-0, controller-1, controller-2, undercloud | | 0:00:02.854 | | 525400df-30c2-351d-e55f-00000000000b | image-serve | PASSED | undercloud | undercloud | | 0:00:02.126 | | 525400df-30c2-9e5b-d59e-00000000000b | service-status | PASSED | undercloud, overcloud | compute-0, compute-1, controller-0, controller-1, controller-2, undercloud | | 0:00:01.012 | | 525400df-30c2-9fd4-0fbf-00000000000b | stack-health | PASSED | undercloud | undercloud | | 0:00:02.159 | | 525400df-30c2-b11d-ca63-00000000000b | openstack-endpoints | PASSED | undercloud | undercloud | | 0:00:01.915 | | 525400df-30c2-b526-b5de-00000000000b | undercloud-service-status | PASSED | undercloud | undercloud | | 0:00:01.868 | | 525400df-30c2-be75-2273-00000000000b | validate-selinux | PASSED | all | compute-0, compute-1, controller-0, controller-1, controller-2, undercloud | | 0:00:05.173 | +--------------------------------------+---------------------------+--------+-----------------------+----------------------------------------------------------------------------+---------------------+-------------+ ~~~ It seems that the same issue exists for pre-upgrade validation. I didn't detect this during my trial because most of pre-upgrade validation fails because of another bug[1] [1] https://bugzilla.redhat.com/show_bug.cgi?id=1873470 @Cédric I found you submitted the fix for this issue in upstream. Will you backport that patch to RHOSP16.1 as well ? I tried to find the bug report associated with that patch but couldn't find it because of wrong number in the commit message, but please close this bug as a duplicate if there are always a bug report for the same issue in bugzilla. Hello Takashi, I apparently pointed to the actual review instead of the launchpad bug ID X(. The LP is https://bugs.launchpad.net/tripleo/+bug/1892356 - I just closed it since everything merged... Regarding downstream: yep, my intend is to backport it, for z3 - on its way as of now. Sorry for the confused IDs.. Cheers, C. Me again. Apparently the tripleo-validations patches came late in, and the validation was moved to validations-common at some point, without the correction :(. So I've re-done the patch, pointing to the right LP and current BZ: https://review.opendev.org/759815 Sorry for the additional delay... Putting back ON_DEV. 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 (Red Hat OpenStack Platform 16.1.3 bug fix and enhancement advisory), 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-2020:5413 |