Skip to content

Cannot search according to openshift_version #403

@apodhrad

Description

@apodhrad

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)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions