[lightos] Compression handling in lightos driver while default compression enabled

Bug #1962221 reported by yuval
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Cinder
Fix Released
Low
Unassigned

Bug Description

compression in volume_stats is currently reported as the default compression flag - where it should be a list ['True', 'False'].
another issue is when the flag is enabled you cannot create a volume without compression.
fix patchset: https://review.opendev.org/c/openstack/cinder/+/830538

Changed in cinder:
importance: Undecided → Low
status: New → In Progress
tags: added: lightos volume-stats
summary: - compression handling in lightos driver while default compression enabled
+ [lightos] Compression handling in lightos driver while default
+ compression enabled
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to cinder (master)

Reviewed: https://review.opendev.org/c/openstack/cinder/+/830538
Committed: https://opendev.org/openstack/cinder/commit/c04e2084f366e4728662ea73d9d6dc73b6e5b0e3
Submitter: "Zuul (22348)"
Branch: master

commit c04e2084f366e4728662ea73d9d6dc73b6e5b0e3
Author: yuval brave <email address hidden>
Date: Wed Feb 23 02:16:02 2022 +0200

    lightos - bugfix compression stats should be True

    the compression value in get_volume_stats should be ["True", "False"]
    and not dependent on the
    configuration: "lightos_default_compression_enabled"
    if the flag is false, we can not create volume type with
    compression=True. the backend is filtered in the scheduler.

    Closes-Bug: #1962221

    Signed-off-by: Yuval Brave <email address hidden>
    Change-Id: I09fe872eca1b112f67bad7297de5893696f83373

Changed in cinder:
status: In Progress → Fix Released
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix included in openstack/cinder 20.0.0.0rc1

This issue was fixed in the openstack/cinder 20.0.0.0rc1 release candidate.

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.