Bug 2119563

Summary: Deployment with external Ceph with NFS ganesha fails, error: Could not match supplied host pattern, ignoring: ceph_mon
Product: Red Hat OpenStack Reporter: Yogev Rabl <yrabl>
Component: openstack-tripleo-heat-templatesAssignee: Francesco Pantano <fpantano>
Status: CLOSED ERRATA QA Contact: Yogev Rabl <yrabl>
Severity: urgent Docs Contact:
Priority: urgent    
Version: 17.0 (Wallaby)CC: fpantano, gcharot, gouthamr, johfulto, jschluet, mburns, sbekkerm, stchen
Target Milestone: gaKeywords: Regression, Triaged
Target Release: 17.0   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Fixed In Version: openstack-tripleo-heat-templates-14.3.1-0.20220719171722.feca772.el9ost tripleo-ansible-3.3.1-0.20220720020864.fa5422f.el9ost Doc Type: No Doc Update
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2022-09-21 12:24:47 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 Yogev Rabl 2022-08-18 19:01:22 UTC
Description of problem:
A deployment of OSP with external Ceph with NFS Ganesha running on the controllers fails when OOO attempts to run the cephadm bootstrap command on the node ceph_mon[0].

Version-Release number of selected component (if applicable):
tripleo-ansible-3.3.1-0.20220720020863.fa5422f.el9ost.noarch

How reproducible:
100%

Steps to Reproduce:
1. Deploy external Ceph with Ganesha

Actual results:
The deployment fails with the error:

$ cat /home/stack/overcloud-deploy/overcloud/config-download/overcloud/cephadm/cephadm_command.log

Running /home/stack/overcloud-deploy/overcloud/config-download/overcloud/cephadm/cephadm_command.sh
2022-08-18 16:36:29,953 p=104780 u=stack n=ansible | [DEPRECATION WARNING]: ANSIBLE_CALLBACK_WHITELIST option, normalizing names to 
new standard, use ANSIBLE_CALLBACKS_ENABLED instead. This feature will be 
removed from ansible-core in version 2.15. Deprecation warnings can be disabled
 by setting deprecation_warnings=False in ansible.cfg.
2022-08-18 16:36:30,345 p=104780 u=stack n=ansible | [DEPRECATION WARNING]: "include" is deprecated, use include_tasks/import_tasks 
instead. This feature will be removed in version 2.16. Deprecation warnings can
 be disabled by setting deprecation_warnings=False in ansible.cfg.
2022-08-18 16:36:30,391 p=104780 u=stack n=ansible | [WARNING]: Could not match supplied host pattern, ignoring: ceph_mon

2022-08-18 16:36:30,393 p=104780 u=stack n=ansible | PLAY [Deploy Ceph with cephadm] ************************************************
2022-08-18 16:36:30,394 p=104780 u=stack n=ansible | skipping: no hosts matched
2022-08-18 16:36:30,396 p=104780 u=stack n=ansible | PLAY [Distribute the admin keyring] ********************************************
2022-08-18 16:36:30,396 p=104780 u=stack n=ansible | skipping: no hosts matched
2022-08-18 16:36:30,397 p=104780 u=stack n=ansible | PLAY RECAP *********************************************************************
2022-08-18 16:36:30,398 p=104780 u=stack n=ansible | 2022-08-18 16:36:30.397646 | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Summary Information ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
2022-08-18 16:36:30,398 p=104780 u=stack n=ansible | 2022-08-18 16:36:30.398152 | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Total Tasks: 0          ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
2022-08-18 16:36:30,399 p=104780 u=stack n=ansible | 2022-08-18 16:36:30.398602 | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Elapsed Time: 0:00:00.008817 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
2022-08-18 16:36:30,399 p=104780 u=stack n=ansible | 2022-08-18 16:36:30.399123 |                                 UUID |       Info |       Host |   Task Name |   Run Time
2022-08-18 16:36:30,399 p=104780 u=stack n=ansible | 2022-08-18 16:36:30.399573 | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ End Summary Information ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

Expected results:
TripleO should not attempt to run bootstrap with an external Ceph

Additional info:

Comment 7 Yogev Rabl 2022-08-29 13:33:47 UTC
Verified

Comment 8 John Fulton 2022-08-29 15:14:53 UTC
*** Bug 2113872 has been marked as a duplicate of this bug. ***

Comment 12 errata-xmlrpc 2022-09-21 12:24:47 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 (Release of components for Red Hat OpenStack Platform 17.0 (Wallaby)), 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-2022:6543