Bug 1817586 - Failing to deploy HCI setup, ceph-ansible failing, osd_pool_default_crush_rule is not defined
Summary: Failing to deploy HCI setup, ceph-ansible failing, osd_pool_default_crush_rul...
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Ceph Storage
Classification: Red Hat Storage
Component: Ceph-Ansible
Version: 4.1
Hardware: Unspecified
OS: Unspecified
unspecified
high
Target Milestone: rc
: 4.1
Assignee: Guillaume Abrioux
QA Contact: Vasishta
URL:
Whiteboard:
Depends On:
Blocks: 1760354
TreeView+ depends on / blocked
 
Reported: 2020-03-26 15:52 UTC by Miguel Angel Nieto
Modified: 2020-05-19 17:33 UTC (History)
13 users (show)

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:
Clone Of:
Environment:
Last Closed: 2020-05-19 17:33:09 UTC
Embargoed:
hyelloji: needinfo-


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Github ceph ceph-ansible pull 5200 0 None closed facts: always set osd_pool_default_crush_rule 2021-01-20 16:40:45 UTC
Red Hat Product Errata RHSA-2020:2231 0 None None None 2020-05-19 17:33:31 UTC

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


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