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

Swift Ring Files ConfigMap fails with 'oc apply' during Controlplane Adoption

XMLWordPrintable

    • Moderate

      During Swift migration as part of RHOSP to RHOSO control plane adoption, the documentation instructs users to create the Swift ring files ConfigMap using 'oc apply'.This fails when ring files are large, due to a Kubernetes annotation size limit.

      Error:
      [root@xxxx-r660 controlplane]# oc apply -f swift-ring-files-configmap.yaml 
      The ConfigMap "swift-ring-files" is invalid: metadata.annotations: Too long: must have at most 262144 bytes

      So, the workaround is to use "oc create" instead.

      [root@xxxx-r660 controlplane]# oc create -f swift-ring-files-configmap.yaml 
      configmap/swift-ring-files created.

      But, any later updates to swift-ring-files configmap will fail.

              kgilliga@redhat.com Katie Gilligan
              rpulapak@redhat.com Rajesh Pulapakula
              rhos-dfg-perfscale
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated: