Bug 1862019

Summary: service-status fails on osp-16.1 - missing backport
Product: Red Hat OpenStack Reporter: Cédric Jeanneret <cjeanner>
Component: validations-commonAssignee: Cédric Jeanneret <cjeanner>
Status: CLOSED ERRATA QA Contact: nlevinki <nlevinki>
Severity: high Docs Contact:
Priority: high    
Version: 16.1 (Train)CC: drosenfe, gchamoul, jjoyce, jschluet, mbultel, slinaber, spower, tvignaud
Target Milestone: z3Keywords: 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: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2020-12-15 18:35:45 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: 1848578    

Description Cédric Jeanneret 2020-07-30 07:37:28 UTC
We need this backport in tripleo-validations:
https://review.opendev.org/743920

This would allow to get a smarter check on the services.

Comment 3 Gaël Chamoulaud 2020-09-22 10:04:05 UTC
Patch has been abandoned because this validation moved to validations-common

Comment 9 David Rosenfeld 2020-11-17 14:25:04 UTC
service-status validation is successful:

(undercloud) [stack@undercloud-0 ~]$ openstack tripleo validator run --validation service-status
Tuesday 17 November 2020  14:18:20 +0000 (0:00:00.047)       0:00:00.047 ****** 
Tuesday 17 November 2020  14:18:21 +0000 (0:00:00.662)       0:00:00.710 ****** 
Tuesday 17 November 2020  14:18:27 +0000 (0:00:05.903)       0:00:06.613 ****** 
Tuesday 17 November 2020  14:18:29 +0000 (0:00:02.663)       0:00:09.277 ****** 
Tuesday 17 November 2020  14:18:32 +0000 (0:00:02.925)       0:00:12.202 ****** 
Tuesday 17 November 2020  14:18:36 +0000 (0:00:03.570)       0:00:15.773 ****** 
Tuesday 17 November 2020  14:18:39 +0000 (0:00:03.070)       0:00:18.843 ****** 
Tuesday 17 November 2020  14:18:42 +0000 (0:00:02.574)       0:00:21.418 ****** 
Tuesday 17 November 2020  14:18:44 +0000 (0:00:02.660)       0:00:24.078 ****** 
Tuesday 17 November 2020  14:18:49 +0000 (0:00:04.915)       0:00:28.994 ****** 
Tuesday 17 November 2020  14:18:52 +0000 (0:00:03.073)       0:00:32.068 ****** 

Tuesday 17 November 2020  14:18:55 +0000 (0:00:02.817)       0:00:34.886 ****** 
=============================================================================== 
service_status : Gather package facts ----------------------------------- 5.90s
service_status : include_tasks ------------------------------------------ 4.92s
service_status : Get failed containers for podman ----------------------- 3.57s
service_status : Get failed services from Systemd ----------------------- 3.07s
service_status : Fail if we detect failed podman container -------------- 3.07s
service_status : Do we have podman -------------------------------------- 2.93s
service_status : Fails if we find failed systemd units ------------------ 2.82s
service_status : Is docker running -------------------------------------- 2.66s
service_status : Fail if we detect failed docker container -------------- 2.66s
service_status : Get failed containers from docker ---------------------- 2.57s
service_status : include_tasks ------------------------------------------ 0.66s
+--------------------------------------+----------------+--------+------------+----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+-------------------+-------------+
|                 UUID                 |  Validations   | Status | Host_Group |                                                                                        Status_by_Host                                                                                        | Unreachable_Hosts |   Duration  |
+--------------------------------------+----------------+--------+------------+----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+-------------------+-------------+
| c7775305-6fff-48e5-969b-ae19b9a2a25f | service-status | PASSED |    all     | ceph-0, ceph-1, ceph-2, compute-0, controller-0, controller-1, controller-2, database-0, database-1, database-2, messaging-0, messaging-1, messaging-2, networker-0, networker-1, undercloud |                   | 0:00:34.359 |
+--------------------------------------+----------------+--------+------------+----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+-------------------+-------------+

Comment 17 errata-xmlrpc 2020-12-15 18:35:45 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 (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