Bug 1793564

Summary: [ceph-ansible] : rolling_update : norebalance flag is to be unset when playbook completes
Product: [Red Hat Storage] Red Hat Ceph Storage Reporter: Vasishta <vashastr>
Component: Ceph-AnsibleAssignee: Guillaume Abrioux <gabrioux>
Status: CLOSED ERRATA QA Contact: Ameena Suhani S H <amsyedha>
Severity: medium Docs Contact: Bara Ancincova <bancinco>
Priority: medium    
Version: 4.0CC: amsyedha, aschoen, ceph-eng-bugs, ceph-qe-bugs, gabrioux, gmeno, hyelloji, jbrier, knortema, nthomas, pasik, pcfe, tserlin, ykaul
Target Milestone: rcFlags: hyelloji: needinfo-
Target Release: 4.1   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: ceph-ansible-4.0.15-1.el8, ceph-ansible-4.0.15-1.el7 Doc Type: Bug Fix
Doc Text:
.Ansible unsets the `norebalance` flag after it completes Previously, Ansible did not unset the `norebalance` flag and it had to be unset manually. With this update, the `rolling-update.yml` Ansible playbook unsets the `norebalance` flag automatically after it completes and a manual unset is not required.
Story Points: ---
Clone Of: Environment:
Last Closed: 2020-05-19 17:32: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: 1818917    
Bug Blocks: 1811582, 1730176, 1816167    

Description Vasishta 2020-01-21 15:11:20 UTC
Description of problem:
rolling_update sets norebalance during execution of playbook but doesn't undet the flag

Version-Release number of selected component (if applicable):
$ rpm -qa|grep ceph-ansible
ceph-ansible-4.0.10-1.el7cp.noarch


How reproducible:
Always (3/3)

Steps to Reproduce:
1. Configure a ceph cluster and run rolling update


Actual results:
Rolling update sets norebalance flag during rolling update, but doesn't unset

Expected results:
rolling_update should unset flags that it sets during execution of playbook

Additional info:

Comment 8 Ameena Suhani S H 2020-04-16 12:51:53 UTC
Verified using [1]. Moving the bug to "VERIFIED" state.

[1]- ansible-2.8.10-1.el7ae.noarch
   - ceph-ansible-4.0.19-1.el7cp.noarch

Comment 10 errata-xmlrpc 2020-05-19 17:32: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/RHSA-2020:2231