Guest User

Untitled

a guest
Jul 4th, 2017
25
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 4.68 KB | None | 0 0
  1. $ bash <(curl -s https://raw.githubusercontent.com/fabric8io/fabric8-platform/master/install.sh)
  2. Installing fabric8 version: 4.0.15
  3. Using the fabric8 template: http://central.maven.org/maven2/io/fabric8/platform/packages/fabric8-system/4.0.15/fabric8-system-4.0.15-openshift.yml
  4. enabling CORS in minishift
  5. Error: unknown command "openshift" for "minishift"
  6. Run 'minishift --help' for usage.
  7. F0704 17:49:50.757073 24828 root.go:93] unknown command "openshift" for "minishift"
  8. Login successful.
  9.  
  10. You don't have any projects. You can try to create a new project, by running
  11.  
  12. oc new-project <projectname>
  13.  
  14. Now using project "developer" on server "https://192.168.42.176:8443".
  15.  
  16. You can add applications to this project with the 'new-app' command. For example, try:
  17.  
  18. oc new-app centos/ruby-22-centos7~https://github.com/openshift/ruby-ex.git
  19.  
  20. to build a new example application in Ruby.
  21. Now using project "fabric8" on server "https://192.168.42.176:8443".
  22.  
  23. You can add applications to this project with the 'new-app' command. For example, try:
  24.  
  25. oc new-app centos/ruby-22-centos7~https://github.com/openshift/ruby-ex.git
  26.  
  27. to build a new example application in Ruby.
  28. Connecting to the API Server at: https://192.168.42.176:8443
  29. Using Node IP 192.168.42.176 and Exposer strategy: Route
  30. Using github client ID: 709a2a9c9c798cd8f816 and secret: a38a8cd7f58b5129c4cbf0216b397513618a524d
  31. Applying the fabric8 template http://central.maven.org/maven2/io/fabric8/platform/packages/fabric8-system/4.0.15/fabric8-system-4.0.15-openshift.yml
  32. secret "f8tenant" created
  33. secret "keycloak" created
  34. secret "wit" created
  35. serviceaccount "configmapcontroller" created
  36. serviceaccount "exposecontroller" created
  37. serviceaccount "init-tenant" created
  38. service "che-starter" created
  39. service "f8tenant" created
  40. service "fabric8" created
  41. service "forge" created
  42. service "init-tenant-db" created
  43. service "keycloak" created
  44. service "wit" created
  45. service "wit-db" created
  46. rolebinding "configmapcontroller-edit" created
  47. rolebinding "exposecontroller-edit" created
  48. persistentvolumeclaim "init-tenant-postgresql-data" created
  49. persistentvolumeclaim "wit-postgresql-data" created
  50. configmap "che-starter" created
  51. configmap "exposecontroller" created
  52. configmap "f8tenant" created
  53. configmap "fabric8" created
  54. configmap "fabric8-platform" created
  55. configmap "forge" created
  56. configmap "keycloak" created
  57. deploymentconfig "che-starter" created
  58. deploymentconfig "configmapcontroller" created
  59. deploymentconfig "exposecontroller" created
  60. deploymentconfig "fabric8" created
  61. deploymentconfig "forge" created
  62. deploymentconfig "init-tenant" created
  63. deploymentconfig "init-tenant-db" created
  64. deploymentconfig "keycloak" created
  65. deploymentconfig "wit-db" created
  66. route "f8tenant" created
  67. route "fabric8" created
  68. route "forge" created
  69. route "keycloak" created
  70. route "wit" created
  71. Error from server (Invalid): ConfigMap "wit" is invalid: data[auth_notapproved_redirect]: Invalid value: "auth_notapproved_redirect": must have at most 253 characters and match regex \.?[a-z0-9]([-a-z0-9]*[a-z0-9])?(\.[a-z0-9]([-a-z0-9]*[a-z0-9])?)*
  72. Error from server (Invalid): DeploymentConfig "wit" is invalid: spec.template.spec.containers[0].env[11].valueFrom.configMapKeyRef.key: Invalid value: "auth_notapproved_redirect": must have at most 253 characters and match regex \.?[a-z0-9]([-a-z0-9]*[a-z0-9])?(\.[a-z0-9]([-a-z0-9]*[a-z0-9])?)*
  73. Now adding the OAuthClient and cluster-admin role to the init-tenant service account
  74. Authentication required for https://192.168.42.176:8443 (openshift)
  75. Username: system:admin
  76. Password:
  77. error: username system:admin is invalid for basic auth
  78. Error from server (Forbidden): error when creating "STDIN": User "developer" cannot create oauthclients at the cluster scope
  79. Error from server (Forbidden): User "developer" cannot get clusterpolicybindings at the cluster scope
  80. Login successful.
  81.  
  82. You have access to the following projects and can switch between them with 'oc project <projectname>':
  83.  
  84. developer
  85. * fabric8
  86.  
  87. Using project "fabric8".
  88. Please wait while the pods all startup!
  89.  
  90. To watch this happening you can type:
  91. oc get pod -l provider=fabric8 -w
  92.  
  93. Or you can watch in the OpenShift console via:
  94. minishift console
  95.  
  96. When the pods are all running please click on the following URLs in your browser, then ADVANCED, then click the URL at the bottom
  97. To approve the certs
  98.  
  99. https://keycloak-fabric8.192.168.42.176.xip.io/
  100. https://wit-fabric8.192.168.42.176.xip.io/api/status
  101. https://forge-fabric8.192.168.42.176.xip.io/forge/version
  102. https://fabric8-fabric8.192.168.42.176.xip.io/
  103.  
  104.  
  105. Then you should be able the open the fabric8 console here:
  106. https://fabric8-fabric8.192.168.42.176.xip.io/
Add Comment
Please, Sign In to add comment