You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
On a healthy cluster with prereqs fulfilled and default values used, pso-db-* pods don't get created, even though pso-db-cockroach-operator doesn't log errors apparently.
$ kubectl logs -n cloud-system pso-db-cockroach-operator-7544d54f88-rddx2
{"level":"info","ts":1634851114.5586638,"logger":"cmd","msg":"","is_debug_mode":false}
{"level":"info","ts":1634851114.5587416,"logger":"cmd","msg":"Go Version: go1.15.12"}
{"level":"info","ts":1634851114.5587597,"logger":"cmd","msg":"Go OS/Arch: linux/amd64"}
{"level":"info","ts":1634851114.558776,"logger":"cmd","msg":"Version of operator-sdk: v0.6.0"}
{"level":"info","ts":1634851114.5588267,"logger":"cmd","msg":"Setting max startup duration to 600 seconds"}
{"level":"info","ts":1634851114.5588372,"logger":"cmd","msg":"Setting max suspect duration to 3600 seconds"}
{"level":"info","ts":1634851114.5588984,"logger":"cmd","msg":"Did not find config file for affinity"}
{"level":"info","ts":1634851114.5589225,"logger":"cmd","msg":"Successfully parsed config file","file":"affinity","value":"&Affinity{NodeAffinity:nil,PodAffinity:nil,PodAntiAffinity:nil,}"}
{"level":"info","ts":1634851114.5635457,"logger":"cmd","msg":"Did not find config file for tolerations"}
{"level":"info","ts":1634851114.5637438,"logger":"cmd","msg":"Successfully parsed config file","file":"tolerations","value":null}
{"level":"info","ts":1634851114.564393,"logger":"cmd","msg":"Successfully parsed config file","file":"resources","value":"&ResourceRequirements{Limits:ResourceList{memory: {{1073741824 0} {<nil>} 1Gi BinarySI},},Requests:ResourceList{},}"}
{"level":"info","ts":1634851114.5646725,"logger":"cmd","msg":"Did not find config file for nodeSelector"}
{"level":"info","ts":1634851114.5646825,"logger":"cmd","msg":"Successfully parsed config file","file":"nodeSelector","value":{}}
{"level":"info","ts":1634851114.565181,"logger":"leader","msg":"Trying to become the leader."}
{"level":"info","ts":1634851115.1553597,"logger":"leader","msg":"No pre-existing lock was found."}
{"level":"info","ts":1634851115.1731136,"logger":"leader","msg":"Became the leader."}
{"level":"info","ts":1634851115.4093795,"logger":"cmd","msg":"Registering Components."}
{"level":"info","ts":1634851115.4163942,"logger":"kubebuilder.controller","msg":"Starting EventSource","controller":"intrusion-controller","source":"kind source: /, Kind="}
{"level":"info","ts":1634851115.4169033,"logger":"kubebuilder.controller","msg":"Starting EventSource","controller":"intrusion-controller","source":"kind source: /, Kind="}
{"level":"info","ts":1634851115.4232342,"logger":"kubebuilder.controller","msg":"Starting EventSource","controller":"intrusion-controller","source":"kind source: /, Kind="}
{"level":"info","ts":1634851115.424368,"logger":"kubebuilder.controller","msg":"Starting EventSource","controller":"intrusion-controller","source":"kind source: /, Kind="}
{"level":"info","ts":1634851115.42497,"logger":"kubebuilder.controller","msg":"Starting EventSource","controller":"intrusion-controller","source":"kind source: /, Kind="}
{"level":"info","ts":1634851115.4254565,"logger":"kubebuilder.controller","msg":"Starting EventSource","controller":"intrusion-controller","source":"kind source: /, Kind="}
time="2021-10-21T21:18:35Z" level=info msg="Successfully started watches." reconciler_name=controller_intrusion
{"level":"info","ts":1634851115.8073902,"logger":"metrics","msg":"Metrics Service object created","Service.Name":"cockroach-operator","Service.Namespace":"cloud-system"}
{"level":"info","ts":1634851115.8074362,"logger":"cmd","msg":"Starting the Cmd."}
{"level":"info","ts":1634851116.115943,"logger":"kubebuilder.controller","msg":"Starting Controller","controller":"intrusion-controller"}
{"level":"info","ts":1634851116.2169046,"logger":"kubebuilder.controller","msg":"Starting workers","controller":"intrusion-controller","worker count":1}
$ kubectl get intrusion --all-namespaces
No resources found
$ kubectl logs -n cloud-system pso-db-deployer-6748ddc94-zrclh
time="2021-10-21T21:18:35Z" level=info is_debug_mode=false name=dbdeployer_cmd
time="2021-10-21T21:18:35Z" level=info msg="version info" OS=linux arch=amd64 go=go1.15.12 name=dbdeployer_cmd
{"level":"info","ts":1634851115.0486882,"logger":"leader","msg":"Trying to become the leader."}
{"level":"info","ts":1634851115.4552867,"logger":"leader","msg":"No pre-existing lock was found."}
{"level":"info","ts":1634851115.4713528,"logger":"leader","msg":"Became the leader."}
time="2021-10-21T21:18:35Z" level=info msg="Registering Components." name=dbdeployer_cmd
{"level":"info","ts":1634851115.8281531,"logger":"kubebuilder.controller","msg":"Starting EventSource","controller":"dbdeployer-controller","source":"kind source: /, Kind="}
{"level":"info","ts":1634851115.8284357,"logger":"kubebuilder.controller","msg":"Starting EventSource","controller":"dbdeployer-controller","source":"kind source: /, Kind="}
time="2021-10-21T21:18:35Z" level=info msg="Starting the Cmd." name=dbdeployer_cmd
{"level":"info","ts":1634851116.0308127,"logger":"kubebuilder.controller","msg":"Starting Controller","controller":"dbdeployer-controller"}
{"level":"info","ts":1634851116.1313999,"logger":"kubebuilder.controller","msg":"Starting workers","controller":"dbdeployer-controller","worker count":1}
time="2021-10-21T21:18:36Z" level=info msg="--------------------- Begin reconcile ---------------------" reconciler_name=dbdeployer_controller request=cloud-system/sh.helm.release.v1.topolvm.v2
time="2021-10-21T21:18:36Z" level=info msg="--------------------- Begin reconcile ---------------------" reconciler_name=dbdeployer_controller request=cloud-system/sh.helm.release.v1.topolvm.v5
time="2021-10-21T21:18:36Z" level=info msg="--------------------- Begin reconcile ---------------------" reconciler_name=dbdeployer_controller request=cloud-system/pure-provisioner-secret
time="2021-10-21T21:18:36Z" level=info msg="Discovery json validated successfully"
time="2021-10-21T21:18:36Z" level=warning msg="could not get intrusion" error="Intrusion.pso.purestorage.com \"pso-db\" not found" reconciler_name=dbdeployer_controller
time="2021-10-21T21:18:36Z" level=warning msg="could not get intrusion" error="Intrusion.pso.purestorage.com \"pso-db\" not found" reconciler_name=dbdeployer_controller
time="2021-10-21T21:18:36Z" level=error msg="unable to create initial intrusion: Intrusion.pso.purestorage.com \"pso-db\" is invalid: [status.underreplicatedRanges: Invalid value: \"null\": status.underreplicatedRanges in body must be of type integer: \"null\", status.asOf: Invalid value: \"null\": status.asOf in body must be of type string: \"null\", status.initialized: Invalid value: \"null\": status.initialized in body must be of type boolean: \"null\", status.readyNodes: Invalid value: \"null\": status.readyNodes in body must be of type string: \"null\", status.replicas: Invalid value: \"null\": status.replicas in body must be of type array: \"null\", status.status: Invalid value: \"null\": status.status in body must be of type string: \"null\", status.totalRanges: Invalid value: \"null\": status.totalRanges in body must be of type integer: \"null\", status.unavailableRanges: Invalid value: \"null\": status.unavailableRanges in body must be of type integer: \"null\"]" reconciler_name=dbdeployer_controller
time="2021-10-21T21:18:36Z" level=error msg="Failed applying replicas" error="Intrusion.pso.purestorage.com \"pso-db\" is invalid: [status.underreplicatedRanges: Invalid value: \"null\": status.underreplicatedRanges in body must be of type integer: \"null\", status.asOf: Invalid value: \"null\": status.asOf in body must be of type string: \"null\", status.initialized: Invalid value: \"null\": status.initialized in body must be of type boolean: \"null\", status.readyNodes: Invalid value: \"null\": status.readyNodes in body must be of type string: \"null\", status.replicas: Invalid value: \"null\": status.replicas in body must be of type array: \"null\", status.status: Invalid value: \"null\": status.status in body must be of type string: \"null\", status.totalRanges: Invalid value: \"null\": status.totalRanges in body must be of type integer: \"null\", status.unavailableRanges: Invalid value: \"null\": status.unavailableRanges in body must be of type integer: \"null\"]"
The text was updated successfully, but these errors were encountered:
On a healthy cluster with prereqs fulfilled and default values used, pso-db-* pods don't get created, even though pso-db-cockroach-operator doesn't log errors apparently.
Any help will be appreciated.
The text was updated successfully, but these errors were encountered: