Bug 1817586

Summary: Failing to deploy HCI setup, ceph-ansible failing, osd_pool_default_crush_rule is not defined
Product: [Red Hat Storage] Red Hat Ceph Storage Reporter: Miguel Angel Nieto <mnietoji>
Component: Ceph-AnsibleAssignee: Guillaume Abrioux <gabrioux>
Status: CLOSED ERRATA QA Contact: Vasishta <vashastr>
Severity: high Docs Contact:
Priority: unspecified    
Version: 4.1CC: aschoen, ceph-eng-bugs, ceph-qe-bugs, dsavinea, fpantano, gabrioux, gfidente, gmeno, hyelloji, johfulto, nthomas, tserlin, ykaul
Target Milestone: rcFlags: hyelloji: needinfo-
Target Release: 4.1   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: ceph-ansible-4.0.18-1.el8cp, ceph-ansible-4.0.18-1.el7cp Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2020-05-19 17:33:09 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:    
Bug Blocks: 1760354    

Description Miguel Angel Nieto 2020-03-26 15:52:24 UTC
Description of problem:
Failing to deploy HCI setup using the following templates: https://gitlab.cee.redhat.com/mnietoji/deployment_templates/tree/master/ospd-16-vxlan-hci-dpdk-ctlplane-dataplane-bonding-hybrid-panther04

ansible-ceph is failing, osd_pool_default_crush_rule is not defined  
This task is failing because osd_pool_default_crush_rule is not defined  
        "TASK [ceph-osd : create openstack pool(s)] *************************************",
        "Wednesday 25 March 2020  16:16:15 +0000 (0:00:05.326)       0:05:33.326 ******* ",
        "fatal: [computehciovsdpdk-1]: FAILED! => ",
        "  msg: |-",
        "    The task includes an option with an undefined variable. The error was: 'osd_pool_default_crush_rule' is undefined",
        "    The error appears to be in '/usr/share/ceph-ansible/roles/ceph-osd/tasks/openstack_config.yml': line 14, column 7, but may",
        "    be elsewhere in the file depending on the exact syntax problem.",
        "    The offending line appears to be:",
        "        - name: create openstack pool(s)",
        "          ^ here",

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

[stack@undercloud-0 ~]$ rpm -q ceph-ansible
ceph-ansible-4.0.17-1.el8.noarch
[stack@undercloud-0 ~]$ rpm -q tripleo-ansible
tripleo-ansible-0.4.2-0.20200207140443.b750574.el8ost.noarch


How reproducible:
Deploy the following templates
https://gitlab.cee.redhat.com/mnietoji/deployment_templates/tree/master/ospd-16-vxlan-hci-dpdk-ctlplane-dataplane-bonding-hybrid-panther04


Actual results:
Overcloud deployment fails

Expected results:
Overcloud deployment executed sucessfully


Additional info:
I will upload sosreports

Comment 13 errata-xmlrpc 2020-05-19 17:33:09 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/RHSA-2020:2231