Bug 1829765 - Unable to set report_discard_supported for cinder in RHSOP-13
Summary: Unable to set report_discard_supported for cinder in RHSOP-13
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat OpenStack
Classification: Red Hat
Component: puppet-cinder
Version: 13.0 (Queens)
Hardware: All
OS: All
low
medium
Target Milestone: z12
: 13.0 (Queens)
Assignee: Alan Bishop
QA Contact: Tzach Shefi
Chuck Copello
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2020-04-30 09:46 UTC by Srinivas Atmakuri
Modified: 2023-10-06 19:52 UTC (History)
6 users (show)

Fixed In Version: puppet-cinder-12.4.1-6.el7ost
Doc Type: Bug Fix
Doc Text:
Before this update, the cinder RBD driver did not perform trim or discard operations, which prevented users from trimming unused spaces from cinder RBD volumes. With this update, the cinder RBD driver now supports trim and discard operations.
Clone Of:
Environment:
Last Closed: 2020-06-24 11:33:20 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
OpenStack gerrit 623530 0 None MERGED RBD: Report discard is supported 2020-08-31 22:41:29 UTC
Red Hat Issue Tracker OSP-29428 0 None None None 2023-10-06 19:52:30 UTC
Red Hat Product Errata RHBA-2020:2718 0 None None None 2020-06-24 11:33:46 UTC

Description Srinivas Atmakuri 2020-04-30 09:46:14 UTC
When deploying the tripleo, the cinder.conf setting "report_discard_supported" should be set true to enable the use of discard (trim/unmap).

Request to backport the below BZ for RHOSP-13.,
https://bugzilla.redhat.com/show_bug.cgi?id=1566619

Comment 9 Tzach Shefi 2020-06-09 17:05:24 UTC
Verified on:
puppet-cinder-12.4.1-7.el7ost.noarch

With an RBD backed system we see the report_discard_supported parameter indeed is set to true. 

[root@controller-0 ~]# grep report_discard /var/lib/config-data/puppet-generated/cinder/etc/cinder/cinder.conf 
#report_discard_supported = false
#report_discard_supported = false
report_discard_supported=True

Comment 11 errata-xmlrpc 2020-06-24 11:33:20 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/RHBA-2020:2718


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