Thank you so much Cesar. Looks like that is exactly what I was facing. As commented in the defect log, I tried oc cluster up --version=v1.3.0-alpha.2 and that also works.
P.S.: if any developers are here, I would suggest switch openshift docker distribution to start "oc cluster up" instead of "openshift start". I was unable to get docker to show default images (which are setup by oc cluster up, as jessica mentioned) and was also unable to find a way to do "oc cluster up" after docker started. i got error "openshift is already up". i tried "oc cluster down" which killed docker. i also tried building my own dockerfile with different entry point but for some reason that also did not work. On Wed, Aug 17, 2016 at 1:03 PM, Cesar Wong <cew...@redhat.com> wrote: > Hi Ravi, > > What distro are you using? > > You may be hitting this issue: https://github.com/ > openshift/origin/issues/10215 > > A simple workaround is to use an earlier version of the OpenShift images: > Stop your current cluster with 'oc cluster down'. Then bring it back up > with 'oc cluster up --version=v1.2.0' > > > On Wed, Aug 17, 2016 at 2:54 PM, Ravi Kapoor <ravikapoor...@gmail.com> > wrote: > > Unfortunately I am no familiar enough to follow instructions such as "giving > the API server to use the public key to verify tokens" > Also this was more than a year ago, how come out of box version is > unstable enough that it doesn't work on its own without fixes? > Are there detailed instructions on how to get it up and running? > > > On Mon, Aug 15, 2016 at 10:49 PM, Jonathan Yu <jaw...@redhat.com> wrote: > >> Hey Ravi, >> >> On Mon, Aug 15, 2016 at 8:35 PM, Ravi Kapoor <ravikapoor...@gmail.com> >> wrote: >> >>> Thanks Jessica, that was helpful. I had to do following >>> >>> 1. oc cluster up >>> it gave error >>> Error: did not detect an --insecure-registry argument on the Docker >>> daemon >>> Solution: >>> >>> Ensure that the Docker daemon is running with the following argument: >>> --insecure-registry 172.30.0.0/16 >>> >> >> You will need to modify your /etc/sysconfig/docker file (on Fedora and I >> think also CentOS and RHEL) to add this flag. Other OSes will have these >> flags potentially stored elsewhere, like /etc/default on Debian and Ubuntu. >> >>> >>> 2. Google search reveals too many places where this should be edited. >>> >> >> Yes, unfortunately different distros do things differently as there's no >> "standard" approach. I would suggest adding your distro name to your Google >> searches to get the most relevant results. >> >> For me, I had to add it to ExecStart in file /etc/systemd/system/docker. >>> service >>> >>> Now I do see images as shown in walkthrough >>> https://www.youtube.com/watch?v=yFPYGeKwmpk >>> >>> 3. However as I follow the tutorial, at time 6:30 ( >>> https://youtu.be/yFPYGeKwmpk?t=390), it fails to deploy. Log shows >>> following error >>> error: cannot connect to the server: open /var/run/secrets/kubernetes. >>> io/serviceaccount/token: no such file or directory >>> >> >> Hmm, this looks interesting. Unfortunately I'm not an expert so I'm not >> sure where to look for this. A quick search for the error message yields >> this bug: https://github.com/kubernetes/kubernetes/issues/10620 - does >> anything in there help? >> >>> >>> Once again, I find too many suggestions to how this can be fixed. I am >>> afraid trying all those will take me days. >>> One of the pages said this has been fixed in OS 1.3, however I am >>> running OS 1.3 >>> >>> thanks so much >>> >>> >>> >>> On Mon, Aug 15, 2016 at 4:33 PM, Jessica Forrester <jforr...@redhat.com> >>> wrote: >>> >>>> So if you are just running a local dev cluster to try things out, I >>>> recommend using 'oc cluster up' instead, it will set up a lot for you, >>>> including all the example image streams and templates. >>>> >>>> If you want to add them in an existing cluster see step 10 here >>>> https://github.com/openshift/origin/blob/master/ >>>> CONTRIBUTING.adoc#develop-on-virtual-machine-using-vagrant >>>> >>>> Where the files it is referring to are in the origin repo under >>>> examples. >>>> >>>> On Mon, Aug 15, 2016 at 7:09 PM, Ravi Kapoor <ravikapoor...@gmail.com> >>>> wrote: >>>> >>>>> >>>>> I am a newbie, so excuse my ignorance. I have tried for 2 days now to >>>>> get "browse catalog" page to show me catalog. I do not see any errors nor >>>>> images. >>>>> Due to this I am not able to follow any tutorials. >>>>> thanks for helping >>>>> >>>>> >>>>> This is what my page looks like (text copy in case image attachments >>>>> are not allowed) >>>>> ======================================== >>>>> No images or templates. >>>>> >>>>> No images or templates are loaded for this project or the shared >>>>> openshift namespace. An image or template is required to add content. >>>>> >>>>> To add an image stream or template from a file, use the editor in the >>>>> Import YAML / JSON tab, or run the following command: >>>>> >>>>> oc create -f <filename> -n test >>>>> Back to overview >>>>> ======================================== >>>>> >>>>> Here is a screenshot >>>>> >>>>> [image: Inline image 1] >>>>> >>>>> _______________________________________________ >>>>> 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 >>> >>> >> >> >> -- >> Jonathan Yu, P.Eng. / Software Engineer, OpenShift by Red Hat / Twitter >> (@jawnsy) is the quickest way to my heart <https://twitter.com/jawnsy> >> >> *“A master in the art of living draws no sharp distinction between his >> work and his play; his labor and his leisure; his mind and his body; his >> education and his recreation. He hardly knows which is which. He simply >> pursues his vision of excellence through whatever he is doing, and leaves >> others to determine whether he is working or playing. To himself, he always >> appears to be doing both.”* — L. P. Jacks, Education through Recreation >> (1932), p. 1 >> > >
_______________________________________________ users mailing list users@lists.openshift.redhat.com http://lists.openshift.redhat.com/openshiftmm/listinfo/users