I tried this, it still starts at private IP address. My logs are copied below notice that I want to start at 54.227.129.18 but server starts at https://172.31.32.131:8443
What am I doing wrong? ------------------------------------------------------ [ec2-user@ip-172-31-32-131 openshift131]$ ./oc cluster up --public-hostname= ec2-54-227-129-18.compute-1.amazonaws.com --routing-suffix= 54.227.129.18.xip.io --metrics -- Checking OpenShift client ... OK -- Checking Docker client ... OK -- Checking Docker version ... OK -- Checking for existing OpenShift container ... OK -- Checking for openshift/origin:v1.3.1 image ... OK -- Checking Docker daemon configuration ... OK -- Checking for available ports ... OK -- Checking type of volume mount ... Using nsenter mounter for OpenShift volumes -- Creating host directories ... OK -- Finding server IP ... Using 172.31.32.131 as the server IP -- Starting OpenShift container ... Creating initial OpenShift configuration Starting OpenShift using container 'origin' Waiting for API server to start listening OpenShift server started -- Installing registry ... OK -- Installing router ... OK -- Install Metrics ... OK -- Importing image streams ... OK -- Importing templates ... OK -- Login to server ... OK -- Creating initial project "myproject" ... OK -- Server Information ... OpenShift server started. The server is accessible via web console at: https://172.31.32.131:8443 The metrics service is available at: https://metrics-openshift-infra.54.227.129.18.xip.io You are logged in as: User: developer Password: developer To login as administrator: oc login -u system:admin On Thu, Nov 3, 2016 at 9:00 AM, Cesar Wong <cew...@redhat.com> wrote: > Hi Ravi, > > On AWS, the magic incantation is: > > oc cluster up --public-hostname=[public dns name] --routing-suffix=[ip > address].xip.io > > Don't specify the numeric ip address in --public-hostname, rather the dns > name. > > You can then access the web console at https://[public dns name]:8443/ > > > On Windows 7 + VirtualBox + Ubuntu ... is it unable to connect to a route > because the address/port is not reachable or because the dns name is not > found? > > On Nov 2, 2016, at 9:34 PM, Ravi <ravikapoor...@gmail.com> wrote: > > > I am not able to start openshift, I tried three different ways. > > 1. Windows 7 + Virtual Box + Ubuntu > oc cluster up works well. I went to console and launched nodejs-ex > example. Console shows it is up, however when I click on route, it says > "unable to connect". I tried going directly to POD's IP address and it does > work. In other words, somehow load balancer was failing in virtualbox > Ubuntu VM. > > 2. Then I moved on to AWS. I launched a RedHat image and installed docker > and started openshift. Here, OC starts on private IP address, so I am not > able to access it from public internet. I even tried > oc cluster up --public-hostname='my ip address' but since the public ip > address is some magic, oc is not able to detect etcd etc and fails. > > 3. Then I tried on google cloud. I faced exactly same issue as AWS. > > If any one of them works, I will be ok but no idea how to get past these > issues. > > _______________________________________________ > 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