Details
-
Bug
-
Status: Done
-
Low
-
Resolution: Fixed
-
3.3.0
-
None
-
0.5
Description
As stated in the summary, the tool should avoid trying to get PXC-related information when it knows it runs against PSMDB operator.
$ ~/bin/pt-k8s-debug-collector --namespace sktest-psmdb-prod --cluster sktest-psmdb-prod --resource psmdb 2021/02/10 11:33:29 Start collecting cluster data 2021/02/10 11:33:55 Error: get resource perconaxtradbbackups in namespace sktest-psmdb-prod: error: exit status 1, stderr: error: the server doesn't have a resource type "perconaxtradbbackups" , stdout: 2021/02/10 11:33:56 Error: get resource perconaxtradbclusterbackups in namespace sktest-psmdb-prod: error: exit status 1, stderr: error: the server doesn't have a resource type "perconaxtradbclusterbackups" , stdout: 2021/02/10 11:33:57 Error: get resource perconaxtradbclusterrestores in namespace sktest-psmdb-prod: error: exit status 1, stderr: error: the server doesn't have a resource type "perconaxtradbclusterrestores" , stdout: 2021/02/10 11:33:58 Error: get resource perconaxtradbclusters in namespace sktest-psmdb-prod: error: exit status 1, stderr: error: the server doesn't have a resource type "perconaxtradbclusters" , stdout: 2021/02/10 11:34:03 Done
When executed without arguments against context where there's no PXC, the errors are repeated multiple times for each namespace.