Bug 1857776 - Provide tools to generate input for CephExternalMultiConfig
Summary: Provide tools to generate input for CephExternalMultiConfig
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat OpenStack
Classification: Red Hat
Component: python-tripleoclient
Version: 16.1 (Train)
Hardware: Unspecified
OS: Unspecified
medium
medium
Target Milestone: z3
: 16.1 (Train on RHEL 8.2)
Assignee: John Fulton
QA Contact: Yogev Rabl
URL:
Whiteboard:
: 1808424 (view as bug list)
Depends On:
Blocks: 1802774 1879518 1882054 1894668
TreeView+ depends on / blocked
 
Reported: 2020-07-16 14:35 UTC by John Fulton
Modified: 2021-04-01 09:59 UTC (History)
12 users (show)

Fixed In Version: python-tripleoclient-12.3.2-1.20200914164929.el8ost
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2020-12-15 18:35:45 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Launchpad 1895034 0 None None None 2020-09-09 17:49:59 UTC
OpenStack gerrit 750812 0 None MERGED Add openstack overcloud export ceph 2021-02-05 20:18:25 UTC
OpenStack gerrit 754366 0 None MERGED Add openstack overcloud export ceph 2021-02-05 20:18:25 UTC
OpenStack gerrit 754402 0 None MERGED Add openstack overcloud export ceph 2021-02-05 20:18:25 UTC
Red Hat Product Errata RHEA-2020:5413 0 None None None 2020-12-15 18:36:19 UTC

Internal Links: 1808424 1901321

Description John Fulton 2020-07-16 14:35:53 UTC
The process to generate a valid CephExternalMultiConfig entry [1] from config-download when deploying storage on the Edge is cumbersome and error prone. 

As per bz 1808424 we can (and should) validate the entry syntactically, but there should also be a tool to generate to generate a yaml file with the necessary entries itself. Producing such a tool should be tracked in this BZ.

The tool would follow the same pattern as the work done for bz 1766711


[1]

  CephExternalMultiConfig:
    - cluster: 'ceph2'
      fsid: 'af25554b-42f6-4d2b-9b9b-d08a1132d3e8'
      external_cluster_mon_ips: '172.18.0.5,172.18.0.6,172.18.0.7'
      keys:
        - name: "client.openstack"
          caps:
            mgr: "allow *"
            mon: "profile rbd"
            osd: "osd: profile rbd pool=volumes, profile rbd pool=backups, profile rbd pool=vms, profile rbd pool=images"
          key: "AQCwmeRcAAAAABAA6SQU/bGqFjlfLro5KxrB1Q=="
          mode: "0600"
      dashboard_enabled: false
    - cluster: 'ceph3'
      fsid: 'e2cba068-5f14-4b0f-b047-acf375c0004a'
      external_cluster_mon_ips: '172.18.0.8,172.18.0.9,172.18.0.10'
      keys:
        - name: "client.openstack"
          caps:
            mgr: "allow *"
            mon: "profile rbd"
            osd: "osd: profile rbd pool=volumes, profile rbd pool=backups, profile rbd pool=vms, profile rbd pool=images"
          key: "AQCwmeRcAAAAABAA6SQU/bGqFjlfLro5KxrB2Q=="
          mode: "0600"
      dashboard_enabled: false

Comment 1 John Fulton 2020-07-16 14:52:01 UTC
I think this is a usability issue we should try to address in 16.1.z2

Comment 27 errata-xmlrpc 2020-12-15 18:35:45 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 (Red Hat OpenStack Platform 16.1.3 bug fix and enhancement 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/RHEA-2020:5413

Comment 28 John Fulton 2021-01-14 14:33:26 UTC
*** Bug 1808424 has been marked as a duplicate of this bug. ***


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