Uploaded image for project: 'Percona Monitoring and Management'
  1. Percona Monitoring and Management
  2. PMM-10012

DBaaS: cannot create PSMDB cluster with 1.12 operator

Details

    • Bug
    • Status: Done
    • High
    • Resolution: Fixed
    • 2.27.0, 2.28.0
    • 2.31.0
    • None
    • None
    • Tried with Kubernetes v1.20.1 and v1.23.6

    • 5
    • Yes
    • Yes
    • No
    • [obsolete] Server Integrations

    Description

      User impact:

      User cannot create a PSMDB clusters with 1.12 operator

      Steps to reproduce:

      Register k8s cluster in dbaas
      Create a PSMDB cluster

      Actual result:

      Expected result:

       

      Workaround:

       

      Details:

       
      PSMDB operator and PXC operator releases it will be needed to add {{ --server-side}}  flag to kubectl apply  command if you apply crd.yaml }}or {{bundle.yaml . Also, CR validation was added (on k8s level).https://github.com/percona/percona-server-mongodb-operator#kubectl
       

      error: exit status 1
      cmd: /opt/dbaas-tools/bin/kubectl-1.16 --kubeconfig=/tmp/dbaas-controller-kubeconfig-3091788248 apply -f -
      stderr: error: error validating "STDIN": error validating data: [ValidationError(PerconaServerMongoDB.spec.sharding.mongos): unknown field "arbiter" in com.percona.psmdb.v1-12-0.PerconaServerMongoDB.spec.sharding.mongos, ValidationError(PerconaServerMongoDB.spec.sharding.mongos.expose): unknown field "enabled" in com.percona.psmdb.v1-12-0.PerconaServerMongoDB.spec.sharding.mongos.expose, ValidationError(PerconaServerMongoDB.spec.sharding): unknown field "operationProfiling" in com.percona.psmdb.v1-12-0.PerconaServerMongoDB.spec.sharding]; if you choose to ignore these errors, turn validation off with --validate=false

      Attachments

        Issue Links

          Activity

            People

              carlos.salguero Carlos Salguero (Inactive)
              beata.handzelova1 Beata Handzelova (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Smart Checklist