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

Bug 1615371

Summary: Validations not exposed any more in containerized undercloud
Product: Red Hat OpenStack Reporter: Florian Fuchs <flfuchs>
Component: openstack-tripleo-commonAssignee: Florian Fuchs <flfuchs>
Status: CLOSED ERRATA QA Contact: grozov
Severity: urgent Docs Contact:
Priority: high    
Version: 14.0 (Rocky)CC: augol, beth.white, dtrainor, flfuchs, grozov, jjoyce, jrist, jschluet, mbarnett, mburns, slinaber, tvignaud, ukalifon
Target Milestone: betaKeywords: Triaged
Target Release: 14.0 (Rocky)   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: openstack-tripleo-common-9.3.1-0.20180923215326.d22cb3e.el7ost openstack-tripleo-heat-templates-9.0.1-0.20181013060859.ffbe879.el7ost Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2019-01-11 11:51: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:

Description Florian Fuchs 2018-08-13 12:58:29 UTC
Description of problem:

The tripleo.validations.v1.list action results in an empty list in a containerized undercloud, instead of producing the list of validations. The openstack-tripleo-validations package seems to be installed on the undercloud itself, but not in any of the mistral containers. When the action is called via openstack action execution create, log entries related to the call are created in the mistral containers.

Version-Release number of selected component (if applicable):

Rocky latest master

How reproducible:
100%

Steps to Reproduce:
1. Install upstream master 
2. Call openstack action execution run tripleo.validations.v1.list
3.

Actual results:
{"result": []}

Expected results:
The result list should contain validations

Additional info:

Comment 1 Jason E. Rist 2018-08-21 19:49:33 UTC
They are also missing from the UI.

Comment 6 Florian Fuchs 2018-10-08 09:38:43 UTC
To clarify: This BZ tracks both the broken listing of the validations as well as broken validation executions via mistral.

Comment 7 Florian Fuchs 2018-10-09 13:09:54 UTC
*** Bug 1636747 has been marked as a duplicate of this bug. ***

Comment 9 Udi Kalifon 2018-11-05 01:18:32 UTC
I ran "openstack action execution run tripleo.validations.v1.list" and got:
Failed to find action [action_name=tripleo.validations.v1.list]

Should the correct command be "openstack action execution run tripleo.validations.list_validations"? Is there a difference?

Comment 10 Florian Fuchs 2018-11-05 17:25:20 UTC
(In reply to Udi from comment #9)
> I ran "openstack action execution run tripleo.validations.v1.list" and got:
> Failed to find action [action_name=tripleo.validations.v1.list]
> 
> Should the correct command be "openstack action execution run
> tripleo.validations.list_validations"? Is there a difference?

You can either use the workflow (and then poll the result) by using:

  openstack workflow execution create tripleo.validations.v1.list

Or us the action using:

  openstack action execution run tripleo.validations.list_validations

The latter one is a littler handier.

Comment 11 Udi Kalifon 2018-11-06 06:41:10 UTC
Verified: openstack-tripleo-ui-9.3.1-0.20180921180341.df30b55.el7ost.noarch

Comment 15 errata-xmlrpc 2019-01-11 11:51: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, 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-2019:0045