Bug 1748901

Summary: playbook run fails with undefined variable "discovered_interpreter_python"
Product: [Red Hat Storage] Red Hat Ceph Storage Reporter: Giulio Fidente <gfidente>
Component: Ceph-AnsibleAssignee: Francesco Pantano <fpantano>
Status: CLOSED ERRATA QA Contact: Ameena Suhani S H <amsyedha>
Severity: urgent Docs Contact:
Priority: urgent    
Version: 4.0CC: amsyedha, aschoen, ceph-eng-bugs, dsavinea, fpantano, gmeno, nthomas, tserlin, ykaul
Target Milestone: rc   
Target Release: 4.0   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: ceph-ansible-4.0.0-0.1.rc15.el8cp Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2020-01-31 12:47:06 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: 1594251    

Description Giulio Fidente 2019-09-04 12:10:12 UTC
The playbook run stops, as seen in [1], with:

2019-09-03 20:04:54,938 p=75940 u=root |  TASK [ceph-mon : generate monitor initial keyring] *****************************
2019-09-03 20:04:54,939 p=75940 u=root |  Tuesday 03 September 2019  20:04:54 +0000 (0:00:00.230)       0:02:07.906 ***** 
2019-09-03 20:04:54,988 p=75940 u=root |  fatal: [standalone]: FAILED! => 
  msg: |-
    The task includes an option with an undefined variable. The error was: 'discovered_interpreter_python' is undefined
  
    The error appears to be in '/usr/share/ceph-ansible/roles/ceph-mon/tasks/deploy_monitors.yml': line 12, column 3, but may
    be elsewhere in the file depending on the exact syntax problem.
  
    The offending line appears to be:
  
  
    - name: generate monitor initial keyring
      ^ here

1. https://storage.gra1.cloud.ovh.net/v1/AUTH_dcaab5e32b234d56b626f72581e3644c/logs_87/501987/26/check/tripleo-ci-centos-7-scenario004-standalone/ff417f4/logs/undercloud/home/zuul/undercloud-ansible-6p3aEk/ceph-ansible/ceph_ansible_command.log.txt.gz

Comment 1 RHEL Program Management 2019-09-04 12:10:17 UTC
Please specify the severity of this bug. Severity is defined here:
https://bugzilla.redhat.com/page.cgi?id=fields.html#bug_severity.

Comment 6 Ameena Suhani S H 2019-12-20 11:27:52 UTC
Verified using ceph version 14.2.4-85.el8cp

Moving the bug to "VERIFIED" state

Comment 8 errata-xmlrpc 2020-01-31 12:47:06 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-2020:0312