Score:0

Cannot Install Greenplum on Kubernetes

us flag

I'm trying to install Greenplum on Kubernetes v2.3.0 on minikube for a project. After installing the greenplum-operator I cannot install Greenplum cluster it shows the following error -

"Error from server (InternalError): error when creating "my-gp-instance.yml": Internal error occurred: failed calling webhook "greenplum.pivotal.io": Post "https://greenplum-validating-webhook-service-d59bbbb85-bjwhr.default.svc:443/validate?timeout=10s": x509: certificate relies on legacy Common Name field, use SANs or temporarily enable Common Name matching with GODEBUG=x509ignoreCN=0"

I tried to search for answers on VMware connect hub but their login portal is down since past 2 weeks. Another work around I tried is deleting the validatingwebhookconfiguration.admissionregistration.k8s.io that operator creates inside kubernetes cluster. GreenPlum Cluster is created but cannot start the postgres process within.

greenplum-operator logs:

{"level":"INFO","ts":"2022-01-28T14:24:04.548Z","logger":"admission","msg":"CertificateSigningRequest: created"}
{"level":"INFO","ts":"2022-01-28T14:24:04.550Z","logger":"controller-runtime.controller","msg":"Starting Controller","controller":"greenplumcluster"}
{"level":"INFO","ts":"2022-01-28T14:24:04.550Z","logger":"controller-runtime.controller","msg":"Starting Controller","controller":"greenplumpxfservice"}
{"level":"INFO","ts":"2022-01-28T14:24:04.550Z","logger":"controller-runtime.controller","msg":"Starting workers","controller":"greenplumpxfservice","worker count":1}
{"level":"INFO","ts":"2022-01-28T14:24:04.550Z","logger":"controller-runtime.controller","msg":"Starting Controller","controller":"greenplumplservice"}
{"level":"INFO","ts":"2022-01-28T14:24:04.550Z","logger":"controller-runtime.controller","msg":"Starting workers","controller":"greenplumcluster","worker count":1}
{"level":"INFO","ts":"2022-01-28T14:24:04.550Z","logger":"controller-runtime.controller","msg":"Starting workers","controller":"greenplumplservice","worker count":1}
{"level":"INFO","ts":"2022-01-28T14:24:04.552Z","logger":"controller-runtime.controller","msg":"Starting Controller","controller":"greenplumtextservice"}
{"level":"INFO","ts":"2022-01-28T14:24:04.552Z","logger":"controller-runtime.controller","msg":"Starting workers","controller":"greenplumtextservice","worker count":1}
{"level":"INFO","ts":"2022-01-28T14:24:04.721Z","logger":"admission","msg":"ValidatingWebhookConfiguration: created"}
2022/01/28 14:26:00 http: TLS handshake error from 172.17.0.1:44580: remote error: tls: bad certificate

kubectl version:

Client Version: version.Info{Major:"1", Minor:"23", GitVersion:"v1.23.3", GitCommit:"816c97ab8cff8a1c72eccca1026f7820e93e0d25", GitTreeState:"clean", BuildDate:"2022-01-25T21:25:17Z", GoVersion:"go1.17.6", Compiler:"gc", Platform:"linux/amd64"}
Server Version: version.Info{Major:"1", Minor:"21", GitVersion:"v1.21.6", GitCommit:"d921bc6d1810da51177fbd0ed61dc811c5228097", GitTreeState:"clean", BuildDate:"2021-10-27T17:44:26Z", GoVersion:"go1.16.9", Compiler:"gc", Platform:"linux/amd64"}
WARNING: version difference between client (1.23) and server (1.21) exceeds the supported minor version skew of +/-1

minikube version:

minikube version: v1.25.0
commit: 3edf4801f38f3916c9ff96af4284df905a347c86

my-gp-instance.yml:

apiVersion: "greenplum.pivotal.io/v1"
kind: "GreenplumCluster"
metadata:
  name: my-greenplum
spec:
  masterAndStandby:
    hostBasedAuthentication: |
       host   all   gpadmin   0.0.0.0/0   trust
    memory: "800Mi"
    cpu: "0.5"
    storageClassName: standard
    storage: 1G
    workerSelector: {}
  segments:
    primarySegmentCount: 1
    memory: "800Mi"
    cpu: "0.5"
    storageClassName: standard
    storage: 2G
    workerSelector: {}
mangohost

Post an answer

Most people don’t grasp that asking a lot of questions unlocks learning and improves interpersonal bonding. In Alison’s studies, for example, though people could accurately recall how many questions had been asked in their conversations, they didn’t intuit the link between questions and liking. Across four studies, in which participants were engaged in conversations themselves or read transcripts of others’ conversations, people tended not to realize that question asking would influence—or had influenced—the level of amity between the conversationalists.