OpenShift Origin Quickstart error: getsockopt: no route to host 172.30.0.1 on a VM
OpenShift Origin Quickstart error: getsockopt: no route to host 172.30.0.1 on a VM
我目前正在尝试了解有关 OpenShift Origin 的更多信息,并在 VMWare Fusion 上部署了一个 CentOS VM。我按照 OpenShift 快速入门指南安装了 OpenShift Origin 服务器并 运行。但是,当我尝试部署测试应用程序时,在部署过程中出现以下错误。
我在添加新应用程序时也收到以下消息
oc new-app openshift/deployment-example
--> Found Docker image 1c839d8 (2 years old) from Docker Hub for "openshift/deployment-example"
* An image stream will be created as "deployment-example:latest" that will track this image
* This image will be deployed in deployment config "deployment-example"
* Port 8080/tcp will be load balanced by service "deployment-example"
* Other containers can access this service through the hostname "deployment-example"
* WARNING: Image "openshift/deployment-example" runs as the 'root' user which may not be permitted by your cluster administrator
--> Creating resources ...
imagestream "deployment-example" created
deploymentconfig "deployment-example" created
service "deployment-example" created
--> Success
**WARNING: No Docker registry has been configured with the server. Automatic builds and deployments may not function.**
需要做什么才能在我的 VM 上成功部署它?我不确定上面的警告消息是否与问题有关。
发现我的错误是端口 8443/tcp 没有打开。是不是使用
sudo firewall-cmd --zone=public --add-port=8443/tcp --permanent
sudo firewall-cmd --reload
它开始工作了
我目前正在尝试了解有关 OpenShift Origin 的更多信息,并在 VMWare Fusion 上部署了一个 CentOS VM。我按照 OpenShift 快速入门指南安装了 OpenShift Origin 服务器并 运行。但是,当我尝试部署测试应用程序时,在部署过程中出现以下错误。
我在添加新应用程序时也收到以下消息
oc new-app openshift/deployment-example
--> Found Docker image 1c839d8 (2 years old) from Docker Hub for "openshift/deployment-example"
* An image stream will be created as "deployment-example:latest" that will track this image
* This image will be deployed in deployment config "deployment-example"
* Port 8080/tcp will be load balanced by service "deployment-example"
* Other containers can access this service through the hostname "deployment-example"
* WARNING: Image "openshift/deployment-example" runs as the 'root' user which may not be permitted by your cluster administrator
--> Creating resources ...
imagestream "deployment-example" created
deploymentconfig "deployment-example" created
service "deployment-example" created
--> Success
**WARNING: No Docker registry has been configured with the server. Automatic builds and deployments may not function.**
需要做什么才能在我的 VM 上成功部署它?我不确定上面的警告消息是否与问题有关。
发现我的错误是端口 8443/tcp 没有打开。是不是使用
sudo firewall-cmd --zone=public --add-port=8443/tcp --permanent
sudo firewall-cmd --reload
它开始工作了