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

[Doc] - Incorrect OpenStackDataPlaneNodeSet example for " Configuring the data plane to use the Red Hat Ceph Storage cluster"

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Normal Normal
    • rhos.18.0.z
    • rhos-18.0.z
    • documentation
    • None
    • False
    • Hide

      None

      Show
      None
    • False
    • ?
    • rhos-storage
    • None
    • Moderate

      This doc: 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-data-plane-to-use-ceph_ceph-back-end

      Section: 3.5. Configuring the data plane to use the Red Hat Ceph Storage cluster

      The OpenStackDataPlaneNodeSet in Procedure step 4 seems to be wrong:

      apiVersion: dataplane.openstack.org/v1beta1
      kind: OpenStackDataPlaneNodeSet
      spec:
        ...
        roles:               #<<<<REMOVE
          edpm-compute:      #<<<<REMOVE
            ...              #<<<<REMOVE
            services:
              - redhat
              - bootstrap
              - download-cache
              - configure-network
              - validate-network
              - install-os
              - configure-os
              - ssh-known-hosts
              - run-os
              - reboot-os
              - install-certs
              - ceph-client
              - ovn
              - neutron-metadata
              - libvirt
              - nova-custom-ceph
              - telemetry
      
        nodeTemplate:
          extraMounts:
          - extraVolType: Ceph
            volumes:
            - name: ceph
              secret:
                secretName: ceph-conf-files
            mounts:
            - name: ceph
              mountPath: "/etc/ceph"
              readOnly: true
      

      Should be:

      apiVersion: dataplane.openstack.org/v1beta1
      kind: OpenStackDataPlaneNodeSet
      spec:
        ...
        services:
        - redhat
        - bootstrap
        - download-cache
        - configure-network
        - validate-network
        - install-os
        - configure-os
        - ssh-known-hosts
        - run-os
        - reboot-os
        - install-certs
        - ceph-client
        - ovn
        - neutron-metadata
        - libvirt
        - nova-custom-ceph
        - telemetry
      
        nodeTemplate:
          extraMounts:
          - extraVolType: Ceph
            volumes:
            - name: ceph
              secret:
                secretName: ceph-conf-files
            mounts:
            - name: ceph
              mountPath: "/etc/ceph"
              readOnly: true
      

      In this doc there is no reference to "roles" CR property for OpenStackDataPlaneNodeSet

      https://docs.redhat.com/en/documentation/red_hat_openstack_services_on_openshift/18.0/html-single/deploying_red_hat_openstack_services_on_openshift/index#ref_OpenStackDataPlaneNodeSet-CR-properties_dataplane

      I also don't see "roles" as a property when looking at the OSDPNS CRD:

      $ oc get -n openstack crd/openstackdataplanenodesets.dataplane.openstack.org -o json |jq -r '.spec.versions.[].schema.openAPIV3Schema.properties.spec.properties | keys'
      [
        "baremetalSetTemplate",
        "env",
        "networkAttachments",
        "nodeTemplate",
        "nodes",
        "preProvisioned",
        "secretMaxSize",
        "services",
        "tags",
        "tlsEnabled"
      ]
      
      

              rhn-support-jelynch Jenny-Anne Lynch
              mflusche@redhat.com Mathew Flusche
              rhos-storage-integration
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

                Created:
                Updated:
                Resolved: