Details
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
1.
|
[RN] DBaaS: cannot create PSMDB cluster with 1.12 operator |
![]() |
Done | Unassigned |