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

Multi-cell specific dataSources require custom osdpservices created per a cell during adoption, which should be avoided

XMLWordPrintable

    • 2
    • False
    • Hide

      None

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

      Adoption of multicell deployments requires creation of a cell specific custom osdp services as they need to provide dataSources for custom configmaps/secrets. Like in this OpenStackDataPlaneService snippet:

      ---
      apiVersion: dataplane.openstack.org/v1beta1
      kind: OpenStackDataPlaneService
      ...
      spec:
        dataSources:
        - secretRef:
            name: nova-migration-ssh-key
        - secretRef:
            name: nova-cell<X>-compute-config
        - configReg:
            name: nova-extra-config
        edpmServiceType: nova
        playbook: osp.edpm.nova
        tlsCerts:...
      
      During a single-cell adoption testing (also as documented in the guide), the creation of custom services no longer happens. This works for single-cell by a chance(?), but would not for a multiple cells case.
      
      Alternatively, (and ideally) we should only specify "edpmServiceType: nova" for all cells, with no custom osdp services to be created as well. This simple auto-templating for dataSources should be covered in nova-operator and openstack-operator (the dataplane part of it), when it processes the cells templates perhaps.

              Unassigned Unassigned
              bdobreli@redhat.com Bohdan Dobrelia
              rhos-dfg-df
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Created:
                Updated:
                Resolved: