clear the blocked message "non-pristine devices detected" when there is no non-pristine device anymore

Bug #1810508 reported by dongdong tao
12
This bug affects 2 people
Affects Status Importance Assigned to Milestone
Ceph OSD Charm
Fix Released
Low
dongdong tao

Bug Description

Currently, in the update_status hook
we can see it is trying to update the unit status and set the status to "Ready" if everything is real ready. however, it will fail if the previous status message is "Non-pristine devices detected .." even if there is no non-pristine device anymore.

dongdong tao (taodd)
description: updated
Changed in charm-ceph-osd:
assignee: nobody → dongdong tao (taodd)
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to charm-ceph-osd (master)

Fix proposed to branch: master
Review: https://review.openstack.org/628423

Changed in charm-ceph-osd:
status: New → In Progress
Changed in charm-ceph-osd:
milestone: none → 19.04
importance: Undecided → Low
tags: added: sts
Xav Paice (xavpaice)
tags: added: canonical-bootstack
Revision history for this message
Xav Paice (xavpaice) wrote :

Because of https://bugs.launchpad.net/charm-ceph-osd/+bug/1814995, I am also unable to run the add-disk action after running zap-disk, so this becomes a blocker for deploying ceph-osd once disks have been cleaned.

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to charm-ceph-osd (master)

Reviewed: https://review.openstack.org/628423
Committed: https://git.openstack.org/cgit/openstack/charm-ceph-osd/commit/?id=03247be7193e1fdc53a87bb50b1e732b34e0ad21
Submitter: Zuul
Branch: master

commit 03247be7193e1fdc53a87bb50b1e732b34e0ad21
Author: dongdong tao <email address hidden>
Date: Fri Jan 4 20:25:15 2019 +0800

    Clear the non-pristine blocked status

    We need to clear the blocked status "non-pristine device detected ..."
    when there is no non-pristine device anymore

    Change-Id: I2f31eb9c08be186c08554122c2a160bbcbf2c389
    Signed-off-by: dongdong tao <email address hidden>
    Closes-Bug: #1810508

Changed in charm-ceph-osd:
status: In Progress → Fix Committed
David Ames (thedac)
Changed in charm-ceph-osd:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.