Note: This is a beta release of Red Hat Bugzilla 5.0. The data contained within is a snapshot of the live data so any changes you make will not be reflected in the production Bugzilla. Also email is disabled so feel free to test any aspect of the site that you want. File any problems you find or give feedback here.
Bug 1513565 - post-deployment validations return false positive SUCCESS output
Summary: post-deployment validations return false positive SUCCESS output
Keywords:
Status: POST
Alias: None
Product: Red Hat OpenStack
Classification: Red Hat
Component: openstack-tripleo-validations
Version: 10.0 (Newton)
Hardware: Unspecified
OS: Unspecified
low
low
Target Milestone: Upstream M1
: 15.0 (Stein)
Assignee: Florian Fuchs
QA Contact: nlevinki
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2017-11-15 15:46 UTC by Ola Pavlenko
Modified: 2019-04-10 05:18 UTC (History)
7 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed:


Attachments (Terms of Use)


Links
System ID Priority Status Summary Last Updated
OpenStack gerrit 500067 None None None 2018-08-07 11:31:15 UTC

Description Ola Pavlenko 2017-11-15 15:46:12 UTC
Description of problem:
Running "Check the status of the pacemaker cluster" validation when no overcloud was deployed returns a false positive Success output.

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

openstack-tripleo-validations-5.1.2-1.el7ost.noarch
openstack-tripleo-ui-1.2.1-1.el7ost.noarch

How reproducible:
always

Steps to Reproduce:
1.before deploying an overcloud run "Check the status of the pacemaker cluster" validation
2.
3.

Actual results:
Succeed 

Expected results:
Failed. 

Additional info:

Comment 1 Ola Pavlenko 2017-11-15 15:51:20 UTC
Same behavior for all post-deployment validations. 

from cli:
$ ansible-playbook  /usr/share/openstack-tripleo-validations/validations/pacemaker-status.yaml
 [WARNING]: Could not match supplied host pattern, ignoring: all

 [WARNING]: provided hosts list is empty, only localhost is available

 [WARNING]: Could not match supplied host pattern, ignoring: controller


PLAY [controller] *************************************************************************************************************************************************************************************************
skipping: no hosts matched

PLAY RECAP ********************************************************************************************************************************************************************************************************

Comment 2 Gaël Chamoulaud 2017-11-22 13:09:58 UTC
(In reply to Ola Pavlenko from comment #1)
> Same behavior for all post-deployment validations. 
> 
> from cli:
> $ ansible-playbook 
> /usr/share/openstack-tripleo-validations/validations/pacemaker-status.yaml
>  [WARNING]: Could not match supplied host pattern, ignoring: all
> 
>  [WARNING]: provided hosts list is empty, only localhost is available
> 
>  [WARNING]: Could not match supplied host pattern, ignoring: controller
> 
> 
> PLAY [controller]
> *****************************************************************************
> *****************************************************************************
> ***************************************
> skipping: no hosts matched
> 
> PLAY RECAP
> *****************************************************************************
> *****************************************************************************
> **********************************************

Do you have the same error including inventory script to your cli?

ansible-playbook -i $(which tripleo-ansible-inventory) /usr/share/openstack-tripleo-validations/validations/pacemaker-status.yaml


Note You need to log in before you can comment on or make changes to this bug.