openshift-online / ocm-cli

CLI for the Red Hat OpenShift Cluster Manager
Apache License 2.0
78 stars 138 forks source link

Cannot search according to openshift_version #403

Open apodhrad opened 2 years ago

apodhrad commented 2 years ago

OCM version: 0.1.64

This command works

$ ocm list clusters --parameter search="openshift_version like '%'" --columns "id, openshift_version"
ID                                OPENSHIFT_VERSION 
1u5q63je0j29nf2e1hjl6807on87euj4  4.11.0

but this one doesn't work

$ ocm list clusters --parameter search="openshift_version like '4.11%'" --columns "id, openshift_version"
ID                                OPENSHIFT_VERSION 

Potential workaround exists

$ ocm list clusters --parameter search="version.id like 'openshift-v4.11%'" --columns "id, openshift_version"
ID                                OPENSHIFT_VERSION 
1u5q63je0j29nf2e1hjl6807on87euj4  4.11.0 

but that's not exactly the same (openshift_version is received from telemetry)

dofinn commented 11 months ago

Bump on this :)