Skip to content

Failed to upgrade from vertica-operator v25.2.0 to v25.3.0 #1378

@alita1991

Description

@alita1991

After upgrading the verticadb-operator from version 23.2.0 to 23.3.0, I am unable to create or upgrade VerticaDB instances. What I did was to update the deprecated field nmaTLSSecret with httpsNMATLSSecret.

Warning HTTPServerNotSetup 2m48s (x108 over 27m) verticadb-operator The httpsNMATLS.secret must be set when running with vclusterops deployment (unexpected behaviour)

Additionally, while attempting to create or upgrade VerticaDB instances, the operator generated over 17,000 Kubernetes secrets, which is not the expected behavior.

vertica            vertica-single-https-tls-rdzwl           kubernetes.io/tls                3      19m
vertica            vertica-single-https-tls-rfxwg           kubernetes.io/tls                3      3m29s
vertica            vertica-single-https-tls-rj4wd           kubernetes.io/tls                3      9m2s
vertica            vertica-single-https-tls-rt9zj           kubernetes.io/tls                3      5m56s
vertica            vertica-single-https-tls-rzgpt           kubernetes.io/tls                3      13m
vertica            vertica-single-https-tls-s79sd           kubernetes.io/tls                3      23m

The VerticaDB instance manifest used for deployment is the following:

apiVersion: vertica.com/v1
kind: VerticaDB
metadata:
  name: vertica-single
  annotations:
    vertica.com/k-safety: "0"
    vertica.com/nma-resources-requests-cpu: "250m"
    vertica.com/nma-resources-requests-memory: "256Mi"
    vertica.com/nma-resources-limits-cpu: "1"
    vertica.com/nma-resources-limits-memory: "1Gi"
    argocd.argoproj.io/sync-wave: "1"
spec:
  httpsNMATLSSecret: vertica-nma-tls
  image: opentext/vertica-k8s:25.2.0-3-minimal
  imagePullPolicy: Always
  imagePullSecrets:
    - name: vertica-pull-secret
  securityContext:
    allowPrivilegeEscalation: false
    readOnlyRootFilesystem: true
    capabilities:
      drop:
        - ALL
  podSecurityContext:
    fsGroup: 10001
    runAsUser: 10001
    runAsGroup: 10001
    runAsNonRoot: true
    seccompProfile:
      type: RuntimeDefault
  communal:
    path: "s3://vertica/vertica-single"
    endpoint: http://minio.minio.svc:80
    credentialSecret: minio-s3-creds
  local:
    requestSize: 50Gi
  volumes:
    - name: tmp
      emptyDir: {}
  volumeMounts:
    - name: tmp
      mountPath: /tmp
  subclusters:
    - name: defaultsubcluster
      size: 1
      resources:
        requests:
          cpu: 250m
          memory: 512Mi
          ephemeral-storage: 64Mi
        limits:
          cpu: 4
          memory: 4Gi
          ephemeral-storage: 128Mi
      affinity:
        podAntiAffinity:
          requiredDuringSchedulingIgnoredDuringExecution:
            - labelSelector:
                matchLabels:
                  app.kubernetes.io/instance: vertica-single
              topologyKey: kubernetes.io/hostname
  shardCount: 1

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions