The docker image metadata is no longer being printed in image describe (fields are all empty). Probably caused by a regression in decoding the internal info, or another bug. This is high severity because it blocks common debugging actions on images. $ oc describe isimage -n ocp release@sha256:1510013b577e7a7b08d01c8c52ae3c2680a41e77058afd8d0aa95278c0e5651e Image Name: sha256:1510013b577e7a7b08d01c8c52ae3c2680a41e77058afd8d0aa95278c0e5651e Docker Image: docker-registry.default.svc:5000/ocp/release@sha256:1510013b577e7a7b08d01c8c52ae3c2680a41e77058afd8d0aa95278c0e5651e Name: sha256:1510013b577e7a7b08d01c8c52ae3c2680a41e77058afd8d0aa95278c0e5651e Created: 7 hours ago Annotations: image.openshift.io/dockerLayersOrder=ascending image.openshift.io/manifestBlobStored=true openshift.io/image.managed=true Image Size: 98.64MB in 6 layers Layers: 75.83MB sha256:777f298e915fef78cf1ab9f6140b94ff6baf3e0cd11e48b304c61a9c320b32e5 1.577kB sha256:6f2e36072a1104829eb7fd6295fa7634caff7dcea682d6232a73dd3aee7aadf7 3.397MB sha256:86eb9664129a503b7bd8d396f29504fd3e8db67f143752238e1a05fabb2a5164 7.77MB sha256:712829d1807741e5202ddda5a86ec1cd7df84428b2a6b7e1250ddc0a21713fc7 11.3MB sha256:f85c7f035d712068b3c7cfdbfcc25397aa5b94e0183b97c6266542b2995204bf 341.9kB sha256:d5f1418b88dfc3b7a849394b92a75d1e4162577de6cd910dcacbbffed5d6b8ef Image Created: 7 hours ago Author: <none> Arch: amd64 Command: <none> Working Dir: <none> User: <none> Exposes Ports: <none> Docker Labels: <none> ^ should have been populated with labels from the image metadata.
Fix: https://github.com/openshift/origin/pull/23318
Confirmed with latest payload: 4.2.0-0.nightly-2019-07-22-160516, the issue has fixed: [root@dhcp-140-138 ~]# oc describe istag ruby:2.5 Image Name: sha256:10a52f42936ccccdd29e1f4064bd997bcab2acc00c2e7e1a65c1a4633f92f8ec Docker Image: image-registry.openshift-image-registry.svc:5000/openshift/ruby@sha256:10a52f42936ccccdd29e1f4064bd997bcab2acc00c2e7e1a65c1a4633f92f8ec Name: sha256:10a52f42936ccccdd29e1f4064bd997bcab2acc00c2e7e1a65c1a4633f92f8ec Created: About an hour ago Description: Build and run Ruby 2.5 applications on RHEL 7. For more information about using this builder image, including OpenShift considerations, see https://github.com/sclorg/s2i-ruby-container/blob/master/2.5/README.md. Annotations: iconClass=icon-ruby image.openshift.io/dockerLayersOrder=ascending openshift.io/display-name=Ruby 2.5 openshift.io/provider-display-name=Red Hat, Inc. sampleRepo=https://github.com/sclorg/ruby-ex.git supports=ruby:2.5,ruby tags=builder,ruby version=2.5 Image Size: 963.2MB in 5 layers Layers: 75.83MB sha256:506b188c0abe2ae3c1561bbff7ce50284de2a241eff5da6f528a3a024871c606 1.576kB sha256:a4d9907173f48ee257a0d6c451d530a2ec4088c38908b2ec48e3bc8dc66c6d21 262.5MB sha256:1d72f48b3d14f64a70c8eb92dff736969b510ddcf2da89fac058c5c03ba41c58 348.9MB sha256:dcc691b92f82cdd39913b5e0015b5b648656608e0b9768aa4907a2420a0bcd03 276MB sha256:5679cd50e2a3c6c8e9da248133d9e0361095f6619cbf14580e6ca93ffd1c6011 Image Created: 3 weeks ago Author: <none> Arch: amd64 Entrypoint: container-entrypoint Command: /bin/sh -c $STI_SCRIPTS_PATH/usage Working Dir: /opt/app-root/src User: 1001 Exposes Ports: 8080/tcp Docker Labels: architecture=x86_64 authoritative-source-url=registry.access.redhat.com build-date=2019-06-28T17:05:35.086351 com.redhat.build-host=cpt-1005.osbs.prod.upshift.rdu2.redhat.com com.redhat.component=rh-ruby25-container com.redhat.license_terms=https://www.redhat.com/en/about/red-hat-end-user-license-agreements#UBI description=Ruby 2.5 available as container is a base platform for building and running various Ruby 2.5 applications and frameworks. Ruby is the interpreted scripting language for quick and easy object-oriented programming. It has many features to process text files and to do system management tasks (as in Perl). It is simple, straight-forward, and extensible. distribution-scope=public io.k8s.description=Ruby 2.5 available as container is a base platform for building and running various Ruby 2.5 applications and frameworks. Ruby is the interpreted scripting language for quick and easy object-oriented programming. It has many features to process text files and to do system management tasks (as in Perl). It is simple, straight-forward, and extensible. io.k8s.display-name=Ruby 2.5 io.openshift.expose-services=8080:http io.openshift.s2i.scripts-url=image:///usr/libexec/s2i io.openshift.tags=builder,ruby,ruby25,rh-ruby25 io.s2i.scripts-url=image:///usr/libexec/s2i maintainer=SoftwareCollections.org <sclorg> name=rhscl/ruby-25-rhel7 release=45.1561731205 summary=Platform for building and running Ruby 2.5 applications url=https://access.redhat.com/containers/#/registry.access.redhat.com/rhscl/ruby-25-rhel7/images/2.5-45.1561731205 usage=s2i build https://github.com/sclorg/s2i-ruby-container.git --context-dir=2.5/test/puma-test-app/ rhscl/ruby-25-rhel7 ruby-sample-app vcs-ref=2842c253f636d8557b7a2522e79975317d76e613 vcs-type=git vendor=Red Hat, Inc. version=2.5 Environment: PATH=/opt/app-root/src/bin:/opt/app-root/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin container=oci SUMMARY=Platform for building and running Ruby 2.5 applications DESCRIPTION=Ruby 2.5 available as container is a base platform for building and running various Ruby 2.5 applications and frameworks. Ruby is the interpreted scripting language for quick and easy object-oriented programming. It has many features to process text files and to do system management tasks (as in Perl). It is simple, straight-forward, and extensible. STI_SCRIPTS_URL=image:///usr/libexec/s2i STI_SCRIPTS_PATH=/usr/libexec/s2i APP_ROOT=/opt/app-root HOME=/opt/app-root/src PLATFORM=el7 BASH_ENV=/opt/app-root/etc/scl_enable ENV=/opt/app-root/etc/scl_enable PROMPT_COMMAND=. /opt/app-root/etc/scl_enable NODEJS_SCL=rh-nodejs10 RUBY_MAJOR_VERSION=2 RUBY_MINOR_VERSION=5 RUBY_VERSION=2.5 RUBY_SCL_NAME_VERSION=25 RUBY_SCL=rh-ruby25 IMAGE_NAME=rhscl/ruby-25-rhel7 [root@dhcp-140-138 ~]# oc describe isimage ruby@sha256:10a52f42936ccccdd29e1f4064bd997bcab2acc00c2e7e1a65c1a4633f92f8ec Image Name: sha256:10a52f42936ccccdd29e1f4064bd997bcab2acc00c2e7e1a65c1a4633f92f8ec Docker Image: registry.redhat.io/rhscl/ruby-25-rhel7@sha256:10a52f42936ccccdd29e1f4064bd997bcab2acc00c2e7e1a65c1a4633f92f8ec Name: sha256:10a52f42936ccccdd29e1f4064bd997bcab2acc00c2e7e1a65c1a4633f92f8ec Created: About an hour ago Annotations: image.openshift.io/dockerLayersOrder=ascending Image Size: 963.2MB in 5 layers Layers: 75.83MB sha256:506b188c0abe2ae3c1561bbff7ce50284de2a241eff5da6f528a3a024871c606 1.576kB sha256:a4d9907173f48ee257a0d6c451d530a2ec4088c38908b2ec48e3bc8dc66c6d21 262.5MB sha256:1d72f48b3d14f64a70c8eb92dff736969b510ddcf2da89fac058c5c03ba41c58 348.9MB sha256:dcc691b92f82cdd39913b5e0015b5b648656608e0b9768aa4907a2420a0bcd03 276MB sha256:5679cd50e2a3c6c8e9da248133d9e0361095f6619cbf14580e6ca93ffd1c6011 Image Created: 3 weeks ago Author: <none> Arch: amd64 Entrypoint: container-entrypoint Command: /bin/sh -c $STI_SCRIPTS_PATH/usage Working Dir: /opt/app-root/src User: 1001 Exposes Ports: 8080/tcp Docker Labels: architecture=x86_64 authoritative-source-url=registry.access.redhat.com build-date=2019-06-28T17:05:35.086351 com.redhat.build-host=cpt-1005.osbs.prod.upshift.rdu2.redhat.com com.redhat.component=rh-ruby25-container com.redhat.license_terms=https://www.redhat.com/en/about/red-hat-end-user-license-agreements#UBI description=Ruby 2.5 available as container is a base platform for building and running various Ruby 2.5 applications and frameworks. Ruby is the interpreted scripting language for quick and easy object-oriented programming. It has many features to process text files and to do system management tasks (as in Perl). It is simple, straight-forward, and extensible. distribution-scope=public io.k8s.description=Ruby 2.5 available as container is a base platform for building and running various Ruby 2.5 applications and frameworks. Ruby is the interpreted scripting language for quick and easy object-oriented programming. It has many features to process text files and to do system management tasks (as in Perl). It is simple, straight-forward, and extensible. io.k8s.display-name=Ruby 2.5 io.openshift.expose-services=8080:http io.openshift.s2i.scripts-url=image:///usr/libexec/s2i io.openshift.tags=builder,ruby,ruby25,rh-ruby25 io.s2i.scripts-url=image:///usr/libexec/s2i maintainer=SoftwareCollections.org <sclorg> name=rhscl/ruby-25-rhel7 release=45.1561731205 summary=Platform for building and running Ruby 2.5 applications url=https://access.redhat.com/containers/#/registry.access.redhat.com/rhscl/ruby-25-rhel7/images/2.5-45.1561731205 usage=s2i build https://github.com/sclorg/s2i-ruby-container.git --context-dir=2.5/test/puma-test-app/ rhscl/ruby-25-rhel7 ruby-sample-app vcs-ref=2842c253f636d8557b7a2522e79975317d76e613 vcs-type=git vendor=Red Hat, Inc. version=2.5 Environment: PATH=/opt/app-root/src/bin:/opt/app-root/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin container=oci SUMMARY=Platform for building and running Ruby 2.5 applications DESCRIPTION=Ruby 2.5 available as container is a base platform for building and running various Ruby 2.5 applications and frameworks. Ruby is the interpreted scripting language for quick and easy object-oriented programming. It has many features to process text files and to do system management tasks (as in Perl). It is simple, straight-forward, and extensible. STI_SCRIPTS_URL=image:///usr/libexec/s2i STI_SCRIPTS_PATH=/usr/libexec/s2i APP_ROOT=/opt/app-root HOME=/opt/app-root/src PLATFORM=el7 BASH_ENV=/opt/app-root/etc/scl_enable ENV=/opt/app-root/etc/scl_enable PROMPT_COMMAND=. /opt/app-root/etc/scl_enable NODEJS_SCL=rh-nodejs10 RUBY_MAJOR_VERSION=2 RUBY_MINOR_VERSION=5 RUBY_VERSION=2.5 RUBY_SCL_NAME_VERSION=25 RUBY_SCL=rh-ruby25 IMAGE_NAME=rhscl/ruby-25-rhel7
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, 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-2019:2922