Bug 1836369 - [FFU] overcloud ceph-upgrade run failed when using "ceph::profile::params::osds: {}" in ExtraConfig
Summary: [FFU] overcloud ceph-upgrade run failed when using "ceph::profile::params::o...
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat OpenStack
Classification: Red Hat
Component: openstack-tripleo-common
Version: 13.0 (Queens)
Hardware: All
OS: Linux
medium
medium
Target Milestone: z13
: 13.0 (Queens)
Assignee: Giulio Fidente
QA Contact: David Rosenfeld
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2020-05-15 17:48 UTC by MD Sufiyan
Modified: 2023-10-06 20:08 UTC (History)
4 users (show)

Fixed In Version: openstack-tripleo-common-8.7.1-23.el7ost
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2020-10-28 18:23:44 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Launchpad 1893066 0 None None None 2020-08-26 15:10:39 UTC
OpenStack gerrit 748257 0 None MERGED Make check_hieradata not fail on empty values of ceph::profile::params::osds 2020-09-15 12:30:39 UTC
Red Hat Issue Tracker OSP-29440 0 None None None 2023-10-06 20:08:38 UTC
Red Hat Product Errata RHBA-2020:4388 0 None None None 2020-10-28 18:24:00 UTC

Description MD Sufiyan 2020-05-15 17:48:17 UTC
Description of problem:

overcloud ceph-upgrade run failed when using "ceph::profile::params::osds: {}" in ExttraConfig:

~~~
engine.log:2020-05-15 11:45:05.573 1728 INFO workflow_trace [req-b1c27f8c-d313-4c62-82c2-16528d92617a 97d5c028d50a4d7780ddf042fabf1cc0 72e26db738aa46e08719b9b17fe2d7e4 - default
default] Task 'ceph_base_ansible_workflow' (eb6ee5b2-785d-4220-a624-413abc1ff616) [RUNNING -> ERROR, msg=Ceph deployment stopped, puppet-ceph hieradata found. Convert it into ceph-ansible variables. [u'ceph::profile::params::osds']] (execution_id=252a055a-932e-4edc-9d4c-d6fc17786e4e)
~~~

~~~
$.keys().flatten().select(regex('^ceph::profile::params::osds$').search($)).where($ != null)
~~~

>> It is failing due to "{}" which is an empty hash thus not being considered as a null value and returns as if there were devices still defined.

This change seems to be recommended via doc bug as per BZ[1] but it seems to code for same is not working

[1]https://bugzilla.redhat.com/show_bug.cgi?id=1738592


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

Actual results:
overcloud ceph-upgrade run is failing

Expected results:
overcloud ceph-upgrade should pass

Comment 17 errata-xmlrpc 2020-10-28 18:23:44 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 (Red Hat OpenStack Platform 13.0 director bug fix 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-2020:4388


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