Uploaded image for project: 'Red Hat OpenStack Services on OpenShift'
  1. Red Hat OpenStack Services on OpenShift
  2. OSPRH-10086

Configuring the control plane to use Ceph contradictory instructions for Glance / GlanceAPI

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Normal Normal
    • rhos-18.0.0
    • rhos-18.0.0
    • documentation
    • None
    • 3
    • False
    • Hide

      None

      Show
      None
    • False
    • ?
    • ?
    • ?
    • ?
    • None
    • Moderate

      Configuring the control plane to use Ceph contradictory instructions for Glance / GlanceAPI in extraMounts

      https://docs.redhat.com/en/documentation/red_hat_openstack_services_on_openshift/18.0/html/configuring_persistent_storage/assembly_configuring-red-hat-ceph-storage-as-the-backend-for-rhosp-storage#proc_ceph-configuring-control-plane-to-use-ceph_ceph-back-end

      Step 8. - GlanceAPI:

      apiVersion: core.openstack.org/v1beta1
      kind: OpenStackControlPlane
      spec:
        extraMounts:
          - name: v1
            region: r1
            extraVol:
              - propagation:
                - CinderVolume
                - GlanceAPI
                - ManilaShare
                extraVolType: Ceph
                volumes:
                - name: ceph
                  projected:
                    sources:
                    - secret:
                        name: <ceph-conf-files>
                mounts:
                - name: ceph
                  mountPath: "/etc/ceph"
                  readOnly: true
      

      Versus step 9 "Glance":

      apiVersion: core.openstack.org/v1beta1
      kind: OpenStackControlPlane
      metadata:
        name: openstack
      spec:
        glance:
          template:
            customServiceConfig: |
              [DEFAULT]
              enabled_backends = default_backend:rbd
              [glance_store]
              default_backend = default_backend
              [default_backend]
              rbd_store_ceph_conf = /etc/ceph/ceph.conf
              store_description = "RBD backend"
              rbd_store_pool = images
              rbd_store_user = openstack
            databaseInstance: openstack
            databaseAccount: glance
            secret: osp-secret
            storage:
              storageRequest: 10G
        extraMounts:
          - name: v1
            region: r1
            extraVol:
              - propagation:
                - Glance
                extraVolType: Ceph
                volumes:
                - name: ceph
                  secret:
                    secretName: ceph-conf-files
                mounts:
                - name: ceph
                  mountPath: "/etc/ceph"
                  readOnly: true
      

      Which one is it, `Glance` or `GlanceAPI`? When specifying both, the Glance API pods will get 2x the same attachment, so both together do not work.

      Thanks!

              erpeters@redhat.com Erin Peterson
              akaris@redhat.com Andreas Karis
              rhos-dfg-storage-squad-ceph
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

                Created:
                Updated:
                Resolved: