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

Re: ImageStream problems on Origin v3



Do you need to use a proxy to get out to the internet, i.e. to pull images from docker.io?

Do you see any errors in your master's log from factory.go about problems related to the Hub, X-Docker-Token, or importing images?

On Mon, Jul 6, 2015 at 6:11 PM, Ben Parees <bparees redhat com> wrote:
Andy any theories/suggestions?

On Mon, Jul 6, 2015 at 3:59 PM, Massimiliano Dessì <massimiliano dessi gmail com> wrote:
Hi Ben,
the import-image
hanging without other console output than this

$ oc import-image centos
Waiting for the import to complete, CTRL+C to stop waiting.


instead the second command show this:

$ oc get is centos -o json
{
    "kind": "ImageStream",
    "apiVersion": "v1",
    "metadata": {
        "name": "centos",
        "namespace": "wordpress",
        "selfLink": "/osapi/v1beta3/namespaces/wordpress/imagestreams/centos",
        "uid": "1ca0f3ef-23fe-11e5-88b8-06d3691dc759",
        "resourceVersion": "118778",
        "creationTimestamp": "2015-07-06T16:43:21Z",
        "labels": {
            "name": "wordpress"
        }
    },
    "spec": {
        "dockerImageRepository": "library/centos:centos7"
    },
    "status": {
        "dockerImageRepository": "library/centos:centos7"
    }
}


Max

2015-07-06 19:42 GMT+02:00 Ben Parees <bparees redhat com>:
It looks like the centos imagestream exists, but was not imported from dockerhub successfully.

can you run "oc import-image centos"?  and also show the output of "oc get is centos -o json"



On Mon, Jul 6, 2015 at 12:48 PM, Massimiliano Dessì <massimiliano dessi gmail com> wrote:

Hi all,
on Origin 3 installed with ansible I've the following problems:

on nodes I've imported the following images

# docker pull openshift/ruby-20-centos7
latest: Pulling from docker.io/openshift/ruby-20-centos7
f1b10cd84249: Already exists
c852f6d61e65: Already exists
7322fbe74aa5: Already exists
befe95af4705: Already exists
d5de68d8a256: Already exists

In the web console I've choosed rails-postgresql-example
the postgresql start correctly but when I try to run the rails build
oc start-build rails-example -n <project>
I receive "Error from server: imageStream "ruby" not found"

Instead if i try to install wordpress with this guide:
https://github.com/openshift/training/blob/master/beta-4-setup.md#arbitrary-docker-image-builder

$ oc new-app -l name=wordpress https://github.com/openshift/centos7-wordpress.git
imagestreams/centos
imagestreams/centos7-wordpress
buildconfigs/centos7-wordpress
deploymentconfigs/centos7-wordpress
services/centos7-wordpress
A build was created - you can run `oc start-build centos7-wordpress` to start it.
Service "centos7-wordpress" created at <ip_redacted> with port mappings 22->22, 80->80.
$ oc start-build centos7-wordpress
Error from server: imageStreamTag "centos:centos7" not found

but the streams seem presents

$ oc get imageStreams
NAME                DOCKER REPO                                      TAGS      UPDATED
centos              library/centos:centos7                                    
centos7-wordpress   <ip_redacted>:5000/wordpress/centos7-wordpress  

I've missing some steps about the image streams ?

Thanks
Max


_______________________________________________
users mailing list
users lists openshift redhat com
http://lists.openshift.redhat.com/openshiftmm/listinfo/users




--
Ben Parees | OpenShift




--
Ben Parees | OpenShift



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