Hi Hetz,

It seems that your Registry and Router PODs are not running. Probably
there's a problem avoiding them to deploy.

Can you send the output of the commands below?

# oc describe pod docker-registry-1-deploy
# oc describe pod router-1-deploy



Rodrigo Bersa

Cloud Consultant, RHCSA, RHCVA

Red Hat Brasil <https://www.redhat.com>

[email protected]    M: +55 11 99557-5841 <+55-11-99557-5841>
<https://red.ht/sig> [image: Red Hat] <http://www.redhat.com.br>
TRIED. TESTED. TRUSTED. <https://redhat.com/trusted>


<http://www.redhat.com.br>

On Tue, May 23, 2017 at 8:28 AM, Hetz Ben Hamo <[email protected]> wrote:

> ]# oc get pods -n default
> NAME                        READY     STATUS    RESTARTS   AGE
> docker-registry-1-deploy    0/1       Pending   0          16m
> registry-console-1-deploy   0/1       Error     0          15m
> router-1-deploy             0/1       Pending   0          17m
> [root@master-home ~]# oc logs registry-console-1-deploy
> --> Scaling registry-console-1 to 1
> --> Waiting up to 10m0s for pods in rc registry-console-1 to become ready
> error: update acceptor rejected registry-console-1: pods for rc
> "registry-console-1" took longer than 600 seconds to become ready
> [root@master-home ~]# oc logs router-1-deploy
> [root@master-home ~]# oc logs docker-registry-1-deploy
> [root@master-home ~]# oc logs docker-registry-1-deploy -n default
> [root@master-home ~]# oc get pods
>
>
> תודה,
> *חץ בן חמו*
> אתם מוזמנים לבקר בבלוג היעוץ <http://linvirtstor.net/> או בבלוג הפרטי שלי
> <http://benhamo.org>
>
> On Tue, May 23, 2017 at 1:49 AM, Ben Parees <[email protected]> wrote:
>
>>
>>
>> On Mon, May 22, 2017 at 6:18 PM, Hetz Ben Hamo <[email protected]> wrote:
>>
>>> Hi,
>>>
>>> I've built on a 3 nodes openshift origin using the host file included
>>> below, but it seems few things are getting broken. I didn't modify anything
>>> yet on the openshift, just used the openshift-Ansible checked out from
>>> today.
>>>
>>> Problem one: After building an image from the examples (I chose Java
>>> with the example of wildfly) I get:
>>>
>>> [INFO] ------------------------------------------------------------
>>> ------------
>>> [INFO] BUILD SUCCESS
>>> [INFO] ------------------------------------------------------------
>>> ------------
>>> [INFO] Total time: 12.182 s
>>> [INFO] Finished at: 2017-05-22T22:08:21+00:00
>>> [INFO] Final Memory: 14M/134M
>>> [INFO] ------------------------------------------------------------
>>> ------------
>>> Moving built war files into /wildfly/standalone/deployments for later
>>> deployment...
>>> Moving all war artifacts from /opt/app-root/src/target directory into
>>> /wildfly/standalone/deployments for later deployment...
>>> '/opt/app-root/src/target/ROOT.war' -> '/wildfly/standalone/deploymen
>>> ts/ROOT.war'
>>> Moving all ear artifacts from /opt/app-root/src/target directory into
>>> /wildfly/standalone/deployments for later deployment...
>>> Moving all rar artifacts from /opt/app-root/src/target directory into
>>> /wildfly/standalone/deployments for later deployment...
>>> Moving all jar artifacts from /opt/app-root/src/target directory into
>>> /wildfly/standalone/deployments for later deployment...
>>> ...done
>>> Pushing image 172.30.172.85:5000/test1/wf:latest ...
>>> Warning: Push failed, retrying in 5s ...
>>> Warning: Push failed, retrying in 5s ...
>>> Warning: Push failed, retrying in 5s ...
>>> Warning: Push failed, retrying in 5s ...
>>> Warning: Push failed, retrying in 5s ...
>>> Warning: Push failed, retrying in 5s ...
>>> Warning: Push failed, retrying in 5s ...
>>> Registry server Address:
>>> Registry server User Name: serviceaccount
>>> Registry server Email: [email protected]
>>> Registry server Password: <<non-empty>>
>>> error: build error: Failed to push image: Get
>>> https://172.30.172.85:5000/v1/_ping: dial tcp 172.30.172.85:5000:
>>> getsockopt: connection refused
>>>
>>>
>> can you confirm your registry pod is running in the default namespace (oc
>> get pods -n default)?  Can you get logs from it?
>>
>>
>>
>>>
>>> Another problem: I added the metrics option so it installed hawkler but
>>> when it complains that it needs SSL approval (it shows a message about a
>>> problem with hawkler and gives a link to open it) I get upon clicking the
>>> link: connection refused.
>>>
>>> I've tested the host configuration on 2 sets of VM's (one at home with
>>> digital ocean, another set here at home with VMWare). I've set up DNS with
>>> subdomain wildcard and I can ping the app names but trying to connect
>>> through a browser or curl - gives connection refused.
>>>
>>> Have I missed something?
>>>
>>> here is my byo host file:
>>>
>>> [OSEv3:children]
>>> masters
>>> nodes
>>>
>>> [OSEv3:vars]
>>> ansible_ssh_user=root
>>>
>>> deployment_type=origin
>>> openshift_release=v1.5.0
>>> containerized=true
>>> openshift_install_examples=true
>>> openshift_hosted_metrics_deploy=true
>>>
>>> # use htpasswd authentication with demo/demo
>>> openshift_master_identity.providers=[{'name': 'htpasswd_auth', 'login':
>>> 'true', 'challenge': 'true', 'kind': 'HTPasswdPasswordIdentityProvider',
>>> 'filename': '/etc/origin/master/htpasswd'}]
>>> openshift_master_htpasswd_users={'demo': '$XXXXXXXXXXXXXXXXXXXXXXXXXXXX
>>> XXXXXXXX.'}
>>>
>>> # put the router on dedicated infra node
>>> openshift_hosted_router_selector='region=infra'
>>> openshift_master_default_subdomain=apps.test.com
>>>
>>> # put the image registry on dedicated infra node
>>> openshift_hosted_registry_selector='region=infra'
>>>
>>> #.project pods should be placed on primary nodes
>>> osm_default_node_selector='region=primary'
>>>
>>> [masters]
>>> master-home.test.com openshift_public_hostname="master-home.test.com"
>>>
>>> [nodes]
>>> # master needs to be included in the node to be configured in the SDN
>>> # master-home.test.com
>>> master-home.test.com openshift_node_labels="{'region': 'infra', 'zone':
>>> 'default'}"
>>> node1-home.test.com openshift_node_labels="{'region': 'primary',
>>> 'zone': 'default'}"
>>> node2-home.test.com openshift_node_labels="{'region': 'primary',
>>> 'zone': 'default'}"
>>>
>>>
>>> Thanks
>>>
>>> _______________________________________________
>>> users mailing list
>>> [email protected]
>>> http://lists.openshift.redhat.com/openshiftmm/listinfo/users
>>>
>>>
>>
>>
>> --
>> Ben Parees | OpenShift
>>
>>
>
> _______________________________________________
> users mailing list
> [email protected]
> http://lists.openshift.redhat.com/openshiftmm/listinfo/users
>
>
_______________________________________________
users mailing list
[email protected]
http://lists.openshift.redhat.com/openshiftmm/listinfo/users

Reply via email to