Closed jwildeboer closed 7 years ago
Can you update and provide log of your run of 'init.sh'? Is this on Fedora? CBS? That kind of info....
I notice taht docker-machine ls doesn't show anything, docker ps does. I am guessing a mismatch between installed docker and docker-machine as the root cause of this weirdness.
RHEL 7.3, CSB, latest run of init.sh
##############################################################
## ##
## Setting up your very own ##
## ##
## ### #### ##### # # #### # # ##### ##### ##### ##
## # # # # # ## # # # # # # # ##
## # # #### ### # # # ### ##### # #### # ##
## # # # # # ## # # # # # # ##
## ### # ##### # # #### # # ##### # # ##
## ##
## #### ### # # ##### ### ##### # # ##### ##### ##
## # # # ## # # # # # ## # # # # ##
## # # # # # # # ##### # # # # ### ##### ##
## # # # # ## # # # # # ## # # # ##
## #### ### # # # # # ##### # # ##### # # ##
## ##
## #### # ### ##### ##### ### ##### # # ##
## # # # # # # # # # # # ## ## ##
## #### # ##### # #### # # ##### # # # ##
## # # # # # # # # # # # # ##
## # ##### # # # # ### # # # # ##
## ##
## https://github.com/redhatdemocentral/ocp-install-demo ##
## ##
##############################################################
Docker is installed... checking for valid version...
Valid version of docker engine found... 1.12
OpenShift command line tools installed... checking for valid version...
Version of installed OpenShift command line tools correct... v3.3.0.35
Installing OCP with cluster up...
Using Linux version of cluster up... oc verison: v3.3.0.35
-- Checking OpenShift client ... OK
-- Checking Docker client ... OK
-- Checking Docker version ... OK
-- Checking for existing OpenShift container ... OK
-- Checking for registry.access.redhat.com/openshift3/ose:v3.3.0.35 image ... OK
-- Checking Docker daemon configuration ... OK
-- Checking for available ports ...
WARNING: Binding DNS on port 8053 instead of 53, which may be not be resolvable from all clients.
-- Checking type of volume mount ...
Using nsenter mounter for OpenShift volumes
-- Creating host directories ... OK
-- Finding server IP ...
Using 10.200.68.161 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
-- 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://10.200.68.161:8443
You are logged in as:
User: developer
Password: developer
To login as administrator:
oc login -u system:admin
Logging in as admin user...
Logged into "https://10.200.68.161:8443" as "system:admin" using existing credentials.
You have access to the following projects and can switch between them with 'oc project <projectname>':
default
kube-system
* myproject
openshift
openshift-infra
Using project "myproject".
Set OCP IP to https://10.200.68.161:8443...
Host does not exist: "openshift"
Updating JBoss image streams...
imagestream "jboss-webserver30-tomcat7-openshift" created
imagestream "jboss-webserver30-tomcat8-openshift" created
imagestream "jboss-eap64-openshift" created
imagestream "jboss-eap70-openshift" created
imagestream "jboss-decisionserver62-openshift" created
imagestream "jboss-decisionserver63-openshift" created
imagestream "jboss-processserver63-openshift" created
imagestream "jboss-datagrid65-openshift" created
imagestream "jboss-datavirt63-openshift" created
imagestream "jboss-amq-62" created
imagestream "redhat-sso70-openshift" created
Updating RHEL 7 image streams...
imagestream "ruby" deleted
imagestream "nodejs" deleted
imagestream "perl" deleted
imagestream "php" deleted
imagestream "python" deleted
imagestream "mysql" deleted
imagestream "mariadb" deleted
imagestream "postgresql" deleted
imagestream "mongodb" deleted
imagestream "jenkins" deleted
imagestream "ruby" created
imagestream "nodejs" created
imagestream "perl" created
imagestream "php" created
imagestream "python" created
imagestream "mysql" created
imagestream "mariadb" created
imagestream "postgresql" created
imagestream "mongodb" created
imagestream "jenkins" created
====================================================
= =
= Install complete, get ready to rock your Cloud. =
= Look for information at end of OSE install. =
= =
= The server is accessible via web console at: =
= =
= https://10.200.68.161:8443 =
= =
= Log in as user: openshift-dev =
= password: devel =
= =
= Admin log in as: admin =
= password: admin =
= =
= Now get your Red Hat Demo Central example =
= projects here: =
= =
= https://github.com/redhatdemocentral =
= =
= When finished, clean up your demo with: =
= =
= $ docker-machine rm -f openshift =
= =
= If you want to save the machine and restart it =
= next time, don't use init.sh, instead: =
= =
= $ docker-machine stop openshift =
= =
= $ docker-machine start openshift =
= =
====================================================
I am aslo seeing a "Failed Sync" message in Events:
Error syncing pod, skipping: failed to "StartContainer" for "POD" with RunContainerError: "addNDotsOption: ResolvConfPath \"/var/lib/docker-latest/containers/dea8df91f3956f334aafec61ff08cc71cd5a201c8515b823727814351a132876/resolv.conf\" does not exist"
I have not had mine generate IPs in the 10.* range, so maybe this is related to whatever network you are on?
Looks like you are having port issues.... would need to raise this with the OpenShift project as how they automate this setup is outside of this project.
Let me know if you need a name to contact?
I will try again to run the init script at home. Could well be that the office network is interfering.
Closing this for now, reopen if you think we can help.
Environment: RHEL 7.3, docker installed from RHEL repo:
First problem: no docker-machine in this. So I downloaded/installed docker-machine.
The init.sh script somehow made it but I spot some messages that look wrong:
I can login to OpenShift console but whatever template I try fails with:
Not sure how to go from here ...