Validations not exposed any more in containerized undercloud

Bug #1786772 reported by Florian Fuchs
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
tripleo
Fix Released
High
Bogdan Dobrelya

Bug Description

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.

Revision history for this message
Ana Krivokapić (akrivoka) wrote :

Related to (or might even be fixed by) this patch https://review.openstack.org/#/c/590237/

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to tripleo-heat-templates (master)

Fix proposed to branch: master
Review: https://review.openstack.org/591387

Changed in tripleo:
assignee: nobody → Bogdan Dobrelya (bogdando)
status: Triaged → In Progress
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to tripleo-heat-templates (master)

Reviewed: https://review.openstack.org/591387
Committed: https://git.openstack.org/cgit/openstack/tripleo-heat-templates/commit/?id=e0d9e9eba2c57a56613cd3e6356efdc06dc13bbb
Submitter: Zuul
Branch: master

commit e0d9e9eba2c57a56613cd3e6356efdc06dc13bbb
Author: Bogdan Dobrelya <email address hidden>
Date: Mon Aug 13 15:30:51 2018 +0200

    Mount tripleo validations for mistral containers

    We need the package contents in mistral containers as it
    is installed on undercloud host.

    Closes-Bug: #1786772

    Change-Id: Ifa8d5ceab646a03b39e867d8af9ace5a100d34ac
    Signed-off-by: Bogdan Dobrelya <email address hidden>

Changed in tripleo:
status: In Progress → Fix Released
Revision history for this message
Florian Fuchs (flo-fuchs) wrote :

Just as a hint in case the above fix doesn't work:

Some of the validations rely on plugins that import from the tripleo_validations python package that is installed with openstack-tripleo-validation rpm. AFAICS the rpm isn't installed in any of the mistral containers, so mounting the /usr/share/openstack-tripleo-validations path might not be sufficient.

Revision history for this message
Bogdan Dobrelya (bogdando) wrote :

For that case, we should make sure the pluigns included into the kolla build containers overrides.
This should keep it flexible enough to allow testing of CI changes for tripleo-validations zuul dependencies, but not for the plugins.

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix included in openstack/tripleo-heat-templates 9.0.0.0rc1

This issue was fixed in the openstack/tripleo-heat-templates 9.0.0.0rc1 release candidate.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.