Bug 1904907 - heketi dev build of OCS 3.11.6 can misinterpret pending entries in db created by older heketi versions
Summary: heketi dev build of OCS 3.11.6 can misinterpret pending entries in db created...
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Gluster Storage
Classification: Red Hat Storage
Component: heketi
Version: ocs-3.11
Hardware: Unspecified
OS: Unspecified
unspecified
high
Target Milestone: ---
: OCS 3.11.z Batch Update 6
Assignee: John Mulligan
QA Contact: susgupta
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2020-12-07 03:57 UTC by Raghavendra Talur
Modified: 2020-12-17 04:31 UTC (History)
6 users (show)

Fixed In Version: heketi-9.0.0-14.el7rhgs
Doc Type: No Doc Update
Doc Text:
Clone Of:
Environment:
Last Closed: 2020-12-17 04:31:42 UTC
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHBA-2020:5602 0 None None None 2020-12-17 04:31:56 UTC

Description Raghavendra Talur 2020-12-07 03:57:49 UTC
Description of problem:

If Heketi version 9.0.0-{10,11,12,13} load a db having pending operation entries  created by older heketi versions, it can misinterpret the operations and prevent clean up of the entries.

Version-Release number of selected component (if applicable):
9.0.0-{10,11,12,13}

How reproducible:
Always if the db has pending entries.


Steps to Reproduce:
1. Using heketi version 9.0.0-9 start some device remove operations.  
2. Scale down the heketi pod while the device remove operation is ongoing. It would help to have many bricks on the device being removed.
3. Edit the heketi deploymentConfig to point to a newer heketi image(the one with version > 9.0.0-9.5) and scale up the heketi pod.

You should see log messages which error out cleaning the pending errors.



Actual results:


Expected results:


Additional info:

Comment 13 errata-xmlrpc 2020-12-17 04:31:42 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 (OpenShift Container Storage 3.11.z bug fix update), 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-2020:5602


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