Back to bug 1862416

Who When What Removed Added
Gaurav Sitlani 2020-07-31 13:11:16 UTC CC gsitlani
Matthias Muench 2020-08-03 09:54:21 UTC CC mmuench
Guillaume Abrioux 2020-08-04 14:34:16 UTC Target Release 5.* 4.1
Target Milestone rc z2
Guillaume Abrioux 2020-08-04 14:59:25 UTC Status NEW ASSIGNED
Link ID Github ceph/ceph-ansible/pull/5599
Veera Raghava Reddy 2020-08-11 18:07:00 UTC CC vereddy
Guillaume Abrioux 2020-08-13 14:16:40 UTC Status ASSIGNED POST
Tomas Petr 2020-08-18 07:05:40 UTC CC tpetr
errata-xmlrpc 2020-08-21 07:08:22 UTC Status POST MODIFIED
CC tserlin
Fixed In Version ceph-ansible-4.0.29-1.el8cp, ceph-ansible-4.0.29-1.el7cp
Status MODIFIED ON_QA
Aron Gunn 2020-09-09 02:24:28 UTC CC agunn, gabrioux
Docs Contact agunn
Flags needinfo?(gabrioux)
Guillaume Abrioux 2020-09-14 09:00:31 UTC Doc Text Cause: A missing default value on a condition makes the shrink-osd fail

Consequence: the shrink-osd playbook can fail when trying to close a dmcrypt on an 'old' ceph-disk prepared device when, if the key'encrypted' isn't present in the corresponding file in `/etc/ceph/osd` the task will fail because of a condition based on a key that will be undefined.

Fix: add a default value so the playbook doesn't fail

Result: shrink-osd playbook can now be run against dmcrypt osds that were prepared with ceph-disk
Doc Type If docs needed, set a value Bug Fix
Flags needinfo?(gabrioux)
Manasa 2020-09-14 12:13:26 UTC CC mgowri
Manasa 2020-09-14 12:14:00 UTC QA Contact amsyedha mgowri
Manasa 2020-09-14 12:18:01 UTC Status ON_QA VERIFIED
Aron Gunn 2020-09-14 21:06:30 UTC Doc Text Cause: A missing default value on a condition makes the shrink-osd fail

Consequence: the shrink-osd playbook can fail when trying to close a dmcrypt on an 'old' ceph-disk prepared device when, if the key'encrypted' isn't present in the corresponding file in `/etc/ceph/osd` the task will fail because of a condition based on a key that will be undefined.

Fix: add a default value so the playbook doesn't fail

Result: shrink-osd playbook can now be run against dmcrypt osds that were prepared with ceph-disk
.Ceph Ansible's `shrink-osd.yml` playbook fails when using FileStore in a containerized environment

A default value was missing in Ceph Ansible's `shrink-osd.yml` playbook, which was causing a failure when shrinking a FileStore-backed Ceph OSD in a containerized environment. A previously prepared Ceph OSD using `ceph-disk` and `dmcrypt`, was leaving the `encrypted` key undefined in the corresponding Ceph OSD file. With this release, a default value was added so the Ceph Ansible `shrink-osd.yml` playbook can ran on Ceph OSD that have been prepared using `dmcrypt` in containerized environments.
Aron Gunn 2020-09-14 21:06:45 UTC Blocks 1816167
errata-xmlrpc 2020-09-30 16:00:30 UTC Status VERIFIED RELEASE_PENDING
errata-xmlrpc 2020-09-30 17:26:56 UTC Status RELEASE_PENDING CLOSED
Resolution --- ERRATA
Last Closed 2020-09-30 17:26:56 UTC
errata-xmlrpc 2020-09-30 17:27:30 UTC Link ID Red Hat Product Errata RHBA-2020:4144

Back to bug 1862416