Skip to content

Oc client version on scale-ci-workload image needs to match oc server version #21

@wabouhamad

Description

@wabouhamad

Noticing different outputs from oc client running inside the scale-ci-workload pod, vs. the one that was downloaded from the https://openshift-release-artifacts.svc.ci.openshift.org/4.2.0-rc.5/ , which is what my oc server version.

Output differences (also see below):
No resources found in cakephp-mysql0 namespace.
vs
No resources found.

Image ID: quay.io/openshift-scale/scale-ci-workload@sha256:bc2f318694b8006ae6656b6e041608579c00ed37d89623264e3a54fe169580c2

Before updating the oc client manually inside the workloads pod:

# oc version
Client Version: v4.2.0-alpha.0-198-g3780d2d
Server Version: 4.2.0-rc.5
Kubernetes Version: v1.14.6+2e5ed54
# oc  get pods --no-headers --show-labels -n cakephp-mysql0 -l deploymentconfig=cakephp-mysql-example
No resources found in cakephp-mysql0 namespace.

After updating the oc client manually inside the workloads pod:

# oc version
Client Version: openshift-clients-4.2.0-201910041700
Server Version: 4.2.0-rc.5
Kubernetes Version: v1.14.6+2e5ed54

# oc get pods --no-headers --show-labels -n cakephp-mysql0 -l deploymentconfig=cakephp-mysql-example
No resources found.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions