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 1572032

Summary: [ceph-ansible] - rolling update not working on cluster intialised using iso
Product: [Red Hat Storage] Red Hat Ceph Storage Reporter: Vasishta <vashastr>
Component: Ceph-AnsibleAssignee: Sébastien Han <shan>
Status: CLOSED ERRATA QA Contact: subhash <vpoliset>
Severity: high Docs Contact:
Priority: high    
Version: 2.5CC: adeza, aschoen, ceph-eng-bugs, gmeno, hnallurv, kdreyer, nthomas, rperiyas, sankarshan
Target Milestone: rc   
Target Release: 3.1   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: RHEL: ceph-ansible-3.0.33-1.el7cp Ubuntu: ceph-ansible_3.0.33-2redhat1 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2018-09-26 18:19:46 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 Vasishta 2018-04-26 03:40:45 UTC
Description of problem:
rolling update completing its run without updating the cluster when cluster was initialised using iso image.

Version-Release number of selected component (if applicable):
ceph-ansible-3.0.25-1.el7cp.noarch

How reproducible:
Always (3/3)

Steps to Reproduce:
1. Configure ceph cluster using iso image (n-1 version)
2. Try to upgrade the cluster to latest version.

Actual results:
Cluster is not getting updated

Expected results:
Cluster must get updated

Additional info:

It can be observed that the task "copy red hat storage iso content for redhat systems" is not working as copying of latest iso contents to ceph_rhcs_repository_path is getting skipped as the file README exists in the directory already when previous iso contents were copied.

"changed": false,
    "cmd": "cp -r /tmp/rh-storage-mount/* /tmp/rh-storage-repo",
    "invocation": {
        "module_args": {
            "_raw_params": "cp -r /tmp/rh-storage-mount/* /tmp/rh-storage-repo",
            "_uses_shell": true,
            "chdir": null,
            "creates": "/tmp/rh-storage-repo/README",
            "executable": null,
            "removes": null,
            "stdin": null,
            "warn": true
        }
    },
    "rc": 0,
    "stdout": "skipped, since /tmp/rh-storage-repo/README exists",
    "stdout_lines": [
        "skipped, since /tmp/rh-storage-repo/README exists"

Comment 3 Ken Dreyer (Red Hat) 2018-05-10 21:50:10 UTC
Resolved in v3.0.33 (stable-3.0) and v3.1.0beta9 (stable-3.1).

Comment 6 subhash 2018-07-05 19:48:21 UTC
Brought up a ceph cluster using an (n-1)Iso,then Downloaded new ceph iso(n), replaced path,enabled upgrade_packages in all.yml and ran rolling update.yml.Cluster got upgraded to n version successfully.Hence moving to Verified 

Verified with version ceph-ansible-3.1.0-0.1.rc9.el7cp.noarch ,
ansible-2.4.5.0-1.el7ae.noarch

Comment 8 errata-xmlrpc 2018-09-26 18:19:46 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