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

Finalizer is missing from Memcached CR

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Normal Normal
    • None
    • rhos-18.0.0
    • infra-operator
    • False
    • Hide

      None

      Show
      None
    • False
    • ?
    • ?
    • ?
    • ?
    • None
    • Low

      Even though many service operators are configured to use the deployed memchached instance not all of them putting a finalizer on the resource.

      $ oc get Memcached -o yaml
      apiVersion: v1
      items:
      - apiVersion: memcached.openstack.org/v1beta1
        kind: Memcached
        metadata:
          creationTimestamp: "2024-06-26T12:02:16Z"
          finalizers:
          - openstack.org/keystoneapi
          - openstack.org/novaconductor
          - openstack.org/novaapi
          - openstack.org/novametadata
          - openstack.org/novascheduler
          - openstack.org/novanovncproxy
          generation: 8
          name: memcached
          namespace: openstack
      
      ❯ oc get openstackcontrolplane -o yaml | yq e '.. | select(. == "*") | {(path | join(".")): .} '  | grep "memcachedInstance: memcached"
      items.0.spec.cinder.template.memcachedInstance: memcached
      items.0.spec.glance.template.memcachedInstance: memcached
      items.0.spec.heat.template.memcachedInstance: memcached
      items.0.spec.horizon.template.memcachedInstance: memcached
      items.0.spec.keystone.template.memcachedInstance: memcached
      items.0.spec.manila.template.memcachedInstance: memcached
      items.0.spec.neutron.template.memcachedInstance: memcached
      items.0.spec.nova.template.memcachedInstance: memcached
      items.0.spec.swift.template.memcachedInstance: memcached
      items.0.spec.swift.template.swiftProxy.memcachedInstance: memcached
      items.0.spec.swift.template.swiftStorage.memcachedInstance: memcached
      

      This can lead to premature deletion of the memcached resource.

              Unassigned Unassigned
              rh-ee-bgibizer Balazs Gibizer
              rhos-dfg-ospk8s
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated: