Description of problem: While checking installed kuryr-k8s-controller package version within pod it is giving wrong output. It would be good if the package version and the service version were consistent. Now the --version call returns zero: ~~~ (venv) [builr@HGH openshift]$ kubectl exec kuryr-controller-5747b7f-tnc86 -n openshift-kuryr -- kuryr-k8s-controller --version 0.0.0 (venv) [builr@HG openshift]$ kubectl exec kuryr-controller-5747b7f-tnc86 -n openshift-kuryr -- pip3 freeze | grep kuryr kuryr-kubernetes==0.0.0 kuryr-lib==1.1.1 ~~~ Version-Release number of selected component (if applicable): How reproducible: Steps to Reproduce: 1. 2. 3. Actual results: The output of the command returns zero. Expected results: Its should give the proper version number from the output of the command. Additional info:
I'll just go ahead and mark it as VERIFIED, it's clearly working fine now with both OKD and OCP's 4.6.0-0.nightly-2020-06-16-105323: mdulko:~/ $ docker run -it --entrypoint bash quay.io/openshift/origin-kuryr-controller:4.6.0 bash-4.4$ kuryr-k8s-controller --version 4.6.0 bash-4.4$ python3 -m pip freeze | grep kuryr-kubernetes kuryr-kubernetes==4.6.0 mdulko:~/ $ docker run -it registry.svc.ci.openshift.org/ocp/release:4.6.0-0.nightly-2020-06-16-105323 image kuryr-controller Unable to find image 'registry.svc.ci.openshift.org/ocp/release:4.6.0-0.nightly-2020-06-16-105323' locally 4.6.0-0.nightly-2020-06-16-105323: Pulling from ocp/release a3ac36470b00: Pull complete 82a8f4ea76cb: Pull complete d094068878fd: Pull complete fcbeb171efe1: Pull complete 50ab3a42c67a: Pull complete bf95fc75ee27: Pull complete Digest: sha256:fb8c851a294c3a8f7bb206d79a294bdcd1f39e0909d502da3eff224dbcefbed1 Status: Downloaded newer image for registry.svc.ci.openshift.org/ocp/release:4.6.0-0.nightly-2020-06-16-105323 quay.io/openshift-release-dev/ocp-v4.0-art-dev@sha256:c6db5fc0db9f9532b3962355e40aad5cf77e3f20eaff617fa11339804addd1ba% mdulko:~/ $ docker run -it --entrypoint bash quay.io/openshift-release-dev/ocp-v4.0-art-dev@sha256:c6db5fc0db9f9532b3962355e40aad5cf77e3f20eaff617fa11339804addd1ba Unable to find image 'quay.io/openshift-release-dev/ocp-v4.0-art-dev@sha256:c6db5fc0db9f9532b3962355e40aad5cf77e3f20eaff617fa11339804addd1ba' locally sha256:c6db5fc0db9f9532b3962355e40aad5cf77e3f20eaff617fa11339804addd1ba: Pulling from openshift-release-dev/ocp-v4.0-art-dev 1a6747857d79: Already exists fc5aa93e3b58: Already exists bc972d59d264: Pull complete 19a01a9d3452: Pull complete Digest: sha256:c6db5fc0db9f9532b3962355e40aad5cf77e3f20eaff617fa11339804addd1ba Status: Downloaded newer image for quay.io/openshift-release-dev/ocp-v4.0-art-dev@sha256:c6db5fc0db9f9532b3962355e40aad5cf77e3f20eaff617fa11339804addd1ba bash-4.4$ kuryr-k8s-controller --version 4.6.0 bash-4.4$ python3 -m pip freeze | grep kuryr-kubernetes The directory '/var/lib/kuryr/.cache/pip/http' or its parent directory is not owned by the current user and the cache has been disabled. Please check the permissions and owner of that directory. If executing pip with sudo, you may want sudo's -H flag. kuryr-kubernetes==4.6.0
(In reply to Michał Dulko from comment #5) > I'll just go ahead and mark it as VERIFIED, it's clearly working fine now > with both OKD and OCP's 4.6.0-0.nightly-2020-06-16-105323: > > mdulko:~/ $ docker run -it --entrypoint bash > quay.io/openshift/origin-kuryr-controller:4.6.0 > bash-4.4$ kuryr-k8s-controller --version > 4.6.0 > bash-4.4$ python3 -m pip freeze | grep kuryr-kubernetes > kuryr-kubernetes==4.6.0 > mdulko:~/ $ docker run -it > registry.svc.ci.openshift.org/ocp/release:4.6.0-0.nightly-2020-06-16-105323 > image kuryr-controller > Unable to find image > 'registry.svc.ci.openshift.org/ocp/release:4.6.0-0.nightly-2020-06-16- > 105323' locally > 4.6.0-0.nightly-2020-06-16-105323: Pulling from ocp/release > a3ac36470b00: Pull complete > 82a8f4ea76cb: Pull complete > d094068878fd: Pull complete > fcbeb171efe1: Pull complete > 50ab3a42c67a: Pull complete > bf95fc75ee27: Pull complete > Digest: > sha256:fb8c851a294c3a8f7bb206d79a294bdcd1f39e0909d502da3eff224dbcefbed1 > Status: Downloaded newer image for > registry.svc.ci.openshift.org/ocp/release:4.6.0-0.nightly-2020-06-16-105323 > quay.io/openshift-release-dev/ocp-v4.0-art-dev@sha256: > c6db5fc0db9f9532b3962355e40aad5cf77e3f20eaff617fa11339804addd1ba% > mdulko:~/ $ docker run -it --entrypoint bash > quay.io/openshift-release-dev/ocp-v4.0-art-dev@sha256: > c6db5fc0db9f9532b3962355e40aad5cf77e3f20eaff617fa11339804addd1ba > Unable to find image > 'quay.io/openshift-release-dev/ocp-v4.0-art-dev@sha256: > c6db5fc0db9f9532b3962355e40aad5cf77e3f20eaff617fa11339804addd1ba' locally > sha256:c6db5fc0db9f9532b3962355e40aad5cf77e3f20eaff617fa11339804addd1ba: > Pulling from openshift-release-dev/ocp-v4.0-art-dev > 1a6747857d79: Already exists > fc5aa93e3b58: Already exists > bc972d59d264: Pull complete > 19a01a9d3452: Pull complete > Digest: > sha256:c6db5fc0db9f9532b3962355e40aad5cf77e3f20eaff617fa11339804addd1ba > Status: Downloaded newer image for > quay.io/openshift-release-dev/ocp-v4.0-art-dev@sha256: > c6db5fc0db9f9532b3962355e40aad5cf77e3f20eaff617fa11339804addd1ba > bash-4.4$ kuryr-k8s-controller --version > 4.6.0 > bash-4.4$ python3 -m pip freeze | grep kuryr-kubernetes > The directory '/var/lib/kuryr/.cache/pip/http' or its parent directory is > not owned by the current user and the cache has been disabled. Please check > the permissions and owner of that directory. If executing pip with sudo, you > may want sudo's -H flag. > kuryr-kubernetes==4.6.0 Hi, Thanks for an update. What about version 4.3? Can this be back-ported to the previous version the customer is using? As the customer is on 4.3 OpenShift. Regards, Rehan
(In reply to rehan from comment #6) > (In reply to Michał Dulko from comment #5) > > I'll just go ahead and mark it as VERIFIED, it's clearly working fine now > > with both OKD and OCP's 4.6.0-0.nightly-2020-06-16-105323: > > > > mdulko:~/ $ docker run -it --entrypoint bash > > quay.io/openshift/origin-kuryr-controller:4.6.0 > > bash-4.4$ kuryr-k8s-controller --version > > 4.6.0 > > bash-4.4$ python3 -m pip freeze | grep kuryr-kubernetes > > kuryr-kubernetes==4.6.0 > > mdulko:~/ $ docker run -it > > registry.svc.ci.openshift.org/ocp/release:4.6.0-0.nightly-2020-06-16-105323 > > image kuryr-controller > > Unable to find image > > 'registry.svc.ci.openshift.org/ocp/release:4.6.0-0.nightly-2020-06-16- > > 105323' locally > > 4.6.0-0.nightly-2020-06-16-105323: Pulling from ocp/release > > a3ac36470b00: Pull complete > > 82a8f4ea76cb: Pull complete > > d094068878fd: Pull complete > > fcbeb171efe1: Pull complete > > 50ab3a42c67a: Pull complete > > bf95fc75ee27: Pull complete > > Digest: > > sha256:fb8c851a294c3a8f7bb206d79a294bdcd1f39e0909d502da3eff224dbcefbed1 > > Status: Downloaded newer image for > > registry.svc.ci.openshift.org/ocp/release:4.6.0-0.nightly-2020-06-16-105323 > > quay.io/openshift-release-dev/ocp-v4.0-art-dev@sha256: > > c6db5fc0db9f9532b3962355e40aad5cf77e3f20eaff617fa11339804addd1ba% > > mdulko:~/ $ docker run -it --entrypoint bash > > quay.io/openshift-release-dev/ocp-v4.0-art-dev@sha256: > > c6db5fc0db9f9532b3962355e40aad5cf77e3f20eaff617fa11339804addd1ba > > Unable to find image > > 'quay.io/openshift-release-dev/ocp-v4.0-art-dev@sha256: > > c6db5fc0db9f9532b3962355e40aad5cf77e3f20eaff617fa11339804addd1ba' locally > > sha256:c6db5fc0db9f9532b3962355e40aad5cf77e3f20eaff617fa11339804addd1ba: > > Pulling from openshift-release-dev/ocp-v4.0-art-dev > > 1a6747857d79: Already exists > > fc5aa93e3b58: Already exists > > bc972d59d264: Pull complete > > 19a01a9d3452: Pull complete > > Digest: > > sha256:c6db5fc0db9f9532b3962355e40aad5cf77e3f20eaff617fa11339804addd1ba > > Status: Downloaded newer image for > > quay.io/openshift-release-dev/ocp-v4.0-art-dev@sha256: > > c6db5fc0db9f9532b3962355e40aad5cf77e3f20eaff617fa11339804addd1ba > > bash-4.4$ kuryr-k8s-controller --version > > 4.6.0 > > bash-4.4$ python3 -m pip freeze | grep kuryr-kubernetes > > The directory '/var/lib/kuryr/.cache/pip/http' or its parent directory is > > not owned by the current user and the cache has been disabled. Please check > > the permissions and owner of that directory. If executing pip with sudo, you > > may want sudo's -H flag. > > kuryr-kubernetes==4.6.0 > > > Hi, > > Thanks for an update. > What about version 4.3? > > Can this be back-ported to the previous version the customer is using? As > the customer is on 4.3 OpenShift. > > Regards, > Rehan The backport is in progress, but due to complicated process (each fix needs to be backported and verified in all previous versions before being able to merge it) it will for sure take some more time. Please follow https://bugzilla.redhat.com/show_bug.cgi?id=1845923 for status of 4.3 backport.
Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA. For information on the advisory (OpenShift Container Platform 4.6 GA Images), and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. https://access.redhat.com/errata/RHBA-2020:4196