Bug 2255302 - Set cephfs_filesystem_name by heat templates
Summary: Set cephfs_filesystem_name by heat templates
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat OpenStack
Classification: Red Hat
Component: openstack-tripleo-heat-templates
Version: 17.1 (Wallaby)
Hardware: All
OS: Linux
medium
high
Target Milestone: z4
: 17.1
Assignee: Manoj Katari
QA Contact: Alfredo
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2023-12-19 23:59 UTC by Conrado Gusso Bozza
Modified: 2024-11-21 09:30 UTC (History)
10 users (show)

Fixed In Version: openstack-tripleo-heat-templates-14.3.1-17.1.20240109090801.e7c7ce3.el9ost
Doc Type: Bug Fix
Doc Text:
Before this update, you could not set the required `cephfs_filesystem_name` driver configuration parameter for an external Red Hat Ceph Storage cluster directly in director's heat template parameters. This issue required the creation of a YAML file and an `ExtraConfig` parameter to create a Shared File Systems service (manila) share. This update introduces the `ManilaCephFSFileSystemName` parameter to heat templates, where you can update the file system name directly and successfully create a share.
Clone Of:
Environment:
Last Closed: 2024-11-21 09:29:58 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Issue Tracker OSP-30959 0 None None None 2023-12-19 23:59:56 UTC
Red Hat Knowledge Base (Solution) 7049941 0 None None None 2024-01-18 14:49:18 UTC
Red Hat Product Errata RHSA-2024:9978 0 None None None 2024-11-21 09:30:00 UTC

Description Conrado Gusso Bozza 2023-12-19 23:59:08 UTC
Description of problem:
Create a share in Manila fail with [1] if there are multiple filesystems at Ceph external cluster and the parameter cephfs_filesystem_name is not correct set in controllers.


Version-Release number of selected component (if applicable):
Red Hat Openstack Plataform 17.1

How reproducible:
Always

Steps to Reproduce:
1. Deploy a overcloud with a external Ceph cluster with multiple filesystems and Manila.
2. Create a Manila share of a Ceph filesystem.
3. Check the creation status and log.

Actual results:
- The share stay in error state and appear the log [1].
- A workaround is to set the parameter manually in each controller, but it's can be overwritten by a overcloud deploy.

Expected results:
Set the parameter in templates and create a share with success.

Additional info:
[1] 2023-12-19 17:12:47.543 9 ERROR manila.share.manager manila.exception.ShareBackendException: Share backend error: Specify Ceph filesystem name using 'cephfs_filesystem_name' driver option.

Dhill created a patch.
https://review.opendev.org/c/openstack/tripleo-heat-templates/+/904034?tab=comments

Comment 4 Manoj Katari 2024-01-11 12:30:50 UTC
removed needinfo as Goutham answered the query in Comment3

Comment 17 Manoj Katari 2024-10-16 13:33:05 UTC
Hi Greg,

Bug is fixed and targeted for z4, @alfrgarc can comment on verification part.

In z4 release notes, i agree that it should be a 'Bug fix' rather than a 'known issue'.

Comment 27 errata-xmlrpc 2024-11-21 09:29:58 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 (Moderate: RHOSP 17.1.4 (openstack-tripleo-heat-templates) security 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/RHSA-2024:9978


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