Bug 1589792 - ceph-osd: set 'openstack_keys_tmp' only when 'openstack_config' is defined.
Summary: ceph-osd: set 'openstack_keys_tmp' only when 'openstack_config' is defined.
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:
TreeView+ depends on / blocked
 
Reported: 2018-06-11 12:03 UTC by Sébastien Han
Modified: 2019-10-24 05:38 UTC (History)
9 users (show)

Fixed In Version: RHEL: ceph-ansible-3.1.0-0.1.rc9.el7cp Ubuntu: ceph-ansible_3.1.0~rc9-2redhat1
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2018-09-26 18:21:59 UTC
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Github ceph ceph-ansible pull 2743 0 None None None 2018-06-11 12:03:31 UTC
Red Hat Product Errata RHBA-2018:2819 0 None None None 2018-09-26 18:23:08 UTC

Description Sébastien Han 2018-06-11 12:03:08 UTC
Description of problem:

"set_fact openstack_keys_tmp" is a task which was added for backward compatibility since module ceph_key  has been introduced, this task should be run only if openstack_config is True.


How reproducible:
Deploy a cluster with openstack_config: False


Actual results:
the task "set_fact openstack_keys_tmp" is run while it's not necessary.


Expected results:
the task "set_fact openstack_keys_tmp" is skipped.


Additional info:

Comment 7 subhash 2018-06-14 16:09:27 UTC
Have deployed the cluster with following all.yml vars set and the task set_fact openstack_keys_tmp is being skipped,will move it to verified state once it is ON_QA.

---
dummy:
fetch_directory: ~/ceph-ansible-keys
configure_firewall: True
ceph_origin: distro
ceph_repository: rhcs
monitor_interface: eno1 # "{{ ceph_mon_docker_interface if ceph_mon_docker_interface != 'interface' else 'interface' }}" # backward compatibility with stable-2.2, will disappear in stable 3.1
public_network: 10.8.128.0/21 #"{{ ceph_mon_docker_subnet if ceph_mon_docker_subnet != '0.0.0.0/0' else '0.0.0.0/0' }}" # backward compatibility with stable-2.2, will disappear in stable 3.1
openstack_config: false

Component version:
[ubuntu@magna046 ceph-ansible]$ rpm -qa | grep ansible
ceph-ansible-3.1.0-0.1.rc9.el7cp.noarch
ansible-2.4.4.0-1.el7ae.noarch

Comment 9 subhash 2018-06-18 17:33:51 UTC
Version-Release number of selected component (if applicable):
RHEL: ceph-ansible-3.1.0-0.1.rc9.el7cp 
Ubuntu: ceph-ansible_3.1.0~rc9-2redhat1

Issue no longer seen on rhel and ubuntu.

Comment 11 errata-xmlrpc 2018-09-26 18:21:59 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.