FYI

On Thu, Feb 2, 2017 at 4:33 PM, Maciej Szulik <[email protected]> wrote:

> The dot in the name should not be a problem, since we're using them heavily
> in our provided ImageStreams [1]. What wonders me though is the almost
> identical
> name you have, iow 5.12 vs 5.12.0 both pointing to the same backing
> registry.
> Seems like that name is causing the problem, from my local tests.
>
>
>
> [1] https://github.com/openshift/origin/blob/master/examples/
> image-streams/image-streams-centos7.json
>
> On Thu, Feb 2, 2017 at 3:31 PM, Mateus Caruccio <
> [email protected]> wrote:
>
>> Hi, I'm having trouble to import image stream below
>>
>> {
>>   "kind": "ImageStreamList",
>>   "apiVersion": "v1",
>>   "metadata": {},
>>   "items": [
>>     {
>>       "kind": "ImageStream",
>>       "apiVersion": "v1",
>>       "metadata": {
>>         "name": "nodejs5",
>>         "creationTimestamp": null
>>       },
>>       "spec": {
>>         "tags": [
>>           {
>>             "name": "latest",
>>             "annotations": {
>>               "description": "Build and run NodeJS applications",
>>               "iconClass": "icon-nodejs",
>>               "tags": "builder,nodejs,nodejs-5.12.0",
>>               "sampleRepo": "https://github.com/getupcloud
>> /pillar-base.git"
>>             },
>>             "from": {
>>               "kind": "ImageStreamTag",
>>               "name": "5.12.0"
>>             }
>>           },
>>           {
>>             "name": "5",
>>             "annotations": {
>>               "description": "Build and run NodeJS applications",
>>               "iconClass": "icon-nodejs",
>>               "tags": "builder,nodejs,nodejs-5.12.0",
>>               "sampleRepo": "https://github.com/getupcloud
>> /pillar-base.git"
>>             },
>>             "from": {
>>               "kind": "ImageStreamTag",
>>               "name": "5.12.0"
>>             }
>>           },
>>           {
>>             "name": "5.12",
>>             "annotations": {
>>               "description": "Build and run NodeJS applications",
>>               "iconClass": "icon-nodejs",
>>               "tags": "builder,nodejs,nodejs-5.12.0",
>>               "sampleRepo": "https://github.com/getupcloud
>> /pillar-base.git"
>>             },
>>             "from": {
>>               "kind": "DockerImage",
>>               "name": "getupcloud/centos7-s2i-nodejs:5.12.0"
>>             }
>>           },
>>           {
>>             "name": "5.12.0",
>>             "annotations": {
>>               "description": "Build and run NodeJS applications",
>>               "iconClass": "icon-nodejs",
>>               "tags": "builder,nodejs,nodejs-5.12.0",
>>               "sampleRepo": "https://github.com/getupcloud
>> /pillar-base.git"
>>             },
>>             "from": {
>>               "kind": "DockerImage",
>>               "name": "getupcloud/centos7-s2i-nodejs:5.12.0"
>>             }
>>           }
>>         ]
>>       }
>>     }
>>   ]
>> }
>>
>>
>>
>>
>> I can create and verify it starts importing, but got stuck with message 
>> "importing
>> latest image ..."
>>
>>
>> $ oc create -f nodejs5.json
>> imagestream "nodejs5" created
>>
>> $ oc describe is/nodejs5
>> Name: nodejs5
>> Namespace: mateus
>> Created: 13 seconds ago
>> Labels: <none>
>> Annotations: openshift.io/image.dockerRepositoryCheck=2017-02-02T14:23:
>> 08Z
>> Docker Pull Spec: 172.30.34.145:5000/mateus/nodejs5
>> Unique Images: 1
>> Tags: 4
>>
>> 5.12
>>   tagged from getupcloud/centos7-s2i-nodejs:5.12.0
>>
>>   Build and run NodeJS applications
>>   Tags: builder, nodejs, nodejs-5.12.0
>>   Example Repo: https://github.com/getupcloud/pillar-base.git
>>
>>   ~ importing latest image ...
>>
>> 5.12
>>   tagged from getupcloud/centos7-s2i-nodejs:5.12.0
>>
>>   Build and run NodeJS applications
>>   Tags: builder, nodejs, nodejs-5.12.0
>>   Example Repo: https://github.com/getupcloud/pillar-base.git
>>
>>   ~ importing latest image ...
>>
>>
>>
>> ​If I change ​"name" from "5.12" to something else like "5_12" or "5.13"
>> it works as expected.​
>>
>>
>> ​I'm running:
>> openshift v1.3.1
>> kubernetes v1.3.0+52492b4
>> etcd 2.3.0+git
>> ​
>>
>>
>>
>> --
>> Mateus Caruccio / Master of Puppets
>> GetupCloud.com - Eliminamos a Gravidade
>>
>> _______________________________________________
>> dev mailing list
>> [email protected]
>> http://lists.openshift.redhat.com/openshiftmm/listinfo/dev
>>
>>
>
_______________________________________________
dev mailing list
[email protected]
http://lists.openshift.redhat.com/openshiftmm/listinfo/dev

Reply via email to