Bug 1619255 - 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 ERRATA
Alias: None
Product: Red Hat Ceph Storage
Classification: Red Hat Storage
Component: Ceph-Ansible
Version: 3.1
Hardware: Unspecified
OS: Unspecified
unspecified
medium
Target Milestone: rc
: 3.1
Assignee: Sébastien Han
QA Contact: ceph-qe-bugs
URL:
Whiteboard:
Depends On:
Blocks: 1619212
TreeView+ depends on / blocked
 
Reported: 2018-08-20 13:00 UTC by John Fulton
Modified: 2018-09-26 18:24 UTC (History)
9 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: 2018-09-26 18:24:01 UTC
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Github ceph ceph-ansible pull 3042 0 None None None 2018-08-20 14:07:21 UTC
Red Hat Product Errata RHBA-2018:2819 0 None None None 2018-09-26 18:24:50 UTC

Description John Fulton 2018-08-20 13:00:58 UTC
Run of ceph-ansible-3.1.0-0.1.rc18.el7cp.noarch fails with the following:

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 .

ceph-ansible-3.1.0-0.1.rc18.el7cp.noarch

Output of ceph-ansible run:

 https://bugzilla.redhat.com/attachment.cgi?id=1477127

Comment 10 errata-xmlrpc 2018-09-26 18:24:01 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/RHBA-2018:2819


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