Bug 1533138

Summary: openstack undercloud upgrade completes but has error for post upgrade validations
Product: Red Hat OpenStack Reporter: Kevin Jones <kejones>
Component: openstack-tripleo-validationsAssignee: RHOS Maint <rhos-maint>
Status: CLOSED ERRATA QA Contact: Raviv Bar-Tal <rbartal>
Severity: urgent Docs Contact:
Priority: high    
Version: 12.0 (Pike)CC: augol, ccamacho, dbecker, emacchi, jamsmith, jjoyce, jschluet, mbracho, mbultel, mburns, morazi, rhel-osp-director-maint, rhos-maint, slinaber, tvignaud
Target Milestone: z3Keywords: Triaged, ZStream
Target Release: 12.0 (Pike)   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: openstack-tripleo-validations-7.4.9-1.el7ost Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2018-08-20 12:53:41 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 Kevin Jones 2018-01-10 14:53:54 UTC
Description of problem:
After running openstack undercloud upgrade to get the latest RHOSP 12, I saw the following error at the end of the standard out.

2018-01-09 21:40:48,220 ERROR: ERROR error running the validation groups ['post-upgrade']   {"stderr": "[DEPRECATION WARNING]: DEFAULT_SUDO_FLAGS option, In favor of become which is a\n generic framework . This feature will be removed in version 2.8. Deprecation \nwarnings can be disabled by setting deprecation_warnings=False in ansible.cfg.\n", "stdout": "Task 'fail' failed:\nHost: localhost\nMessage: The `HorizonPublic` endpoint is not defined in the `EndpointMap` of the deployed stack. This means Horizon may not have been deployed correctly.\n\nFailure! The validation failed for all hosts:\n* localhost\n"} {"stderr": "[DEPRECATION WARNING]: DEFAULT_SUDO_FLAGS option, In favor of become which is a\n generic framework . This feature will be removed in version 2.8. Deprecation \nwarnings can be disabled by setting deprecation_warnings=False in ansible.cfg.\n", "stdout": "Task 'Check stack resource statuses' failed:\nHost: localhost\nMessage: An unhandled exception occurred while running the lookup plugin 'stack_resources'. Error was a <class 'heatclient.exc.HTTPNotFound'>, original message: ERROR: The Stack (overcloud) could not be found.\n\nFailure! The validation failed for all hosts:\n* localhost\n"} Mistral execution ID: 4cd6ae21-7f1b-4857-9f1f-554539c4d561

2018-01-09 21:40:48,227 INFO: 
#############################################################################
Undercloud upgrade complete.

The file containing this installation's passwords is at
/home/stack/undercloud-passwords.conf.

There is also a stackrc file at /home/stack/stackrc.

These files are needed to interact with the OpenStack services, and should be
secured.

#############################################################################

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

How reproducible:
Unsure

Steps to Reproduce:
1. Make sure you have latest RHOSP 12 CDN
2. Follow update procedure for undercloud
3. See output just before completion message

Actual results:
Error displayed at end of undercloud upgrade output

Expected results:
No error shown

Additional info:
This was updating a RHOSP 12 beta undercloud to the latest 12 bits on CDN after GA

Comment 1 Carlos Camacho 2018-01-24 14:46:59 UTC
Fixed here: https://bugs.launchpad.net/tripleo/+bug/1742947

Comment 7 errata-xmlrpc 2018-08-20 12:53:41 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/RHBA-2018:2521