Bug 1492224 - 'statleftover' is undefined
Summary: 'statleftover' is undefined
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Ceph Storage
Classification: Red Hat Storage
Component: Ceph-Ansible
Version: 3.0
Hardware: Unspecified
OS: Unspecified
high
high
Target Milestone: rc
: 3.0
Assignee: Sébastien Han
QA Contact: Vasishta
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2017-09-15 20:37 UTC by Alfredo Deza
Modified: 2017-12-05 23:43 UTC (History)
10 users (show)

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:
Clone Of:
Environment:
Last Closed: 2017-12-05 23:43:31 UTC
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Github ceph ceph-ansible pull 1915 0 None None None 2017-09-18 13:04:29 UTC
Red Hat Product Errata RHBA-2017:3387 0 normal SHIPPED_LIVE Red Hat Ceph Storage 3.0 bug fix and enhancement update 2017-12-06 03:03:45 UTC

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


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