[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

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

It looks OK:

oc get is/ruby-ex
NAME      DOCKER REPO                           TAGS             UPDATED
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
Docker Pull Spec:
Unique Images:        1
Tags:            2

  pushed image

  * sha256:b70b03830f84b7ac51c064db2bccdd85188b1ca9e1e22787015b5d752ce71886
      6 minutes ago

  tagged from sha256:b70b03830f84b7ac51c064db2bccdd85188b1ca9e1e22787015b5d752ce71886

  ! error: Import failed (InternalError): Internal error occurred: Get 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?


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