Skip to content

Imagestreag tag description fails. #311

@PI-Victor

Description

@PI-Victor

Imagestream details request fails with 404.
Steps to reproduce:

Create the sample imagestreams from openshift/examples/imagestreams dir.

oc create -f origin/examples/image-streams/image-streams-centos7.json

Wait for the metadata to finish being pulled.

Go to the web-console, Builds -> Images -> pick php or any other image -> click on any tag (5.5, 5.6, latest)

The image details could not be loaded.Reason: the server could not find the requested resource

screen shot 2016-08-08 at 12 49 13

the details are accessible via CLI:

[vagrant@origindevel ~]$ oc describe is/php
Name:           php
Namespace:      demo
Created:        47 minutes ago
Labels:         <none>
Annotations:        openshift.io/image.dockerRepositoryCheck=2016-08-08T09:58:40Z
Docker Pull Spec:   172.30.175.237:5000/demo/php

Tag Spec                Created     PullSpec                        Image
latest  5.6             46 minutes ago  centos/php-56-centos7@sha256:b58b9ac6edd661...      <same>
5.6 centos/php-56-centos7:latest    46 minutes ago  centos/php-56-centos7@sha256:b58b9ac6edd661...      <same>
5.5 openshift/php-55-centos7:latest 46 minutes ago  openshift/php-55-centos7@sha256:453d96efdaa1ba...   <same>


[vagrant@origindevel ~]$ oc describe is/php:latest
imagestreams "php:latest" not found
[vagrant@origindevel ~]$ oc describe istag/php:latest
Name:       sha256:b58b9ac6edd661668bafab79f10e24e20b4b1df3de77e010bea95cbfa59890cf
Namespace:  <none>
Created:    47 minutes ago
Labels:     <none>
Description:    Build and run PHP applications
Annotations:    iconClass=icon-php
        sampleRepo=https://github.com/openshift/cakephp-ex.git
        supports=php
        tags=builder,php
Docker Image:   centos/php-56-centos7@sha256:b58b9ac6edd661668bafab79f10e24e20b4b1df3de77e010bea95cbfa59890cf
Image Name: sha256:b58b9ac6edd661668bafab79f10e24e20b4b1df3de77e010bea95cbfa59890cf
Image Size: 313.6 MB (last binary layer 161.5 kB)
Image Created:  6 days ago
Author:     SoftwareCollections.org <sclorg@redhat.com>
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:  build-date=20160729
        io.k8s.description=Platform for building and running PHP 5.6 applications
        io.k8s.display-name=Apache 2.4 with PHP 5.6
        io.openshift.builder-base-version=e178f1c
        io.openshift.builder-version=9fbddc8f7951feaa069a7b3910c55f1d0b119f56
        io.openshift.expose-services=8080:http
        io.openshift.s2i.scripts-url=image:///usr/libexec/s2i
        io.openshift.tags=builder,php,php56,rh-php56
        io.s2i.scripts-url=image:///usr/libexec/s2i
        license=GPLv2
        name=CentOS Base Image
        vendor=CentOS
Environment:    PATH=/opt/app-root/src/bin:/opt/app-root/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/opt/rh/rh-php56/root/usr/bin
        STI_SCRIPTS_URL=image:///usr/libexec/s2i
        STI_SCRIPTS_PATH=/usr/libexec/s2i
        HOME=/opt/app-root/src
        BASH_ENV=/opt/app-root/etc/scl_enable
        ENV=/opt/app-root/etc/scl_enable
        PROMPT_COMMAND=. /opt/app-root/etc/scl_enable
        PHP_VERSION=5.6

extra details of the request:

screen shot 2016-08-08 at 12 52 22

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions