Bug 2118673
| Summary: | [Validation] Stack_health validation is failing due to old token in inventory file | ||
|---|---|---|---|
| Product: | Red Hat OpenStack | Reporter: | Ravi Singh <ravsingh> |
| Component: | openstack-tripleo-validations | Assignee: | OSP Team <rhos-maint> |
| Status: | CLOSED DUPLICATE | QA Contact: | nlevinki <nlevinki> |
| Severity: | medium | Docs Contact: | |
| Priority: | medium | ||
| Version: | 16.2 (Train) | CC: | anbs, dpeacock, jjoyce, joflynn, jpodivin, jschluet, slinaber, tvignaud |
| Target Milestone: | --- | ||
| Target Release: | --- | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | If docs needed, set a value | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2022-09-01 14:13:38 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: | 2123298 | ||
| Bug Blocks: | |||
*** This bug has been marked as a duplicate of bug 2123298 *** |
Description of problem: Stack_health validation is failing due to invalid token if fresh inventory file is not being before validation being run. +++ [stack@undercloud-new ~]$ openstack tripleo validator run --group post-upgrade --inventory inventory.yaml +--------------------------------------+---------------------------+--------+--------------------------+------------------------------------------------------------------------------------------------------------------------------+-------------------+-------------+ | UUID | Validations | Status | Host_Group | Status_by_Host | Unreachable_Hosts | Duration | +--------------------------------------+---------------------------+--------+--------------------------+------------------------------------------------- | 21a6614c-ddde-4a22-91db-0d65f66b1835 | stack-health | FAILED | undercloud | undercloud | { "hosts": { "undercloud": { "_ansible_no_log": null, "action": "assert", "failed": true, "msg": "An unhandled exception occurred while running the lookup plugin 'stack_resources'. Error was a <class 'keystoneauth1.exceptions.http.NotFound'>, original message: Failed to validate token (HTTP 404) (Request-ID: req-b7c3e1a3-80dd-4e2c-aa11-34c86ef87cd1)" Version-Release number of selected component (if applicable): 16.2 How reproducible: Every time Steps to Reproduce: 1. Run FFU from 13->16 2. Post upgrade validation resulted in stack_health failure. 3. Actual results: validation failed Expected results: should pass. Additional info: