Re: Deploying router

2016-10-25 Thread Sachin Vaidya
Thank you. Issue was with default certificate. Fixed it based on following
link:

https://docs.openshift.org/latest/install_config/router/index.html#creating-the-router-service-account

- Sachin


On Mon, Oct 24, 2016 at 5:48 PM, Clayton Coleman <ccole...@redhat.com>
wrote:

>
>
> On Oct 24, 2016, at 8:25 PM, Sachin Vaidya <vaidy...@gmail.com> wrote:
>
> Hi,
>I tried to deply router in "--host-network=false" mode.
> #sudo oadm router router-test  --service-account=router
> --host-network=false
>
> 1) See 2 containers created where one of the Pods remains in
> "ContainerCreating" state for long.
>
> [centos@origin-master ~]$ sudo oc get pods
> NAME   READY STATUS  RESTARTS   AGE
> router-test-1-1rhub0/1   ContainerCreating   0  2m
> router-test-1-deploy   1/1   Running 0  2m
>
> 2) Also container log on slave node indicates following:
> [centos@origin-node-0 /]$ sudo docker logs -f 75c4c2b6d280
> --> Scaling router-test-1 to 1
> --> Waiting up to 10m0s for pods in deployment router-test-1 to become
> ready
>
> 3) after 10 min, container errors out and deploy Pod transitions to
> "Error" state.
>
> error: update acceptor rejected router-test-1: pods for deployment
> "router-test-1" took longer than 600 seconds to become ready
>
> [centos@origin-master ~]$ sudo oc get pods
> NAME   READY STATUSRESTARTS   AGE
> router-test-1-deploy   0/1   Error 0  41m
>
> -> How do I debug this problem? I rsh'ed into the deploy Pod
> (router-test-1-deploy)
>  and it can reach "kubernetes" service over 443. Have created a router
> service
>  account before starting router.
>
>
> This is the pod that orchestrated the deployment
>
> -->  What is the other Pod (router-test-1-1rhub) for. I don't see any
> container
>   running on slave for this Pod.
>
>
> This is pod that starts the router software.
>
> Often this can be caused by security issues - run "oc get events" to see
> whether there was a problem pulling the image or starting the pod
>
>
> Thanks
> Sachin
>
> --
> [centos@origin-master ~]$ sudo oc version
> oc v1.3.0
> kubernetes v1.3.0+52492b4
> features: Basic-Auth GSSAPI Kerberos SPNEGO
>
> Server https://origin-master:8443
> openshift v1.3.0
> kubernetes v1.3.0+52492b4
>
> ___
> users mailing list
> users@lists.openshift.redhat.com
> http://lists.openshift.redhat.com/openshiftmm/listinfo/users
>
>
___
users mailing list
users@lists.openshift.redhat.com
http://lists.openshift.redhat.com/openshiftmm/listinfo/users


Re: Installing OpenShift Origin v1.3.0

2016-09-27 Thread Sachin Vaidya
Thanks Troy. I was able to install OpenShift v1.3.0.

deployment_type=origin
openshift_pkg_version=-1.3.0

What is the official Slack channel for OpenShift ?

Thanks
Sachin


On Tue, Sep 27, 2016 at 8:09 AM, Troy Dawson <tdaw...@redhat.com> wrote:

> The origin 1.3.0 packages are now in the normal CentOS repository.
> You no longer need to enable -testing.
>
>
> On Tue, Sep 27, 2016 at 3:45 AM, Raul Martinez-Sanchez (raumarti)
> <rauma...@cisco.com> wrote:
> > At the moment it seems you have to enable the ‘Testing’ Openshift yum
> repo
> > to get the install packages, am not sure why is not in the main repo yet
> > (this might have been already answered in another email thread).
> >
> > I have tested it with both ‘variables’ and both work.
> >
> > Cheers
> >
> >
> >
> > From: <users-boun...@lists.openshift.redhat.com> on behalf of Sachin
> Vaidya
> > <vaidy...@gmail.com>
> > Date: Tuesday, 27 September 2016 at 07:38
> > To: "users@lists.openshift.redhat.com" <users@lists.openshift.redhat.com
> >
> > Subject: Installing OpenShift Origin v1.3.0
> >
> > Hi,
> >How to install OpenShift Origin v1.3.0 using "openshift-ansible"
> scripts?
> > I have tried following 2 options in inventory.
> >
> > deployment_type=origin
> > openshift_pkg_version=-1.3.0
> >
> > OR
> > deployment_type=origin
> > openshift_release=v1.3.0
> >
> > Both options have failed installation with error that it can't find
> v1.3.0
> > As per github repo (https://github.com/openshift/origin/releases),
> v1.3.0
> > is the latest release of OpenShift.
> >
> > Thanks
> > Sachin
> >
> > ___
> > users mailing list
> > users@lists.openshift.redhat.com
> > http://lists.openshift.redhat.com/openshiftmm/listinfo/users
> >
>
> ___
> users mailing list
> users@lists.openshift.redhat.com
> http://lists.openshift.redhat.com/openshiftmm/listinfo/users
>
___
users mailing list
users@lists.openshift.redhat.com
http://lists.openshift.redhat.com/openshiftmm/listinfo/users