Bug 1619212 - set_fact rule_name before luminous: 'dict object' has no attribute u'dummy'
Summary: set_fact rule_name before luminous: 'dict object' has no attribute u'dummy'
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Red Hat Ceph Storage
Classification: Red Hat Storage
Component: Ceph-Ansible
Version: 3.1
Hardware: Unspecified
OS: Unspecified
urgent
urgent
Target Milestone: rc
: 3.1
Assignee: Sébastien Han
QA Contact: Yogev Rabl
URL:
Whiteboard:
Depends On: 1619255
Blocks:
TreeView+ depends on / blocked
 
Reported: 2018-08-20 11:05 UTC by Filip Hubík
Modified: 2019-01-08 17:28 UTC (History)
13 users (show)

Fixed In Version: RHEL: ceph-ansible-3.1.0-0.1.rc19.el7cp Ubuntu: ceph-ansible_3.1.0~rc19-2redhat1
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2019-01-08 17:28:13 UTC
Embargoed:


Attachments (Terms of Use)
/var/lib/mistral/config-download-latest/ansible.log (3.63 MB, text/plain)
2018-08-20 11:05 UTC, Filip Hubík
no flags Details

Description Filip Hubík 2018-08-20 11:05:32 UTC
Created attachment 1477127 [details]
/var/lib/mistral/config-download-latest/ansible.log

Description of problem:
Overcloud deployment fails during mistral deployment of ceph-ansible with error:

cat /var/lib/mistral/config-download-latest/ansible.log
...
"fatal: [ceph-0]: FAILED! => {\"msg\": \"The conditional check 'ceph_release_num[ceph_stable_release] < ceph_release_num['luminous']' failed. The error was: error while evaluating conditional (ceph_release_num[ceph_stable_release] < ceph_release_num['luminous']): 'dict object' has no attribute u'dummy'\\n\\nThe error appears to have been in '/usr/share/ceph-ansible/roles/ceph-osd/tasks/openstack_config.yml': line 21, column 3, but may\\nbe elsewhere in the file depending on the exact syntax problem.\\n\\nThe offending line appears to be:\\n\\n\\n- name: set_fact rule_name before luminous\\n  ^ here\\n\"}", "", "RUNNING HANDLER [ceph-defaults : set _mon_handler_called before restart] *******"
...
2018-08-20 06:32:21,418 p=1013 u=mistral |  NO MORE HOSTS LEFT *************************************************************
2018-08-20 06:32:21,419 p=1013 u=mistral |  PLAY RECAP *********************************************************************
2018-08-20 06:32:21,419 p=1013 u=mistral |  ceph-0                     : ok=99   changed=46   unreachable=0    failed=0   
2018-08-20 06:32:21,419 p=1013 u=mistral |  compute-0                  : ok=117  changed=57   unreachable=0    failed=0   
2018-08-20 06:32:21,419 p=1013 u=mistral |  controller-0               : ok=157  changed=78   unreachable=0    failed=0   
2018-08-20 06:32:21,419 p=1013 u=mistral |  undercloud                 : ok=22   changed=11   unreachable=0    failed=1   
2018-08-20 06:32:21,427 p=1013 u=mistral |  Monday 20 August 2018  06:32:21 -0400 (0:03:05.474)       0:13:03.457 ********* 
2018-08-20 06:32:21,428 p=1013 u=mistral |  ==============================================================================

Problem seems to be around Task "name: set_fact rule_name before luminous" from /usr/share/ceph-ansible/roles/ceph-osd/tasks/openstack_config.yml:21 .


Version-Release number of selected component (if applicable):
OSP14, puddle 2018-08-17.2, containerized UC

How reproducible:
100%

Steps to Reproduce:
1. Deploy OSP14, topology 1:1:1:1
2. Overcloud deployment fails

Additional info:
ceph-ansible-3.1.0-0.1.rc18.el7cp.noarch

Comment 1 John Fulton 2018-08-20 12:14:39 UTC
- Upstream CI is using ceph-ansible-3.1.0.0-0.rc12.1.el7.noarch [1]
- Issue came up using  ceph-ansible-3.1.0-0.1.rc18.el7cp.noarch

How are you controlling the ceph-ansible version you're using? Can you use ceph-ansible-3.1.0.0-0.rc12.1.el7.noarch which is passing in upstream CI?


[1] http://logs.openstack.org/21/583321/9/check/tripleo-ci-centos-7-scenario001-multinode-oooq-container/7bf226d/logs/undercloud/var/log/yum.log.txt.gz

Comment 3 John Fulton 2018-08-22 12:14:40 UTC
rc12 didn't address this. testing newer versions of ceph-ansible

Comment 8 Ken Dreyer (Red Hat) 2019-01-08 17:28:13 UTC
Latest available version is ceph-ansible-3.2.0-1.el7cp from http://access.redhat.com/errata/RHBA-2019:0020


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