Skip to content

Instantly share code, notes, and snippets.

rajdavies@wlan-227-93:~/dev/runtimes/minishift$ oc logs init-tenant-1-3g12h
{"level":"info","msg":"Configured connection pool max idle 90","time":"2017-07-19 12:45:45"}
{"level":"info","msg":"Configured connection pool max open 90","time":"2017-07-19 12:45:45"}
{"current_version":1,"level":"info","msg":"Current version 1. Nothing to update.","next_version":2,"pkg":"github.com/fabric8-services/fabric8-tenant/migration","time":"2017-07-19 12:45:45"}
{"err":"Get http://keycloak-fabric8.192.168.64.78.nip.io/auth/realms/fabric8: dial tcp 192.168.64.78:80: getsockopt: connection refused","level":"panic","msg":"failed to parse public token","pid":1,"time":"2017-07-19 12:45:45"}
panic: (*logrus.Entry) (0xa154c0,0xc42022c8c0)
goroutine 1 [running]:
github.com/fabric8-services/fabric8-tenant/vendor/github.com/Sirupsen/logrus.Entry.log(0xc420014460, 0xc42034a060, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x40e600, ...)
/home/jenkins/go/src/github.com/fabric8-services/fabric8-tenant/vendor/github.com/Sirupsen/logrus/entry.go:
rajdavies@FabMac:~/dev/projects/fabric8-platform$ install-minikube.sh
Installing fabric8 version: 4.0.49
Using the fabric8 template: http://central.maven.org/maven2/io/fabric8/platform/packages/fabric8-system/4.0.49/fabric8-system-4.0.49-k8s-template.yml
Connecting to the API Server at: https://192.168.99.102:8443
Using Node IP 192.168.99.102 and Exposer strategy: Ingress
Using github client ID: and secret:
namespace "developer" created
namespace "fabric8" created
node "minikube" labeled
Applying the fabric8 template http://central.maven.org/maven2/io/fabric8/platform/packages/fabric8-system/4.0.49/fabric8-system-4.0.49-k8s-template.yml
NAME READY STATUS RESTARTS AGE
configmapcontroller-1-r6spn 1/1 Running 0 17m
exposecontroller-2-vc62g 1/1 Running 0 17m
fabric8-4-w66fl 1/1 Running 0 15m
forge-4-1ncwr 1/1 Running 0 15m
init-tenant-1-cwsfs 0/1 CrashLoopBackOff 8 17m
init-tenant-1-deploy 1/1 Running 0 17m
init-tenant-db-1-7dr9r 1/1 Running 0 17m
keycloak-4-deploy 0/1 Error 0 15m
keycloak-db-1-wqh3v 1/1 Running 0 17m
NAME REVISION DESIRED CURRENT TRIGGERED BY
configmapcontroller 0 1 0 config,image(configmapcontroller:2.3.7)
exposecontroller 0 1 0 config,image(exposecontroller:2.3.8)
fabric8 0 1 0 config,image(fabric8-ui:SNAPSHOT.va1b8d978)
forge 0 1 0 config,image(generator-backend:1.0.41)
keycloak 0 1 0 config,image(keycloak-postgres:vfa10852)
keycloak-db 0 1 0 config,image(postgresql:9.6)
wit 1 1 1 config
wit-db 1 1 1 config
NAME READY STATUS RESTARTS AGE
wit-1-jpfcg 1/1 Running 0 2h
wit-db-1-whlhf 1/1 Running 0 2h
rajdavies@FabMac:~/dev/runtimes/minishift$
@rajdavies
rajdavies / .bash_profile
Last active April 13, 2017 19:57 — forked from natelandau/.bash_profile
Mac OSX Bash Profile
# ---------------------------------------------------------------------------
#
# Sections:
# 1. Environment Configuration
# 2. Make Terminal Better (remapping defaults and adding functionality)
# 3. File and Folder Management
# 4. Searching
# 5. Process Management
# 6. Networking
# 7. System Operations & Information
java.lang.NoSuchMethodError: io.fabric8.kubernetes.client.KubernetesClient.namespaces()Lio/fabric8/kubernetes/client/dsl/NonNamespaceOperation;
at io.fabric8.kubernetes.api.Controller.applyNamespace(Controller.java:1175)
at io.fabric8.kubernetes.api.Controller.applyNamespace(Controller.java:1163)
at io.fabric8.kubernetes.api.Controller.applyNamespace(Controller.java:1125)
at io.fabric8.kubernetes.pipeline.devops.ApplyStepExecution.createEnvironment(ApplyStepExecution.java:229)
There are dependency errors loading some plugins:
GitHub Pipeline for Blue Ocean v1.0.0-b25
Pipeline REST API for Blue Ocean v1.0.0-b25 failed to load. Fix this plugin first.
Git Pipeline for Blue Ocean v1.0.0-b25
Pipeline REST API for Blue Ocean v1.0.0-b25 failed to load. Fix this plugin first.
Pipeline v2.5
Pipeline: Multibranch v2.9.2 failed to load. Fix this plugin first.
Fabric8 Workflow Steps v1.0
Pipeline v1.8 failed to load. Fix this plugin first.
Pipeline: Model Definition v1.0.2
--> FailedCreate: che-1 Error creating: pods "che-1-" is forbidden: unable to validate against any security context constraint: [spec.initContainers[0].securityContext.volumes[0]: Invalid value: "hostPath": hostPath volumes are not allowed to be used spec.containers[0].securityContext.privileged: Invalid value: true: Privileged containers are not allowed spec.containers[0].securityContext.volumes[0]: Invalid value: "hostPath": hostPath volumes are not allowed to be used spec.initContainers[0].securityContext.volumes[0]: Invalid value: "hostPath": hostPath volumes are not allowed to be used spec.initContainers[0].securityContext.volumes[1]: Invalid value: "persistentVolumeClaim": persistentVolumeClaim volumes are not allowed to be used spec.initContainers[0].securityContext.volumes[2]: Invalid value: "persistentVolumeClaim": persistentVolumeClaim volumes are not allowed to be used spec.containers[0].securityContext.privileged: Invalid value: true: Privileged containers are not allowed spec.containers[0].secu
rajdavies@FabMac:~$ kc describe pod nexus-3628846063-opgps
Name: nexus-3628846063-opgps
Namespace: default
Node: minikube/192.168.64.75
Start Time: Mon, 12 Dec 2016 11:22:27 +0000
Labels: group=io.fabric8.devops.apps
pod-template-hash=3628846063
project=nexus
provider=fabric8
version=2.2.298