Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.
This project is now read‑only. Starting Monday, February 2, please use https://ibm-ceph.atlassian.net/ for all bug tracking management.

Bug 1492224

Summary: 'statleftover' is undefined
Product: [Red Hat Storage] Red Hat Ceph Storage Reporter: Alfredo Deza <adeza>
Component: Ceph-AnsibleAssignee: Sébastien Han <shan>
Status: CLOSED ERRATA QA Contact: Vasishta <vashastr>
Severity: high Docs Contact:
Priority: high    
Version: 3.0CC: adeza, aschoen, ceph-eng-bugs, ceph-qe-bugs, gmeno, hnallurv, kdreyer, nthomas, sankarshan, seb
Target Milestone: rc   
Target Release: 3.0   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: RHEL: ceph-ansible-3.0.0-0.1.rc9.el7cp Ubuntu: ceph-ansible_3.0.0~rc9-2redhat1 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2017-12-05 23:43:31 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:

Description Alfredo Deza 2017-09-15 20:37:34 UTC
Description of problem: Attempting to deploy ceph-docker a task is run to check if there are leftover files from a cluster running.

The variable "statleftover" was removed and never added back to the new playbook, yet it is still being referenced


Version-Release number of selected component (if applicable):
ceph-ansible from commit 7fedc8ebf4565a9efb28a8f2e24a3f7a41932c49 (HEAD -> master, origin/master, origin/HEAD)


How reproducible: No need to even try to reproduce this. The var is completely undefined except where it is being consumed.


Actual results:
TASK [ceph-docker-common : stat for ceph config and keys] **********************
task path: /Users/alfredo/python/upstream/ceph-ansible/roles/ceph-docker-common/tasks/stat_ceph_files.yml:40

TASK [ceph-docker-common : fail if we find existing cluster files] *************
task path: /Users/alfredo/python/upstream/ceph-ansible/roles/ceph-docker-common/tasks/checks.yml:4
fatal: [ceph-mon0]: FAILED! => {
    "failed": true
}

MSG:

'statleftover' is undefined


Additional info: See commit:

commit a60c74f61eb4b7523ef6d4065624312bfd0aa03a
Author: Sébastien Han <seb>
Date:   Wed Aug 30 14:44:34 2017 +0200

    ceph-docker-common: re-organize stat ceph file

    Use a single file to run the checks instead of duplicating code.

    Signed-off-by: Sébastien Han <seb>

Comment 6 Vasishta 2017-10-06 15:14:58 UTC
Tried using ceph-ansible-3.0.0-0.1.rc15.el7cp.noarch, Looks good.
Moving to VERIFIED state.

Comment 9 errata-xmlrpc 2017-12-05 23:43:31 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-2017:3387