[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

problem with oc tag



Hi All,

I'm trying to get started with promoting builds across projects, starting from the basics.
This is with OpenShift origin v1.5.1

I build a demo app fine in the development project using:
oc new-app centos/ruby-22-centos7~https://github.com/openshift/ruby-ex.git

The image streams were created:

oc get is
172.30.1.1:5000/development/ruby-22-centos7
172.30.1.1:5000/development/ruby-ex

Then I try to tag the image:
oc tag 172.30.1.1:5000/development/ruby-ex sha256:b70b03830f84b7ac51c064db2bccdd85188b1ca9e1e22787015b5d752ce71886 development/ruby-ex:promote

It looks OK:

oc get is/ruby-ex
NAME      DOCKER REPO                           TAGS             UPDATED
ruby-ex   172.30.1.1:5000/development/ruby-ex   latest,promote   8 minutes ago

But when I inspect it I see this:

oc describe is/ruby-ex
Name:            ruby-ex
Namespace:        development
Created:        6 minutes ago
Labels:            app=ruby-ex
Annotations:        openshift.io/generated-by=OpenShiftNewApp
            openshift.io/image.dockerRepositoryCheck=2017-06-06T11:26:04Z
Docker Pull Spec:    172.30.1.1:5000/development/ruby-ex
Unique Images:        1
Tags:            2

latest
  pushed image

  * 172.30.1.1:5000/development/ruby-ex sha256:b70b03830f84b7ac51c064db2bccdd85188b1ca9e1e22787015b5d752ce71886
      6 minutes ago

promote
  tagged from 172.30.1.1:5000/development/ruby-ex sha256:b70b03830f84b7ac51c064db2bccdd85188b1ca9e1e22787015b5d752ce71886

  ! error: Import failed (InternalError): Internal error occurred: Get https://172.30.1.1:5000/v2/: http: server gave HTTP response to HTTPS client
      5 minutes ago

See the error at the bottom.

The consequence is that the development/ruby-ex:promote image cannot be accessed from a different project, but development/ruby-ex:latest can.

Any thoughts on what is going wrong? I can write to the repository, but not tag anything?

Thanks
Tim





[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]