This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Download Openshift | |
https://github.com/openshift/origin/releases/tag/v3.6.1 | |
oc cluster up with persistent storage | |
create dir mydata | |
oc cluster up --host-data-dir=mydata --use-existing-config | |
Install OpenShift | |
docker install | |
subscription-manager repos --enable=rhel-7-server-extras-rpms |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[root@master bridge]# mvn clean install | |
[INFO] Scanning for projects... | |
[INFO] | |
[INFO] ------------------------------------------------------------------------ | |
[INFO] Building Red Hat IoT :: Cloudera Demo :: MQTT to Kafka Bridge 1.0-SNAPSHOT | |
[INFO] ------------------------------------------------------------------------ | |
[INFO] | |
[INFO] --- maven-clean-plugin:2.5:clean (default-clean) @ mqtt-kafka-bridge --- | |
[INFO] Deleting /root/kapua/dev-tools/src/main/openshift/cloudera-iot-demo/bridge/target | |
[INFO] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[root@master bridge]# mvn clean install | |
[INFO] Scanning for projects... | |
[INFO] | |
[INFO] ------------------------------------------------------------------------ | |
[INFO] Building Red Hat IoT :: Cloudera Demo :: MQTT to Kafka Bridge 1.0-SNAPSHOT | |
[INFO] ------------------------------------------------------------------------ | |
[INFO] | |
[INFO] --- maven-clean-plugin:2.4.1:clean (default-clean) @ mqtt-kafka-bridge --- | |
[INFO] Deleting /root/kapua/dev-tools/src/main/openshift/cloudera-iot-demo/bridge/target | |
[INFO] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[openshift@localhost bosch]$ docker run -ti -v `pwd`:/root/data docker.io/osevg/openshifter create cluster | |
INFO:Provisioner(byo):Validating master existence | |
INFO:Provisioner(byo):Master exists (192.168.122.142) | |
INFO:Provisioner(byo):Validating master existence | |
INFO:Provisioner(byo):Master exists (192.168.122.142) | |
INFO:Provisioner(byo):Validating master existence | |
INFO:Provisioner(byo):Master exists (192.168.122.142) | |
INFO:paramiko.transport:Connected (version 2.0, client OpenSSH_7.4) | |
INFO:paramiko.transport:Authentication (publickey) successful! | |
INFO:Feature(Basic):Starting feature for 192.168.122.142 (master,infra,node) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
With network enabled: | |
[redhat@localhost openshift-origin-v3.6.1]$ sudo ./openshift start --master-config=openshift.local.config/master/master-config.yaml --node-config=openshift.local.config/node-localhost.localdomain/node-config.yaml & | |
[1] 18160 | |
[redhat@localhost openshift-origin-v3.6.1]$ W0201 15:34:14.109333 18169 start_master.go:297] Warning: assetConfig.loggingPublicURL: Invalid value: "": required to view aggregated container logs in the console, master start will continue. | |
W0201 15:34:14.109440 18169 start_master.go:297] Warning: assetConfig.metricsPublicURL: Invalid value: "": required to view cluster metrics in the console, master start will continue. | |
W0201 15:34:14.109449 18169 start_master.go:297] Warning: auditConfig.auditFilePath: Required value: audit can not be logged to a separate file, master start will continue. | |
I0201 15:34:14.117399 18169 plugins.go:101] No cloud provider specified. | |
E0201 15:34:14.130701 18169 controllermanager.go:337] Server isn't healthy yet. Waiting a little |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
W0201 02:24:51.572509 4015 start_master.go:297] Warning: assetConfig.loggingPublicURL: Invalid value: "": required to view aggregated container logs in the console, master start will continue. | |
W0201 02:24:51.572938 4015 start_master.go:297] Warning: assetConfig.metricsPublicURL: Invalid value: "": required to view cluster metrics in the console, master start will continue. | |
W0201 02:24:51.572951 4015 start_master.go:297] Warning: auditConfig.auditFilePath: Required value: audit can not be logged to a separate file, master start will continue. | |
I0201 02:24:51.578477 4015 plugins.go:101] No cloud provider specified. | |
E0201 02:24:51.584102 4015 controllermanager.go:337] Server isn't healthy yet. Waiting a little while. | |
2018-02-01 02:24:51.588082 I | etcdserver/api/v3rpc: grpc: addrConn.resetTransport failed to create client transport: connection error: desc = "transport: dial tcp 192.168.122.1:4001: getsockopt: connection refused"; Reconnecting to {192.168.122.1:4001 <nil>} | |
2018-02-01 02:24:51.59343 |