[JBoss JIRA] (JBIDE-21857) Hot class reload doesn't work on OpenShift
by Thomas Mäder (JIRA)
[ https://issues.jboss.org/browse/JBIDE-21857?page=com.atlassian.jira.plugi... ]
Thomas Mäder reassigned JBIDE-21857:
------------------------------------
Assignee: Rob Stryker (was: Max Rydahl Andersen)
> Hot class reload doesn't work on OpenShift
> ------------------------------------------
>
> Key: JBIDE-21857
> URL: https://issues.jboss.org/browse/JBIDE-21857
> Project: Tools (JBoss Tools)
> Issue Type: Bug
> Components: openshift
> Affects Versions: 4.3.1.Beta2
> Reporter: Fred Bricon
> Assignee: Rob Stryker
> Priority: Blocker
> Fix For: 4.4.0.Alpha1
>
> Attachments: HCRFailure.zip
>
>
> When enabling debug mode on an EAP server deployed on OpenShift, locally changing a class file will :
> - work sometimes when only the content of the method changed, but could fail in some other occasions with the Debugger saying the JDK is out of sync
> - will always fail if a method signature changed, the debugger saying JDK is out of sync
> Restarting the deployed module (with the .dodeploy flag) doesn't fixes the issue (as opposed to the same tweak ahen running on a local EAP server)
> This may be caused by running OpenJDK? Does it support the same level of debugging as Oracle JDK?
--
This message was sent by Atlassian JIRA
(v6.4.11#64026)
10 years
[JBoss JIRA] (JBIDE-22057) Changes done to OpenShift application are thrown away when debugging is enabled
by Andre Dietisheim (JIRA)
[ https://issues.jboss.org/browse/JBIDE-22057?page=com.atlassian.jira.plugi... ]
Andre Dietisheim edited comment on JBIDE-22057 at 4/5/16 11:19 AM:
-------------------------------------------------------------------
[~scabanovich] out of my guts I'd think that this is cause (as far as I can remember we debuggin to enabled in the env vars and also specify the debug port in the dc).
If this turns out to be true then this would mean that we'd have to do an initial rsync when restarting in debug mode I think
was (Author: adietish):
[~scabanovich] out of my guts I'd think that this is cause (as far as I can remember we debuggin to enabled in the env vars and also specify the debug port in the dc).
> Changes done to OpenShift application are thrown away when debugging is enabled
> -------------------------------------------------------------------------------
>
> Key: JBIDE-22057
> URL: https://issues.jboss.org/browse/JBIDE-22057
> Project: Tools (JBoss Tools)
> Issue Type: Bug
> Components: openshift
> Affects Versions: 4.3.1.CR1
> Reporter: Marián Labuda
> Priority: Critical
> Labels: openshift_v3, server_adapter
> Fix For: 4.4.0.Alpha1
>
>
> When I have an OpenShift application and I do any changes locally which are either incrementally or fully published, enabling of debugging discard those changes and start debugging on something different.
> I think this is caused because enabling debugging inject another env. vars to OpenShift and it spin up a new pod but does not keep changes.
--
This message was sent by Atlassian JIRA
(v6.4.11#64026)
10 years
[JBoss JIRA] (JBIDE-22075) Cannot debug OpenShift application
by Andre Dietisheim (JIRA)
[ https://issues.jboss.org/browse/JBIDE-22075?page=com.atlassian.jira.plugi... ]
Andre Dietisheim updated JBIDE-22075:
-------------------------------------
Attachment: error-in-launching-remote-debugger.png
> Cannot debug OpenShift application
> ----------------------------------
>
> Key: JBIDE-22075
> URL: https://issues.jboss.org/browse/JBIDE-22075
> Project: Tools (JBoss Tools)
> Issue Type: Bug
> Components: openshift
> Affects Versions: 4.3.1.CR1
> Reporter: Marián Labuda
> Assignee: Fred Bricon
> Priority: Critical
> Labels: openshift_v3
> Attachments: error-in-launching-remote-debugger.png
>
>
> When I am trying to run remote debugging of an application on OpenShift I get following error
> {code}
> Failed to connect to remote VM
> com.sun.jdi.connect.spi.ClosedConnectionException
> at org.eclipse.jdi.internal.connect.SocketTransportService.readHandshake(SocketTransportService.java:222)
> at org.eclipse.jdi.internal.connect.SocketTransportService.access$7(SocketTransportService.java:214)
> at org.eclipse.jdi.internal.connect.SocketTransportService$3.run(SocketTransportService.java:185)
> at java.lang.Thread.run(Thread.java:745)
> {code}
> I guess this is something related to port forwarding. Even the port for debugging is forwarded on a free port and it looks like started, it fails. When I stop port forwarding, start it again and use a port, which is used as a forwarded port for remote debug port, in debug configuration, it works.
--
This message was sent by Atlassian JIRA
(v6.4.11#64026)
10 years
[JBoss JIRA] (JBIDE-22075) Cannot debug OpenShift application
by Andre Dietisheim (JIRA)
[ https://issues.jboss.org/browse/JBIDE-22075?page=com.atlassian.jira.plugi... ]
Andre Dietisheim updated JBIDE-22075:
-------------------------------------
Steps to Reproduce:
ASSERT: Have an OpenShift 3 application based on eap 6 template with server adapter and project in workspace.
EXEC: Select "Restart in Debug" in context menu of server adapter.
ASSERT: Server adapter is in state debugging.
EXEC: Click on Debug Remote debugger to 'server adapter name' workbench tool item to start debugging.
RESULT: Error is shown.
!error-in-launching-remote-debugger.png!
EXPECTED RESULT: Debugger works.
was:
ASSERT: Have an OpenShift 3 application based on eap 6 template with server adapter and project in workspace.
EXEC: Select "Restart in Debug" in context menu of server adapter.
ASSERT: Server adapter is in state debugging.
EXEC: Click on Debug Remote debugger to 'server adapter name' workbench tool item to start debugging.
RESULT: Error is shown.
EXPECTED RESULT: Debugger works.
> Cannot debug OpenShift application
> ----------------------------------
>
> Key: JBIDE-22075
> URL: https://issues.jboss.org/browse/JBIDE-22075
> Project: Tools (JBoss Tools)
> Issue Type: Bug
> Components: openshift
> Affects Versions: 4.3.1.CR1
> Reporter: Marián Labuda
> Assignee: Fred Bricon
> Priority: Critical
> Labels: openshift_v3
> Attachments: error-in-launching-remote-debugger.png
>
>
> When I am trying to run remote debugging of an application on OpenShift I get following error
> {code}
> Failed to connect to remote VM
> com.sun.jdi.connect.spi.ClosedConnectionException
> at org.eclipse.jdi.internal.connect.SocketTransportService.readHandshake(SocketTransportService.java:222)
> at org.eclipse.jdi.internal.connect.SocketTransportService.access$7(SocketTransportService.java:214)
> at org.eclipse.jdi.internal.connect.SocketTransportService$3.run(SocketTransportService.java:185)
> at java.lang.Thread.run(Thread.java:745)
> {code}
> I guess this is something related to port forwarding. Even the port for debugging is forwarded on a free port and it looks like started, it fails. When I stop port forwarding, start it again and use a port, which is used as a forwarded port for remote debug port, in debug configuration, it works.
--
This message was sent by Atlassian JIRA
(v6.4.11#64026)
10 years
[JBoss JIRA] (JBIDE-22111) OpenShift logging is too chatty on stdout
by Andre Dietisheim (JIRA)
[ https://issues.jboss.org/browse/JBIDE-22111?page=com.atlassian.jira.plugi... ]
Andre Dietisheim commented on JBIDE-22111:
------------------------------------------
I see plenty of client lib messages in the log4j DEBUG facility:
{code}
[DEBUG] 2016-04-05 16:58:25,625 com.openshift.internal.restclient.DefaultClient - {"kind":"Project","apiVersion":"v1","metadata":{"name":"test","selfLink":"/oapi/v1/projects/test","uid":"284d043d-eabe-11e5-8670-525400b46e1a","resourceVersion":"4295","creationTimestamp":"2016-03-15T14:56:54Z","annotations":{"openshift.io/description":"","openshift.io/display-name":"","openshift.io/requester":"openshift-dev","openshift.io/sa.scc.mcs":"s0:c6,c0","openshift.io/sa.scc.supplemental-groups":"1000030000/10000","openshift.io/sa.scc.uid-range":"1000030000/10000"}},"spec":{"finalizers":["openshift.io/origin","kubernetes"]},"status":{"phase":"Active"}}
[DEBUG] 2016-04-05 16:58:25,626 com.openshift.internal.restclient.URLBuilder - Built url: https://10.3.2.2:8443/oapi/v1/projects/test
[DEBUG] 2016-04-05 16:58:25,705 com.openshift.internal.restclient.DefaultClient - {"kind":"Project","apiVersion":"v1","metadata":{"name":"test","selfLink":"/oapi/v1/projects/test","uid":"284d043d-eabe-11e5-8670-525400b46e1a","resourceVersion":"4295","creationTimestamp":"2016-03-15T14:56:54Z","annotations":{"openshift.io/description":"","openshift.io/display-name":"","openshift.io/requester":"openshift-dev","openshift.io/sa.scc.mcs":"s0:c6,c0","openshift.io/sa.scc.supplemental-groups":"1000030000/10000","openshift.io/sa.scc.uid-range":"1000030000/10000"}},"spec":{"finalizers":["openshift.io/origin","kubernetes"]},"status":{"phase":"Active"}}
[DEBUG] 2016-04-05 16:58:25,706 com.openshift.internal.restclient.URLBuilder - Built url: https://10.3.2.2:8443/api/v1/namespaces/test/pods
[DEBUG] 2016-04-05 16:58:25,792 com.openshift.internal.restclient.DefaultClient - List Response: {"kind":"PodList","apiVersion":"v1","metadata":{"selfLink":"/api/v1/namespaces/test/pods","resourceVersion":"86636"},"items":[{"metadata":{"name":"eap-app-1-build","namespace":"test","selfLink":"/api/v1/namespaces/test/pods/eap-app-1-build","uid":"e8cf18ca-ec31-11e5-b68a-525400b46e1a","resourceVersion":"52916","creationTimestamp":"2016-03-17T11:18:00Z","labels":{"openshift.io/build.name":"eap-app-1"},"annotations":{"openshift.io/build.name":"eap-app-1","openshift.io/scc":"privileged"}},"spec":{"volumes":[{"name":"docker-socket","hostPath":{"path":"/var/run/docker.sock"}},{"name":"builder-dockercfg-c9svc-push","secret":{"secretName":"builder-dockercfg-c9svc"}},{"name":"builder-token-9y9wk","secret":{"secretName":"builder-token-9y9wk"}}],"containers":[{"name":"sti-build","image":"openshift3/ose-sti-builder:v3.1.1.906","args":["--loglevel=0"],"env":[{"name":"BUILD","value":"{\"kind\":\"Build\",\"apiVersion\":\"v1\",\"metadata\":{\"name\":\"eap-app-1\",\"namespace\":\"test\",\"selfLink\":\"/oapi/v1/namespaces/test/builds/eap-app-1\",\"uid\":\"e8c887e4-ec31-11e5-b68a-525400b46e1a\",\"resourceVersion\":\"12792\",\"creationTimestamp\":\"2016-03-17T11:18:00Z\",\"labels\":{\"application\":\"eap-app\",\"buildconfig\":\"eap-app\",\"openshift.io/build-config.name\":\"eap-app\",\"template\":\"eap64-basic-s2i\",\"xpaas\":\"1.2.0\"},\"annotations\":{\"openshift.io/build.number\":\"1\"}},\"spec\":{\"serviceAccount\":\"builder\",\"source\":{\"type\":\"Git\",\"git\":{\"uri\":\"https://github.com/jboss-developer/jboss-eap-quickstarts\",\"ref\":\"6.4.x\"},\"contextDir\":\"kitchensink\",\"secrets\":null},\"strategy\":{\"type\":\"Source\",\"sourceStrategy\":{\"from\":{\"kind\":\"DockerImage\",\"name\":\"registry.access.redhat.com/jboss-eap-6/eap64-openshift:1.2\"},\"forcePull\":true}},\"output\":{\"to\":{\"kind\":\"DockerImage\",\"name\":\"172.30.137.57:5000/test/eap-app:latest\"},\"pushSecret\":{\"name\":\"builder-dockercfg-c9svc\"}},\"resources\":{},\"postCommit\":{}},\"status\":{\"phase\":\"New\",\"outputDockerImageReference\":\"172.30.137.57:5000/test/eap-app:latest\",\"config\":{\"kind\":\"BuildConfig\",\"namespace\":\"test\",\"name\":\"eap-app\"}}}\n"},{"name":"BUILD_LOGLEVEL","value":"0"},{"name":"SOURCE_REPOSITORY","value":"https://github.com/jboss-developer/jboss-eap-quickstarts"},{"name":"SOURCE_URI","value":"https://github.com/jboss-developer/jboss-eap-quickstarts"},{"name":"SOURCE_CONTEXT_DIR","value":"kitchensink"},{"name":"SOURCE_REF","value":"6.4.x"},{"name":"ORIGIN_VERSION","value":"v3.1.1.906"},{"name":"ALLOWED_UIDS","value":"1-"},{"name":"PUSH_DOCKERCFG_PATH","value":"/var/run/secrets/openshift.io/push"}],"resources":{},"volumeMounts":[{"name":"docker-socket","mountPath":"/var/run/docker.sock"},{"name":"builder-dockercfg-c9svc-push","readOnly":true,"mountPath":"/var/run/secrets/openshift.io/push"},{"name":"builder-token-9y9wk","readOnly":true,"mountPath":"/var/run/secrets/kubernetes.io/serviceaccount"}],"terminationMessagePath":"/dev/termination-log","imagePullPolicy":"IfNotPresent","securityContext":{"privileged":true}}],"restartPolicy":"Never","terminationGracePeriodSeconds":30,"dnsPolicy":"ClusterFirst","host":"rhel-cdk","serviceAccountName":"builder","serviceAccount":"builder","nodeName":"rhel-cdk","securityContext":{},"imagePullSecrets":[{"name":"builder-dockercfg-c9svc"}]},"status":{"phase":"Succeeded","conditions":[{"type":"Ready","status":"False","lastProbeTime":null,"lastTransitionTime":"2016-03-17T11:39:27Z","reason":"PodCompleted"}],"hostIP":"10.0.2.15","podIP":"172.17.0.2","startTime":"2016-03-17T11:18:00Z","containerStatuses":[{"name":"sti-build","state":{"terminated":{"exitCode":0,"reason":"Completed","startedAt":"2016-03-17T11:18:51Z","finishedAt":"2016-03-17T11:39:26Z","containerID":"docker://67eee4f109f055d26efce710929c262a7e4ef45806d065bcebddb0fd5c948111"}},"lastState":{},"ready":false,"restartCount":0,"image":"openshift3/ose-sti-builder:v3.1.1.906","imageID":"docker://aa6466ccc68120164524cf1f5789c596db2b342823e094b8a88ffc2a6b8b1b63","containerID":"docker://67eee4f109f055d26efce710929c262a7e4ef45806d065bcebddb0fd5c948111"}]}},{"metadata":{"name":"eap-app-2-9pvzm","generateName":"eap-app-2-","namespace":"test","selfLink":"/api/v1/namespaces/test/pods/eap-app-2-9pvzm","uid":"b95243c4-fb3e-11e5-94bf-525400b46e1a","resourceVersion":"86629","creationTimestamp":"2016-04-05T14:57:32Z","labels":{"application":"eap-app","deployment":"eap-app-2","deploymentConfig":"eap-app","deploymentconfig":"eap-app"},"annotations":{"kubernetes.io/created-by":"{\"kind\":\"SerializedReference\",\"apiVersion\":\"v1\",\"reference\":{\"kind\":\"ReplicationController\",\"namespace\":\"test\",\"name\":\"eap-app-2\",\"uid\":\"b489fc1a-fb3e-11e5-94bf-525400b46e1a\",\"apiVersion\":\"v1\",\"resourceVersion\":\"86603\"}}\n","openshift.io/deployment-config.latest-version":"2","openshift.io/deployment-config.name":"eap-app","openshift.io/deployment.name":"eap-app-2","openshift.io/scc":"anyuid"}},"spec":{"volumes":[{"name":"default-token-n7i7r","secret":{"secretName":"default-token-n7i7r"}}],"containers":[{"name":"eap-app","image":"172.30.137.57:5000/test/eap-app@sha256:94406321dc8382092ba774c54a0b3c82d6b4368623d6b0d639a1ee5bf830127d","ports":[{"name":"http","containerPort":8080,"protocol":"TCP"},{"name":"jolokia","containerPort":8778,"protocol":"TCP"},{"name":"ping","containerPort":8888,"protocol":"TCP"},{"name":"debug","containerPort":8787,"protocol":"TCP"}],"env":[{"name":"OPENSHIFT_KUBE_PING_LABELS","value":"application=eap-app"},{"name":"OPENSHIFT_KUBE_PING_NAMESPACE","valueFrom":{"fieldRef":{"apiVersion":"v1","fieldPath":"metadata.namespace"}}},{"name":"HORNETQ_CLUSTER_PASSWORD","value":"thuRJNWR"},{"name":"HORNETQ_QUEUES"},{"name":"HORNETQ_TOPICS"},{"name":"JGROUPS_CLUSTER_PASSWORD","value":"6BrBSRAR"},{"name":"DEBUG_PORT","value":"8787"},{"name":"DEV_MODE","value":"true"},{"name":"DEBUG","value":"true"}],"resources":{},"volumeMounts":[{"name":"default-token-n7i7r","readOnly":true,"mountPath":"/var/run/secrets/kubernetes.io/serviceaccount"}],"livenessProbe":{"exec":{"command":["/bin/bash","-c","/opt/eap/bin/livenessProbe.sh"]},"timeoutSeconds":1,"periodSeconds":10,"successThreshold":1,"failureThreshold":3},"readinessProbe":{"exec":{"command":["/bin/bash","-c","/opt/eap/bin/readinessProbe.sh"]},"timeoutSeconds":1,"periodSeconds":10,"successThreshold":1,"failureThreshold":3},"terminationMessagePath":"/dev/termination-log","imagePullPolicy":"Always","securityContext":{"capabilities":{"drop":["KILL","MKNOD","SYS_CHROOT"]},"privileged":false,"seLinuxOptions":{"level":"s0:c6,c0"}}}],"restartPolicy":"Always","terminationGracePeriodSeconds":60,"dnsPolicy":"ClusterFirst","host":"rhel-cdk","serviceAccountName":"default","serviceAccount":"default","nodeName":"rhel-cdk","securityContext":{"seLinuxOptions":{"level":"s0:c6,c0"}},"imagePullSecrets":[{"name":"default-dockercfg-npnnf"}]},"status":{"phase":"Running","conditions":[{"type":"Ready","status":"True","lastProbeTime":null,"lastTransitionTime":"2016-04-05T14:58:15Z"}],"hostIP":"10.0.2.15","podIP":"172.17.0.5","startTime":"2016-04-05T14:57:32Z","containerStatuses":[{"name":"eap-app","state":{"running":{"startedAt":"2016-04-05T14:57:35Z"}},"lastState":{},"ready":true,"restartCount":0,"image":"172.30.137.57:5000/test/eap-app@sha256:94406321dc8382092ba774c54a0b3c82d6b4368623d6b0d639a1ee5bf830127d","imageID":"docker://3e714b77bd619e5513385d7f2b642432e909df5239fef20b01ff5bb69c1f84a1","containerID":"docker://9df9f2789ae95848d8076f5246c4c9d0d286c043bba0658c8d971a0ff1e14348"}]}},{"metadata":{"name":"nodejs-example-1-build","namespace":"test","selfLink":"/api/v1/namespaces/test/pods/nodejs-example-1-build","uid":"2dc9ebbc-ec5f-11e5-a91c-525400b46e1a","resourceVersion":"52921","creationTimestamp":"2016-03-17T16:42:03Z","labels":{"openshift.io/build.name":"nodejs-example-1"},"annotations":{"openshift.io/build.name":"nodejs-example-1","openshift.io/scc":"privileged"}},"spec":{"volumes":[{"name":"docker-socket","hostPath":{"path":"/var/run/docker.sock"}},{"name":"builder-dockercfg-c9svc-push","secret":{"secretName":"builder-dockercfg-c9svc"}},{"name":"builder-token-9y9wk","secret":{"secretName":"builder-token-9y9wk"}}],"containers":[{"name":"sti-build","image":"openshift3/ose-sti-builder:v3.1.1.906","args":["--loglevel=0"],"env":[{"name":"BUILD","value":"{\"kind\":\"Build\",\"apiVersion\":\"v1\",\"metadata\":{\"name\":\"nodejs-example-1\",\"namespace\":\"test\",\"selfLink\":\"/oapi/v1/namespaces/test/builds/nodejs-example-1\",\"uid\":\"2dbcf807-ec5f-11e5-a91c-525400b46e1a\",\"resourceVersion\":\"14734\",\"creationTimestamp\":\"2016-03-17T16:42:03Z\",\"labels\":{\"buildconfig\":\"nodejs-example\",\"openshift.io/build-config.name\":\"nodejs-example\",\"template\":\"nodejs-example\"},\"annotations\":{\"openshift.io/build.number\":\"1\"}},\"spec\":{\"serviceAccount\":\"builder\",\"source\":{\"type\":\"Git\",\"git\":{\"uri\":\"https://github.com/openshift/nodejs-ex.git\"},\"secrets\":null},\"strategy\":{\"type\":\"Source\",\"sourceStrategy\":{\"from\":{\"kind\":\"DockerImage\",\"name\":\"registry.access.redhat.com/openshift3/nodejs-010-rhel7:latest\"}}},\"output\":{\"to\":{\"kind\":\"DockerImage\",\"name\":\"172.30.137.57:5000/test/nodejs-example:latest\"},\"pushSecret\":{\"name\":\"builder-dockercfg-c9svc\"}},\"resources\":{},\"postCommit\":{}},\"status\":{\"phase\":\"New\",\"outputDockerImageReference\":\"172.30.137.57:5000/test/nodejs-example:latest\",\"config\":{\"kind\":\"BuildConfig\",\"namespace\":\"test\",\"name\":\"nodejs-example\"}}}\n"},{"name":"BUILD_LOGLEVEL","value":"0"},{"name":"SOURCE_REPOSITORY","value":"https://github.com/openshift/nodejs-ex.git"},{"name":"SOURCE_URI","value":"https://github.com/openshift/nodejs-ex.git"},{"name":"ORIGIN_VERSION","value":"v3.1.1.906"},{"name":"ALLOWED_UIDS","value":"1-"},{"name":"PUSH_DOCKERCFG_PATH","value":"/var/run/secrets/openshift.io/push"}],"resources":{},"volumeMounts":[{"name":"docker-socket","mountPath":"/var/run/docker.sock"},{"name":"builder-dockercfg-c9svc-push","readOnly":true,"mountPath":"/var/run/secrets/openshift.io/push"},{"name":"builder-token-9y9wk","readOnly":true,"mountPath":"/var/run/secrets/kubernetes.io/serviceaccount"}],"terminationMessagePath":"/dev/termination-log","imagePullPolicy":"IfNotPresent","securityContext":{"privileged":true}}],"restartPolicy":"Never","terminationGracePeriodSeconds":30,"dnsPolicy":"ClusterFirst","host":"rhel-cdk","serviceAccountName":"builder","serviceAccount":"builder","nodeName":"rhel-cdk","securityContext":{},"imagePullSecrets":[{"name":"builder-dockercfg-c9svc"}]},"status":{"phase":"Succeeded","conditions":[{"type":"Ready","status":"False","lastProbeTime":null,"lastTransitionTime":"2016-03-17T16:46:02Z","reason":"PodCompleted"}],"hostIP":"10.0.2.15","podIP":"172.17.0.3","startTime":"2016-03-17T16:42:04Z","containerStatuses":[{"name":"sti-build","state":{"terminated":{"exitCode":0,"reason":"Completed","startedAt":"2016-03-17T16:42:10Z","finishedAt":"2016-03-17T16:46:02Z","containerID":"docker://4b9a53c500f6ed762866ea2f95f912e14ed9180c6b030b593720bf3a167aeeb6"}},"lastState":{},"ready":false,"restartCount":0,"image":"openshift3/ose-sti-builder:v3.1.1.906","imageID":"docker://aa6466ccc68120164524cf1f5789c596db2b342823e094b8a88ffc2a6b8b1b63","containerID":"docker://4b9a53c500f6ed762866ea2f95f912e14ed9180c6b030b593720bf3a167aeeb6"}]}},{"metadata":{"name":"nodejs-example-1-qd2c2","generateName":"nodejs-example-1-","namespace":"test","selfLink":"/api/v1/namespaces/test/pods/nodejs-example-1-qd2c2","uid":"c1288581-ec5f-11e5-a91c-525400b46e1a","resourceVersion":"86528","creationTimestamp":"2016-03-17T16:46:11Z","labels":{"deployment":"nodejs-example-1","deploymentconfig":"nodejs-example","name":"nodejs-example"},"annotations":{"kubernetes.io/created-by":"{\"kind\":\"SerializedReference\",\"apiVersion\":\"v1\",\"reference\":{\"kind\":\"ReplicationController\",\"namespace\":\"test\",\"name\":\"nodejs-example-1\",\"uid\":\"bbe90a42-ec5f-11e5-a91c-525400b46e1a\",\"apiVersion\":\"v1\",\"resourceVersion\":\"14801\"}}\n","openshift.io/deployment-config.latest-version":"1","openshift.io/deployment-config.name":"nodejs-example","openshift.io/deployment.name":"nodejs-example-1","openshift.io/scc":"anyuid"}},"spec":{"volumes":[{"name":"default-token-n7i7r","secret":{"secretName":"default-token-n7i7r"}}],"containers":[{"name":"nodejs-example","image":"172.30.137.57:5000/test/nodejs-example@sha256:74a8a5104fbe300e64330f279a7c11e18695907f6f661dd5290608140ff553d8","ports":[{"containerPort":8080,"protocol":"TCP"}],"env":[{"name":"DATABASE_SERVICE_NAME"},{"name":"MONGODB_USER"},{"name":"MONGODB_PASSWORD"},{"name":"MONGODB_DATABASE"},{"name":"MONGODB_ADMIN_PASSWORD"}],"resources":{"limits":{"memory":"512Mi"},"requests":{"memory":"512Mi"}},"volumeMounts":[{"name":"default-token-n7i7r","readOnly":true,"mountPath":"/var/run/secrets/kubernetes.io/serviceaccount"}],"livenessProbe":{"httpGet":{"path":"/","port":8080,"scheme":"HTTP"},"initialDelaySeconds":30,"timeoutSeconds":3,"periodSeconds":10,"successThreshold":1,"failureThreshold":3},"readinessProbe":{"httpGet":{"path":"/","port":8080,"scheme":"HTTP"},"initialDelaySeconds":3,"timeoutSeconds":3,"periodSeconds":10,"successThreshold":1,"failureThreshold":3},"terminationMessagePath":"/dev/termination-log","imagePullPolicy":"Always","securityContext":{"capabilities":{"drop":["KILL","MKNOD","SYS_CHROOT"]},"privileged":false,"seLinuxOptions":{"level":"s0:c6,c0"}}}],"restartPolicy":"Always","terminationGracePeriodSeconds":30,"dnsPolicy":"ClusterFirst","host":"rhel-cdk","serviceAccountName":"default","serviceAccount":"default","nodeName":"rhel-cdk","securityContext":{"seLinuxOptions":{"level":"s0:c6,c0"}},"imagePullSecrets":[{"name":"default-dockercfg-npnnf"}]},"status":{"phase":"Running","conditions":[{"type":"Ready","status":"True","lastProbeTime":null,"lastTransitionTime":"2016-04-05T14:52:13Z"}],"hostIP":"10.0.2.15","podIP":"172.17.0.3","startTime":"2016-03-17T16:46:11Z","containerStatuses":[{"name":"nodejs-example","state":{"running":{"startedAt":"2016-04-05T14:52:12Z"}},"lastState":{"terminated":{"exitCode":137,"reason":"Error","startedAt":"2016-04-04T15:27:02Z","finishedAt":"2016-04-05T14:46:29Z","containerID":"docker://f2b6fc950ae367d6e9776ecacf30f4a3f86ed1bb1697559fa23a3020551fa60f"}},"ready":true,"restartCount":6,"image":"172.30.137.57:5000/test/nodejs-example@sha256:74a8a5104fbe300e64330f279a7c11e18695907f6f661dd5290608140ff553d8","imageID":"docker://111d544cd9d7998bbb2272e5917d65322a257c586950cde589cfacc2d379f1a7","containerID":"docker://673d893f78ae96950ee6c59309370670e354ddeb8a7490ca6f72cead92d8355b"}]}}]}
:
[DEBUG] 2016-04-05 16:58:25,799 com.openshift.internal.restclient.URLBuilder - Built url: https://10.3.2.2:8443/oapi/v1/users/~
[DEBUG] 2016-04-05 16:58:25,902 com.openshift.internal.restclient.DefaultClient - {"kind":"User","apiVersion":"v1","metadata":{"name":"openshift-dev","selfLink":"/oapi/v1/users/openshift-dev","uid":"c21ad73a-eab5-11e5-8670-525400b46e1a","resourceVersion":"3889","creationTimestamp":"2016-03-15T13:56:47Z"},"identities":["htpasswd:openshift-dev"],"groups":null}
[DEBUG] 2016-04-05 16:58:25,903 com.openshift.internal.restclient.capability.resources.AbstractOpenShiftBinaryCapability - OpenShift binary args: [/home/adietish/Downloads/oc, rsync, --user=openshift-dev, --token=xclaiN1FbgxnJw868JXAq5oBMyM-UjNSfzKB5z351Io, --server=https://10.3.2.2:8443, --insecure-skip-tls-verify=true, --exclude='.git', eap-app-2-9pvzm:/opt/eap/standalone/deployments/, -n, test, /home/adietish/jboss-workspaces/jbosstools-github/runtime-openshift/.metadata/.plugins/org.jboss.ide.eclipse.as.core/eap-app-2_at_OpenShift_3_(10.3.2.2)/deploy/]
[DEBUG] 2016-04-05 16:59:06,314 com.openshift.internal.restclient.URLBuilder - Built url: https://10.3.2.2:8443/api/v1/namespaces/test/services
[DEBUG] 2016-04-05 16:59:06,360 com.openshift.internal.restclient.DefaultClient - List Response: {"kind":"ServiceList","apiVersion":"v1","metadata":{"selfLink":"/api/v1/namespaces/test/services","resourceVersion":"86640"},"items":[{"metadata":{"name":"eap-app","namespace":"test","selfLink":"/api/v1/namespaces/test/services/eap-app","uid":"e86683b5-ec31-11e5-b68a-525400b46e1a","resourceVersion":"12785","creationTimestamp":"2016-03-17T11:18:00Z","labels":{"application":"eap-app","template":"eap64-basic-s2i","xpaas":"1.2.0"},"annotations":{"description":"The web server's http port."}},"spec":{"ports":[{"protocol":"TCP","port":8080,"targetPort":8080}],"selector":{"deploymentConfig":"eap-app"},"portalIP":"172.30.167.18","clusterIP":"172.30.167.18","type":"ClusterIP","sessionAffinity":"None"},"status":{"loadBalancer":{}}},{"metadata":{"name":"eap-app-2","namespace":"test","selfLink":"/api/v1/namespaces/test/services/eap-app-2","uid":"858c2982-f76c-11e5-85c0-525400b46e1a","resourceVersion":"71714","creationTimestamp":"2016-03-31T18:15:17Z","labels":{"application":"eap-app","template":"eap64-basic-s2i","xpaas":"1.2.0"},"annotations":{"description":"The web server's http port."}},"spec":{"ports":[{"protocol":"TCP","port":8080,"targetPort":8080}],"selector":{"deploymentConfig":"eap-app"},"portalIP":"172.30.167.19","clusterIP":"172.30.167.19","type":"ClusterIP","sessionAffinity":"None"},"status":{"loadBalancer":{}}},{"metadata":{"name":"eap-app-3","namespace":"test","selfLink":"/api/v1/namespaces/test/services/eap-app-3","uid":"e70fa27d-f7eb-11e5-bd43-525400b46e1a","resourceVersion":"76707","creationTimestamp":"2016-04-01T09:27:07Z","labels":{"application":"eap-app","template":"eap64-basic-s2i","xpaas":"1.2.0"},"annotations":{"description":"The web server's http port."}},"spec":{"ports":[{"protocol":"TCP","port":8080,"targetPort":8080}],"selector":{"deploymentConfig":"eap-app"},"portalIP":"172.30.167.20","clusterIP":"172.30.167.20","type":"ClusterIP","sessionAffinity":"None"},"status":{"loadBalancer":{}}},{"metadata":{"name":"mongodb","namespace":"test","selfLink":"/api/v1/namespaces/test/services/mongodb","uid":"50520dca-ec5f-11e5-a91c-525400b46e1a","resourceVersion":"14756","creationTimestamp":"2016-03-17T16:43:01Z","labels":{"template":"mongodb-ephemeral-template"}},"spec":{"ports":[{"name":"mongo","protocol":"TCP","port":27017,"targetPort":27017}],"selector":{"name":"mongodb"},"portalIP":"172.30.42.209","clusterIP":"172.30.42.209","type":"ClusterIP","sessionAffinity":"None"},"status":{"loadBalancer":{}}},{"metadata":{"name":"nodejs-example","namespace":"test","selfLink":"/api/v1/namespaces/test/services/nodejs-example","uid":"2d023da8-ec5f-11e5-a91c-525400b46e1a","resourceVersion":"14726","creationTimestamp":"2016-03-17T16:42:02Z","labels":{"template":"nodejs-example"},"annotations":{"description":"Exposes and load balances the application pods"}},"spec":{"ports":[{"name":"web","protocol":"TCP","port":8080,"targetPort":8080}],"selector":{"name":"nodejs-example"},"portalIP":"172.30.113.179","clusterIP":"172.30.113.179","type":"ClusterIP","sessionAffinity":"None"},"status":{"loadBalancer":{}}}]}
:
[DEBUG] 2016-04-05 16:59:06,362 com.openshift.internal.restclient.URLBuilder - Built url: https://10.3.2.2:8443/oapi/v1/projects/test
[DEBUG] 2016-04-05 16:59:06,405 com.openshift.internal.restclient.DefaultClient - {"kind":"Project","apiVersion":"v1","metadata":{"name":"test","selfLink":"/oapi/v1/projects/test","uid":"284d043d-eabe-11e5-8670-525400b46e1a","resourceVersion":"4295","creationTimestamp":"2016-03-15T14:56:54Z","annotations":{"openshift.io/description":"","openshift.io/display-name":"","openshift.io/requester":"openshift-dev","openshift.io/sa.scc.mcs":"s0:c6,c0","openshift.io/sa.scc.supplemental-groups":"1000030000/10000","openshift.io/sa.scc.uid-range":"1000030000/10000"}},"spec":{"finalizers":["openshift.io/origin","kubernetes"]},"status":{"phase":"Active"}}
[DEBUG] 2016-04-05 16:59:06,406 com.openshift.internal.restclient.URLBuilder - Built url: https://10.3.2.2:8443/oapi/v1/projects/test
[DEBUG] 2016-04-05 16:59:06,457 com.openshift.internal.restclient.DefaultClient - {"kind":"Project","apiVersion":"v1","metadata":{"name":"test","selfLink":"/oapi/v1/projects/test","uid":"284d043d-eabe-11e5-8670-525400b46e1a","resourceVersion":"4295","creationTimestamp":"2016-03-15T14:56:54Z","annotations":{"openshift.io/description":"","openshift.io/display-name":"","openshift.io/requester":"openshift-dev","openshift.io/sa.scc.mcs":"s0:c6,c0","openshift.io/sa.scc.supplemental-groups":"1000030000/10000","openshift.io/sa.scc.uid-range":"1000030000/10000"}},"spec":{"finalizers":["openshift.io/origin","kubernetes"]},"status":{"phase":"Active"}}
[DEBUG] 2016-04-05 16:59:06,457 com.openshift.internal.restclient.URLBuilder - Built url: https://10.3.2.2:8443/api/v1/namespaces/test/pods
[DEBUG] 2016-04-05 16:59:06,509 com.openshift.internal.restclient.DefaultClient - List Response: {"kind":"PodList","apiVersion":"v1","metadata":{"selfLink":"/api/v1/namespaces/test/pods","resourceVersion":"86640"},"items":[{"metadata":{"name":"eap-app-1-build","namespace":"test","selfLink":"/api/v1/namespaces/test/pods/eap-app-1-build","uid":"e8cf18ca-ec31-11e5-b68a-525400b46e1a","resourceVersion":"52916","creationTimestamp":"2016-03-17T11:18:00Z","labels":{"openshift.io/build.name":"eap-app-1"},"annotations":{"openshift.io/build.name":"eap-app-1","openshift.io/scc":"privileged"}},"spec":{"volumes":[{"name":"docker-socket","hostPath":{"path":"/var/run/docker.sock"}},{"name":"builder-dockercfg-c9svc-push","secret":{"secretName":"builder-dockercfg-c9svc"}},{"name":"builder-token-9y9wk","secret":{"secretName":"builder-token-9y9wk"}}],"containers":[{"name":"sti-build","image":"openshift3/ose-sti-builder:v3.1.1.906","args":["--loglevel=0"],"env":[{"name":"BUILD","value":"{\"kind\":\"Build\",\"apiVersion\":\"v1\",\"metadata\":{\"name\":\"eap-app-1\",\"namespace\":\"test\",\"selfLink\":\"/oapi/v1/namespaces/test/builds/eap-app-1\",\"uid\":\"e8c887e4-ec31-11e5-b68a-525400b46e1a\",\"resourceVersion\":\"12792\",\"creationTimestamp\":\"2016-03-17T11:18:00Z\",\"labels\":{\"application\":\"eap-app\",\"buildconfig\":\"eap-app\",\"openshift.io/build-config.name\":\"eap-app\",\"template\":\"eap64-basic-s2i\",\"xpaas\":\"1.2.0\"},\"annotations\":{\"openshift.io/build.number\":\"1\"}},\"spec\":{\"serviceAccount\":\"builder\",\"source\":{\"type\":\"Git\",\"git\":{\"uri\":\"https://github.com/jboss-developer/jboss-eap-quickstarts\",\"ref\":\"6.4.x\"},\"contextDir\":\"kitchensink\",\"secrets\":null},\"strategy\":{\"type\":\"Source\",\"sourceStrategy\":{\"from\":{\"kind\":\"DockerImage\",\"name\":\"registry.access.redhat.com/jboss-eap-6/eap64-openshift:1.2\"},\"forcePull\":true}},\"output\":{\"to\":{\"kind\":\"DockerImage\",\"name\":\"172.30.137.57:5000/test/eap-app:latest\"},\"pushSecret\":{\"name\":\"builder-dockercfg-c9svc\"}},\"resources\":{},\"postCommit\":{}},\"status\":{\"phase\":\"New\",\"outputDockerImageReference\":\"172.30.137.57:5000/test/eap-app:latest\",\"config\":{\"kind\":\"BuildConfig\",\"namespace\":\"test\",\"name\":\"eap-app\"}}}\n"},{"name":"BUILD_LOGLEVEL","value":"0"},{"name":"SOURCE_REPOSITORY","value":"https://github.com/jboss-developer/jboss-eap-quickstarts"},{"name":"SOURCE_URI","value":"https://github.com/jboss-developer/jboss-eap-quickstarts"},{"name":"SOURCE_CONTEXT_DIR","value":"kitchensink"},{"name":"SOURCE_REF","value":"6.4.x"},{"name":"ORIGIN_VERSION","value":"v3.1.1.906"},{"name":"ALLOWED_UIDS","value":"1-"},{"name":"PUSH_DOCKERCFG_PATH","value":"/var/run/secrets/openshift.io/push"}],"resources":{},"volumeMounts":[{"name":"docker-socket","mountPath":"/var/run/docker.sock"},{"name":"builder-dockercfg-c9svc-push","readOnly":true,"mountPath":"/var/run/secrets/openshift.io/push"},{"name":"builder-token-9y9wk","readOnly":true,"mountPath":"/var/run/secrets/kubernetes.io/serviceaccount"}],"terminationMessagePath":"/dev/termination-log","imagePullPolicy":"IfNotPresent","securityContext":{"privileged":true}}],"restartPolicy":"Never","terminationGracePeriodSeconds":30,"dnsPolicy":"ClusterFirst","host":"rhel-cdk","serviceAccountName":"builder","serviceAccount":"builder","nodeName":"rhel-cdk","securityContext":{},"imagePullSecrets":[{"name":"builder-dockercfg-c9svc"}]},"status":{"phase":"Succeeded","conditions":[{"type":"Ready","status":"False","lastProbeTime":null,"lastTransitionTime":"2016-03-17T11:39:27Z","reason":"PodCompleted"}],"hostIP":"10.0.2.15","podIP":"172.17.0.2","startTime":"2016-03-17T11:18:00Z","containerStatuses":[{"name":"sti-build","state":{"terminated":{"exitCode":0,"reason":"Completed","startedAt":"2016-03-17T11:18:51Z","finishedAt":"2016-03-17T11:39:26Z","containerID":"docker://67eee4f109f055d26efce710929c262a7e4ef45806d065bcebddb0fd5c948111"}},"lastState":{},"ready":false,"restartCount":0,"image":"openshift3/ose-sti-builder:v3.1.1.906","imageID":"docker://aa6466ccc68120164524cf1f5789c596db2b342823e094b8a88ffc2a6b8b1b63","containerID":"docker://67eee4f109f055d26efce710929c262a7e4ef45806d065bcebddb0fd5c948111"}]}},{"metadata":{"name":"eap-app-2-9pvzm","generateName":"eap-app-2-","namespace":"test","selfLink":"/api/v1/namespaces/test/pods/eap-app-2-9pvzm","uid":"b95243c4-fb3e-11e5-94bf-525400b46e1a","resourceVersion":"86629","creationTimestamp":"2016-04-05T14:57:32Z","labels":{"application":"eap-app","deployment":"eap-app-2","deploymentConfig":"eap-app","deploymentconfig":"eap-app"},"annotations":{"kubernetes.io/created-by":"{\"kind\":\"SerializedReference\",\"apiVersion\":\"v1\",\"reference\":{\"kind\":\"ReplicationController\",\"namespace\":\"test\",\"name\":\"eap-app-2\",\"uid\":\"b489fc1a-fb3e-11e5-94bf-525400b46e1a\",\"apiVersion\":\"v1\",\"resourceVersion\":\"86603\"}}\n","openshift.io/deployment-config.latest-version":"2","openshift.io/deployment-config.name":"eap-app","openshift.io/deployment.name":"eap-app-2","openshift.io/scc":"anyuid"}},"spec":{"volumes":[{"name":"default-token-n7i7r","secret":{"secretName":"default-token-n7i7r"}}],"containers":[{"name":"eap-app","image":"172.30.137.57:5000/test/eap-app@sha256:94406321dc8382092ba774c54a0b3c82d6b4368623d6b0d639a1ee5bf830127d","ports":[{"name":"http","containerPort":8080,"protocol":"TCP"},{"name":"jolokia","containerPort":8778,"protocol":"TCP"},{"name":"ping","containerPort":8888,"protocol":"TCP"},{"name":"debug","containerPort":8787,"protocol":"TCP"}],"env":[{"name":"OPENSHIFT_KUBE_PING_LABELS","value":"application=eap-app"},{"name":"OPENSHIFT_KUBE_PING_NAMESPACE","valueFrom":{"fieldRef":{"apiVersion":"v1","fieldPath":"metadata.namespace"}}},{"name":"HORNETQ_CLUSTER_PASSWORD","value":"thuRJNWR"},{"name":"HORNETQ_QUEUES"},{"name":"HORNETQ_TOPICS"},{"name":"JGROUPS_CLUSTER_PASSWORD","value":"6BrBSRAR"},{"name":"DEBUG_PORT","value":"8787"},{"name":"DEV_MODE","value":"true"},{"name":"DEBUG","value":"true"}],"resources":{},"volumeMounts":[{"name":"default-token-n7i7r","readOnly":true,"mountPath":"/var/run/secrets/kubernetes.io/serviceaccount"}],"livenessProbe":{"exec":{"command":["/bin/bash","-c","/opt/eap/bin/livenessProbe.sh"]},"timeoutSeconds":1,"periodSeconds":10,"successThreshold":1,"failureThreshold":3},"readinessProbe":{"exec":{"command":["/bin/bash","-c","/opt/eap/bin/readinessProbe.sh"]},"timeoutSeconds":1,"periodSeconds":10,"successThreshold":1,"failureThreshold":3},"terminationMessagePath":"/dev/termination-log","imagePullPolicy":"Always","securityContext":{"capabilities":{"drop":["KILL","MKNOD","SYS_CHROOT"]},"privileged":false,"seLinuxOptions":{"level":"s0:c6,c0"}}}],"restartPolicy":"Always","terminationGracePeriodSeconds":60,"dnsPolicy":"ClusterFirst","host":"rhel-cdk","serviceAccountName":"default","serviceAccount":"default","nodeName":"rhel-cdk","securityContext":{"seLinuxOptions":{"level":"s0:c6,c0"}},"imagePullSecrets":[{"name":"default-dockercfg-npnnf"}]},"status":{"phase":"Running","conditions":[{"type":"Ready","status":"True","lastProbeTime":null,"lastTransitionTime":"2016-04-05T14:58:15Z"}],"hostIP":"10.0.2.15","podIP":"172.17.0.5","startTime":"2016-04-05T14:57:32Z","containerStatuses":[{"name":"eap-app","state":{"running":{"startedAt":"2016-04-05T14:57:35Z"}},"lastState":{},"ready":true,"restartCount":0,"image":"172.30.137.57:5000/test/eap-app@sha256:94406321dc8382092ba774c54a0b3c82d6b4368623d6b0d639a1ee5bf830127d","imageID":"docker://3e714b77bd619e5513385d7f2b642432e909df5239fef20b01ff5bb69c1f84a1","containerID":"docker://9df9f2789ae95848d8076f5246c4c9d0d286c043bba0658c8d971a0ff1e14348"}]}},{"metadata":{"name":"nodejs-example-1-build","namespace":"test","selfLink":"/api/v1/namespaces/test/pods/nodejs-example-1-build","uid":"2dc9ebbc-ec5f-11e5-a91c-525400b46e1a","resourceVersion":"52921","creationTimestamp":"2016-03-17T16:42:03Z","labels":{"openshift.io/build.name":"nodejs-example-1"},"annotations":{"openshift.io/build.name":"nodejs-example-1","openshift.io/scc":"privileged"}},"spec":{"volumes":[{"name":"docker-socket","hostPath":{"path":"/var/run/docker.sock"}},{"name":"builder-dockercfg-c9svc-push","secret":{"secretName":"builder-dockercfg-c9svc"}},{"name":"builder-token-9y9wk","secret":{"secretName":"builder-token-9y9wk"}}],"containers":[{"name":"sti-build","image":"openshift3/ose-sti-builder:v3.1.1.906","args":["--loglevel=0"],"env":[{"name":"BUILD","value":"{\"kind\":\"Build\",\"apiVersion\":\"v1\",\"metadata\":{\"name\":\"nodejs-example-1\",\"namespace\":\"test\",\"selfLink\":\"/oapi/v1/namespaces/test/builds/nodejs-example-1\",\"uid\":\"2dbcf807-ec5f-11e5-a91c-525400b46e1a\",\"resourceVersion\":\"14734\",\"creationTimestamp\":\"2016-03-17T16:42:03Z\",\"labels\":{\"buildconfig\":\"nodejs-example\",\"openshift.io/build-config.name\":\"nodejs-example\",\"template\":\"nodejs-example\"},\"annotations\":{\"openshift.io/build.number\":\"1\"}},\"spec\":{\"serviceAccount\":\"builder\",\"source\":{\"type\":\"Git\",\"git\":{\"uri\":\"https://github.com/openshift/nodejs-ex.git\"},\"secrets\":null},\"strategy\":{\"type\":\"Source\",\"sourceStrategy\":{\"from\":{\"kind\":\"DockerImage\",\"name\":\"registry.access.redhat.com/openshift3/nodejs-010-rhel7:latest\"}}},\"output\":{\"to\":{\"kind\":\"DockerImage\",\"name\":\"172.30.137.57:5000/test/nodejs-example:latest\"},\"pushSecret\":{\"name\":\"builder-dockercfg-c9svc\"}},\"resources\":{},\"postCommit\":{}},\"status\":{\"phase\":\"New\",\"outputDockerImageReference\":\"172.30.137.57:5000/test/nodejs-example:latest\",\"config\":{\"kind\":\"BuildConfig\",\"namespace\":\"test\",\"name\":\"nodejs-example\"}}}\n"},{"name":"BUILD_LOGLEVEL","value":"0"},{"name":"SOURCE_REPOSITORY","value":"https://github.com/openshift/nodejs-ex.git"},{"name":"SOURCE_URI","value":"https://github.com/openshift/nodejs-ex.git"},{"name":"ORIGIN_VERSION","value":"v3.1.1.906"},{"name":"ALLOWED_UIDS","value":"1-"},{"name":"PUSH_DOCKERCFG_PATH","value":"/var/run/secrets/openshift.io/push"}],"resources":{},"volumeMounts":[{"name":"docker-socket","mountPath":"/var/run/docker.sock"},{"name":"builder-dockercfg-c9svc-push","readOnly":true,"mountPath":"/var/run/secrets/openshift.io/push"},{"name":"builder-token-9y9wk","readOnly":true,"mountPath":"/var/run/secrets/kubernetes.io/serviceaccount"}],"terminationMessagePath":"/dev/termination-log","imagePullPolicy":"IfNotPresent","securityContext":{"privileged":true}}],"restartPolicy":"Never","terminationGracePeriodSeconds":30,"dnsPolicy":"ClusterFirst","host":"rhel-cdk","serviceAccountName":"builder","serviceAccount":"builder","nodeName":"rhel-cdk","securityContext":{},"imagePullSecrets":[{"name":"builder-dockercfg-c9svc"}]},"status":{"phase":"Succeeded","conditions":[{"type":"Ready","status":"False","lastProbeTime":null,"lastTransitionTime":"2016-03-17T16:46:02Z","reason":"PodCompleted"}],"hostIP":"10.0.2.15","podIP":"172.17.0.3","startTime":"2016-03-17T16:42:04Z","containerStatuses":[{"name":"sti-build","state":{"terminated":{"exitCode":0,"reason":"Completed","startedAt":"2016-03-17T16:42:10Z","finishedAt":"2016-03-17T16:46:02Z","containerID":"docker://4b9a53c500f6ed762866ea2f95f912e14ed9180c6b030b593720bf3a167aeeb6"}},"lastState":{},"ready":false,"restartCount":0,"image":"openshift3/ose-sti-builder:v3.1.1.906","imageID":"docker://aa6466ccc68120164524cf1f5789c596db2b342823e094b8a88ffc2a6b8b1b63","containerID":"docker://4b9a53c500f6ed762866ea2f95f912e14ed9180c6b030b593720bf3a167aeeb6"}]}},{"metadata":{"name":"nodejs-example-1-qd2c2","generateName":"nodejs-example-1-","namespace":"test","selfLink":"/api/v1/namespaces/test/pods/nodejs-example-1-qd2c2","uid":"c1288581-ec5f-11e5-a91c-525400b46e1a","resourceVersion":"86528","creationTimestamp":"2016-03-17T16:46:11Z","labels":{"deployment":"nodejs-example-1","deploymentconfig":"nodejs-example","name":"nodejs-example"},"annotations":{"kubernetes.io/created-by":"{\"kind\":\"SerializedReference\",\"apiVersion\":\"v1\",\"reference\":{\"kind\":\"ReplicationController\",\"namespace\":\"test\",\"name\":\"nodejs-example-1\",\"uid\":\"bbe90a42-ec5f-11e5-a91c-525400b46e1a\",\"apiVersion\":\"v1\",\"resourceVersion\":\"14801\"}}\n","openshift.io/deployment-config.latest-version":"1","openshift.io/deployment-config.name":"nodejs-example","openshift.io/deployment.name":"nodejs-example-1","openshift.io/scc":"anyuid"}},"spec":{"volumes":[{"name":"default-token-n7i7r","secret":{"secretName":"default-token-n7i7r"}}],"containers":[{"name":"nodejs-example","image":"172.30.137.57:5000/test/nodejs-example@sha256:74a8a5104fbe300e64330f279a7c11e18695907f6f661dd5290608140ff553d8","ports":[{"containerPort":8080,"protocol":"TCP"}],"env":[{"name":"DATABASE_SERVICE_NAME"},{"name":"MONGODB_USER"},{"name":"MONGODB_PASSWORD"},{"name":"MONGODB_DATABASE"},{"name":"MONGODB_ADMIN_PASSWORD"}],"resources":{"limits":{"memory":"512Mi"},"requests":{"memory":"512Mi"}},"volumeMounts":[{"name":"default-token-n7i7r","readOnly":true,"mountPath":"/var/run/secrets/kubernetes.io/serviceaccount"}],"livenessProbe":{"httpGet":{"path":"/","port":8080,"scheme":"HTTP"},"initialDelaySeconds":30,"timeoutSeconds":3,"periodSeconds":10,"successThreshold":1,"failureThreshold":3},"readinessProbe":{"httpGet":{"path":"/","port":8080,"scheme":"HTTP"},"initialDelaySeconds":3,"timeoutSeconds":3,"periodSeconds":10,"successThreshold":1,"failureThreshold":3},"terminationMessagePath":"/dev/termination-log","imagePullPolicy":"Always","securityContext":{"capabilities":{"drop":["KILL","MKNOD","SYS_CHROOT"]},"privileged":false,"seLinuxOptions":{"level":"s0:c6,c0"}}}],"restartPolicy":"Always","terminationGracePeriodSeconds":30,"dnsPolicy":"ClusterFirst","host":"rhel-cdk","serviceAccountName":"default","serviceAccount":"default","nodeName":"rhel-cdk","securityContext":{"seLinuxOptions":{"level":"s0:c6,c0"}},"imagePullSecrets":[{"name":"default-dockercfg-npnnf"}]},"status":{"phase":"Running","conditions":[{"type":"Ready","status":"True","lastProbeTime":null,"lastTransitionTime":"2016-04-05T14:52:13Z"}],"hostIP":"10.0.2.15","podIP":"172.17.0.3","startTime":"2016-03-17T16:46:11Z","containerStatuses":[{"name":"nodejs-example","state":{"running":{"startedAt":"2016-04-05T14:52:12Z"}},"lastState":{"terminated":{"exitCode":137,"reason":"Error","startedAt":"2016-04-04T15:27:02Z","finishedAt":"2016-04-05T14:46:29Z","containerID":"docker://f2b6fc950ae367d6e9776ecacf30f4a3f86ed1bb1697559fa23a3020551fa60f"}},"ready":true,"restartCount":6,"image":"172.30.137.57:5000/test/nodejs-example@sha256:74a8a5104fbe300e64330f279a7c11e18695907f6f661dd5290608140ff553d8","imageID":"docker://111d544cd9d7998bbb2272e5917d65322a257c586950cde589cfacc2d379f1a7","containerID":"docker://673d893f78ae96950ee6c59309370670e354ddeb8a7490ca6f72cead92d8355b"}]}}]}
:
[DEBUG] 2016-04-05 16:59:06,514 com.openshift.internal.restclient.URLBuilder - Built url: https://10.3.2.2:8443/oapi/v1/namespaces/test/deploymentconfigs/eap-app
[DEBUG] 2016-04-05 16:59:06,574 com.openshift.internal.restclient.DefaultClient - {"kind":"DeploymentConfig","apiVersion":"v1","metadata":{"name":"eap-app","namespace":"test","selfLink":"/oapi/v1/namespaces/test/deploymentconfigs/eap-app","uid":"e8cd1d95-ec31-11e5-b68a-525400b46e1a","resourceVersion":"86577","creationTimestamp":"2016-03-17T11:18:00Z","labels":{"application":"eap-app","template":"eap64-basic-s2i","xpaas":"1.2.0"}},"spec":{"strategy":{"type":"Recreate","recreateParams":{"timeoutSeconds":600},"resources":{}},"triggers":[{"type":"ImageChange","imageChangeParams":{"automatic":true,"containerNames":["eap-app"],"from":{"kind":"ImageStreamTag","name":"eap-app:latest"},"lastTriggeredImage":"172.30.137.57:5000/test/eap-app@sha256:94406321dc8382092ba774c54a0b3c82d6b4368623d6b0d639a1ee5bf830127d"}},{"type":"ConfigChange"}],"replicas":1,"test":false,"selector":{"deploymentConfig":"eap-app"},"template":{"metadata":{"name":"eap-app","creationTimestamp":null,"labels":{"application":"eap-app","deploymentConfig":"eap-app"}},"spec":{"containers":[{"name":"eap-app","image":"172.30.137.57:5000/test/eap-app@sha256:94406321dc8382092ba774c54a0b3c82d6b4368623d6b0d639a1ee5bf830127d","ports":[{"name":"http","containerPort":8080,"protocol":"TCP"},{"name":"jolokia","containerPort":8778,"protocol":"TCP"},{"name":"ping","containerPort":8888,"protocol":"TCP"},{"name":"debug","containerPort":8787,"protocol":"TCP"}],"env":[{"name":"OPENSHIFT_KUBE_PING_LABELS","value":"application=eap-app"},{"name":"OPENSHIFT_KUBE_PING_NAMESPACE","valueFrom":{"fieldRef":{"apiVersion":"v1","fieldPath":"metadata.namespace"}}},{"name":"HORNETQ_CLUSTER_PASSWORD","value":"thuRJNWR"},{"name":"HORNETQ_QUEUES"},{"name":"HORNETQ_TOPICS"},{"name":"JGROUPS_CLUSTER_PASSWORD","value":"6BrBSRAR"},{"name":"DEBUG_PORT","value":"8787"},{"name":"DEV_MODE","value":"true"},{"name":"DEBUG","value":"true"}],"resources":{},"livenessProbe":{"exec":{"command":["/bin/bash","-c","/opt/eap/bin/livenessProbe.sh"]},"timeoutSeconds":1,"periodSeconds":10,"successThreshold":1,"failureThreshold":3},"readinessProbe":{"exec":{"command":["/bin/bash","-c","/opt/eap/bin/readinessProbe.sh"]},"timeoutSeconds":1,"periodSeconds":10,"successThreshold":1,"failureThreshold":3},"terminationMessagePath":"/dev/termination-log","imagePullPolicy":"Always"}],"restartPolicy":"Always","terminationGracePeriodSeconds":60,"dnsPolicy":"ClusterFirst","securityContext":{}}}},"status":{"latestVersion":2,"details":{"causes":[{"type":"ConfigChange"}]}}}
[DEBUG] 2016-04-05 16:59:06,581 com.openshift.internal.restclient.URLBuilder - Built url: https://10.3.2.2:8443/oapi/v1/projects/test
[DEBUG] 2016-04-05 16:59:06,677 com.openshift.internal.restclient.DefaultClient - {"kind":"Project","apiVersion":"v1","metadata":{"name":"test","selfLink":"/oapi/v1/projects/test","uid":"284d043d-eabe-11e5-8670-525400b46e1a","resourceVersion":"4295","creationTimestamp":"2016-03-15T14:56:54Z","annotations":{"openshift.io/description":"","openshift.io/display-name":"","openshift.io/requester":"openshift-dev","openshift.io/sa.scc.mcs":"s0:c6,c0","openshift.io/sa.scc.supplemental-groups":"1000030000/10000","openshift.io/sa.scc.uid-range":"1000030000/10000"}},"spec":{"finalizers":["openshift.io/origin","kubernetes"]},"status":{"phase":"Active"}}
[DEBUG] 2016-04-05 16:59:06,677 com.openshift.internal.restclient.URLBuilder - Built url: https://10.3.2.2:8443/api/v1/namespaces/test/pods
[DEBUG] 2016-04-05 16:59:06,726 com.openshift.internal.restclient.DefaultClient - List Response: {"kind":"PodList","apiVersion":"v1","metadata":{"selfLink":"/api/v1/namespaces/test/pods","resourceVersion":"86640"},"items":[{"metadata":{"name":"eap-app-1-build","namespace":"test","selfLink":"/api/v1/namespaces/test/pods/eap-app-1-build","uid":"e8cf18ca-ec31-11e5-b68a-525400b46e1a","resourceVersion":"52916","creationTimestamp":"2016-03-17T11:18:00Z","labels":{"openshift.io/build.name":"eap-app-1"},"annotations":{"openshift.io/build.name":"eap-app-1","openshift.io/scc":"privileged"}},"spec":{"volumes":[{"name":"docker-socket","hostPath":{"path":"/var/run/docker.sock"}},{"name":"builder-dockercfg-c9svc-push","secret":{"secretName":"builder-dockercfg-c9svc"}},{"name":"builder-token-9y9wk","secret":{"secretName":"builder-token-9y9wk"}}],"containers":[{"name":"sti-build","image":"openshift3/ose-sti-builder:v3.1.1.906","args":["--loglevel=0"],"env":[{"name":"BUILD","value":"{\"kind\":\"Build\",\"apiVersion\":\"v1\",\"metadata\":{\"name\":\"eap-app-1\",\"namespace\":\"test\",\"selfLink\":\"/oapi/v1/namespaces/test/builds/eap-app-1\",\"uid\":\"e8c887e4-ec31-11e5-b68a-525400b46e1a\",\"resourceVersion\":\"12792\",\"creationTimestamp\":\"2016-03-17T11:18:00Z\",\"labels\":{\"application\":\"eap-app\",\"buildconfig\":\"eap-app\",\"openshift.io/build-config.name\":\"eap-app\",\"template\":\"eap64-basic-s2i\",\"xpaas\":\"1.2.0\"},\"annotations\":{\"openshift.io/build.number\":\"1\"}},\"spec\":{\"serviceAccount\":\"builder\",\"source\":{\"type\":\"Git\",\"git\":{\"uri\":\"https://github.com/jboss-developer/jboss-eap-quickstarts\",\"ref\":\"6.4.x\"},\"contextDir\":\"kitchensink\",\"secrets\":null},\"strategy\":{\"type\":\"Source\",\"sourceStrategy\":{\"from\":{\"kind\":\"DockerImage\",\"name\":\"registry.access.redhat.com/jboss-eap-6/eap64-openshift:1.2\"},\"forcePull\":true}},\"output\":{\"to\":{\"kind\":\"DockerImage\",\"name\":\"172.30.137.57:5000/test/eap-app:latest\"},\"pushSecret\":{\"name\":\"builder-dockercfg-c9svc\"}},\"resources\":{},\"postCommit\":{}},\"status\":{\"phase\":\"New\",\"outputDockerImageReference\":\"172.30.137.57:5000/test/eap-app:latest\",\"config\":{\"kind\":\"BuildConfig\",\"namespace\":\"test\",\"name\":\"eap-app\"}}}\n"},{"name":"BUILD_LOGLEVEL","value":"0"},{"name":"SOURCE_REPOSITORY","value":"https://github.com/jboss-developer/jboss-eap-quickstarts"},{"name":"SOURCE_URI","value":"https://github.com/jboss-developer/jboss-eap-quickstarts"},{"name":"SOURCE_CONTEXT_DIR","value":"kitchensink"},{"name":"SOURCE_REF","value":"6.4.x"},{"name":"ORIGIN_VERSION","value":"v3.1.1.906"},{"name":"ALLOWED_UIDS","value":"1-"},{"name":"PUSH_DOCKERCFG_PATH","value":"/var/run/secrets/openshift.io/push"}],"resources":{},"volumeMounts":[{"name":"docker-socket","mountPath":"/var/run/docker.sock"},{"name":"builder-dockercfg-c9svc-push","readOnly":true,"mountPath":"/var/run/secrets/openshift.io/push"},{"name":"builder-token-9y9wk","readOnly":true,"mountPath":"/var/run/secrets/kubernetes.io/serviceaccount"}],"terminationMessagePath":"/dev/termination-log","imagePullPolicy":"IfNotPresent","securityContext":{"privileged":true}}],"restartPolicy":"Never","terminationGracePeriodSeconds":30,"dnsPolicy":"ClusterFirst","host":"rhel-cdk","serviceAccountName":"builder","serviceAccount":"builder","nodeName":"rhel-cdk","securityContext":{},"imagePullSecrets":[{"name":"builder-dockercfg-c9svc"}]},"status":{"phase":"Succeeded","conditions":[{"type":"Ready","status":"False","lastProbeTime":null,"lastTransitionTime":"2016-03-17T11:39:27Z","reason":"PodCompleted"}],"hostIP":"10.0.2.15","podIP":"172.17.0.2","startTime":"2016-03-17T11:18:00Z","containerStatuses":[{"name":"sti-build","state":{"terminated":{"exitCode":0,"reason":"Completed","startedAt":"2016-03-17T11:18:51Z","finishedAt":"2016-03-17T11:39:26Z","containerID":"docker://67eee4f109f055d26efce710929c262a7e4ef45806d065bcebddb0fd5c948111"}},"lastState":{},"ready":false,"restartCount":0,"image":"openshift3/ose-sti-builder:v3.1.1.906","imageID":"docker://aa6466ccc68120164524cf1f5789c596db2b342823e094b8a88ffc2a6b8b1b63","containerID":"docker://67eee4f109f055d26efce710929c262a7e4ef45806d065bcebddb0fd5c948111"}]}},{"metadata":{"name":"eap-app-2-9pvzm","generateName":"eap-app-2-","namespace":"test","selfLink":"/api/v1/namespaces/test/pods/eap-app-2-9pvzm","uid":"b95243c4-fb3e-11e5-94bf-525400b46e1a","resourceVersion":"86629","creationTimestamp":"2016-04-05T14:57:32Z","labels":{"application":"eap-app","deployment":"eap-app-2","deploymentConfig":"eap-app","deploymentconfig":"eap-app"},"annotations":{"kubernetes.io/created-by":"{\"kind\":\"SerializedReference\",\"apiVersion\":\"v1\",\"reference\":{\"kind\":\"ReplicationController\",\"namespace\":\"test\",\"name\":\"eap-app-2\",\"uid\":\"b489fc1a-fb3e-11e5-94bf-525400b46e1a\",\"apiVersion\":\"v1\",\"resourceVersion\":\"86603\"}}\n","openshift.io/deployment-config.latest-version":"2","openshift.io/deployment-config.name":"eap-app","openshift.io/deployment.name":"eap-app-2","openshift.io/scc":"anyuid"}},"spec":{"volumes":[{"name":"default-token-n7i7r","secret":{"secretName":"default-token-n7i7r"}}],"containers":[{"name":"eap-app","image":"172.30.137.57:5000/test/eap-app@sha256:94406321dc8382092ba774c54a0b3c82d6b4368623d6b0d639a1ee5bf830127d","ports":[{"name":"http","containerPort":8080,"protocol":"TCP"},{"name":"jolokia","containerPort":8778,"protocol":"TCP"},{"name":"ping","containerPort":8888,"protocol":"TCP"},{"name":"debug","containerPort":8787,"protocol":"TCP"}],"env":[{"name":"OPENSHIFT_KUBE_PING_LABELS","value":"application=eap-app"},{"name":"OPENSHIFT_KUBE_PING_NAMESPACE","valueFrom":{"fieldRef":{"apiVersion":"v1","fieldPath":"metadata.namespace"}}},{"name":"HORNETQ_CLUSTER_PASSWORD","value":"thuRJNWR"},{"name":"HORNETQ_QUEUES"},{"name":"HORNETQ_TOPICS"},{"name":"JGROUPS_CLUSTER_PASSWORD","value":"6BrBSRAR"},{"name":"DEBUG_PORT","value":"8787"},{"name":"DEV_MODE","value":"true"},{"name":"DEBUG","value":"true"}],"resources":{},"volumeMounts":[{"name":"default-token-n7i7r","readOnly":true,"mountPath":"/var/run/secrets/kubernetes.io/serviceaccount"}],"livenessProbe":{"exec":{"command":["/bin/bash","-c","/opt/eap/bin/livenessProbe.sh"]},"timeoutSeconds":1,"periodSeconds":10,"successThreshold":1,"failureThreshold":3},"readinessProbe":{"exec":{"command":["/bin/bash","-c","/opt/eap/bin/readinessProbe.sh"]},"timeoutSeconds":1,"periodSeconds":10,"successThreshold":1,"failureThreshold":3},"terminationMessagePath":"/dev/termination-log","imagePullPolicy":"Always","securityContext":{"capabilities":{"drop":["KILL","MKNOD","SYS_CHROOT"]},"privileged":false,"seLinuxOptions":{"level":"s0:c6,c0"}}}],"restartPolicy":"Always","terminationGracePeriodSeconds":60,"dnsPolicy":"ClusterFirst","host":"rhel-cdk","serviceAccountName":"default","serviceAccount":"default","nodeName":"rhel-cdk","securityContext":{"seLinuxOptions":{"level":"s0:c6,c0"}},"imagePullSecrets":[{"name":"default-dockercfg-npnnf"}]},"status":{"phase":"Running","conditions":[{"type":"Ready","status":"True","lastProbeTime":null,"lastTransitionTime":"2016-04-05T14:58:15Z"}],"hostIP":"10.0.2.15","podIP":"172.17.0.5","startTime":"2016-04-05T14:57:32Z","containerStatuses":[{"name":"eap-app","state":{"running":{"startedAt":"2016-04-05T14:57:35Z"}},"lastState":{},"ready":true,"restartCount":0,"image":"172.30.137.57:5000/test/eap-app@sha256:94406321dc8382092ba774c54a0b3c82d6b4368623d6b0d639a1ee5bf830127d","imageID":"docker://3e714b77bd619e5513385d7f2b642432e909df5239fef20b01ff5bb69c1f84a1","containerID":"docker://9df9f2789ae95848d8076f5246c4c9d0d286c043bba0658c8d971a0ff1e14348"}]}},{"metadata":{"name":"nodejs-example-1-build","namespace":"test","selfLink":"/api/v1/namespaces/test/pods/nodejs-example-1-build","uid":"2dc9ebbc-ec5f-11e5-a91c-525400b46e1a","resourceVersion":"52921","creationTimestamp":"2016-03-17T16:42:03Z","labels":{"openshift.io/build.name":"nodejs-example-1"},"annotations":{"openshift.io/build.name":"nodejs-example-1","openshift.io/scc":"privileged"}},"spec":{"volumes":[{"name":"docker-socket","hostPath":{"path":"/var/run/docker.sock"}},{"name":"builder-dockercfg-c9svc-push","secret":{"secretName":"builder-dockercfg-c9svc"}},{"name":"builder-token-9y9wk","secret":{"secretName":"builder-token-9y9wk"}}],"containers":[{"name":"sti-build","image":"openshift3/ose-sti-builder:v3.1.1.906","args":["--loglevel=0"],"env":[{"name":"BUILD","value":"{\"kind\":\"Build\",\"apiVersion\":\"v1\",\"metadata\":{\"name\":\"nodejs-example-1\",\"namespace\":\"test\",\"selfLink\":\"/oapi/v1/namespaces/test/builds/nodejs-example-1\",\"uid\":\"2dbcf807-ec5f-11e5-a91c-525400b46e1a\",\"resourceVersion\":\"14734\",\"creationTimestamp\":\"2016-03-17T16:42:03Z\",\"labels\":{\"buildconfig\":\"nodejs-example\",\"openshift.io/build-config.name\":\"nodejs-example\",\"template\":\"nodejs-example\"},\"annotations\":{\"openshift.io/build.number\":\"1\"}},\"spec\":{\"serviceAccount\":\"builder\",\"source\":{\"type\":\"Git\",\"git\":{\"uri\":\"https://github.com/openshift/nodejs-ex.git\"},\"secrets\":null},\"strategy\":{\"type\":\"Source\",\"sourceStrategy\":{\"from\":{\"kind\":\"DockerImage\",\"name\":\"registry.access.redhat.com/openshift3/nodejs-010-rhel7:latest\"}}},\"output\":{\"to\":{\"kind\":\"DockerImage\",\"name\":\"172.30.137.57:5000/test/nodejs-example:latest\"},\"pushSecret\":{\"name\":\"builder-dockercfg-c9svc\"}},\"resources\":{},\"postCommit\":{}},\"status\":{\"phase\":\"New\",\"outputDockerImageReference\":\"172.30.137.57:5000/test/nodejs-example:latest\",\"config\":{\"kind\":\"BuildConfig\",\"namespace\":\"test\",\"name\":\"nodejs-example\"}}}\n"},{"name":"BUILD_LOGLEVEL","value":"0"},{"name":"SOURCE_REPOSITORY","value":"https://github.com/openshift/nodejs-ex.git"},{"name":"SOURCE_URI","value":"https://github.com/openshift/nodejs-ex.git"},{"name":"ORIGIN_VERSION","value":"v3.1.1.906"},{"name":"ALLOWED_UIDS","value":"1-"},{"name":"PUSH_DOCKERCFG_PATH","value":"/var/run/secrets/openshift.io/push"}],"resources":{},"volumeMounts":[{"name":"docker-socket","mountPath":"/var/run/docker.sock"},{"name":"builder-dockercfg-c9svc-push","readOnly":true,"mountPath":"/var/run/secrets/openshift.io/push"},{"name":"builder-token-9y9wk","readOnly":true,"mountPath":"/var/run/secrets/kubernetes.io/serviceaccount"}],"terminationMessagePath":"/dev/termination-log","imagePullPolicy":"IfNotPresent","securityContext":{"privileged":true}}],"restartPolicy":"Never","terminationGracePeriodSeconds":30,"dnsPolicy":"ClusterFirst","host":"rhel-cdk","serviceAccountName":"builder","serviceAccount":"builder","nodeName":"rhel-cdk","securityContext":{},"imagePullSecrets":[{"name":"builder-dockercfg-c9svc"}]},"status":{"phase":"Succeeded","conditions":[{"type":"Ready","status":"False","lastProbeTime":null,"lastTransitionTime":"2016-03-17T16:46:02Z","reason":"PodCompleted"}],"hostIP":"10.0.2.15","podIP":"172.17.0.3","startTime":"2016-03-17T16:42:04Z","containerStatuses":[{"name":"sti-build","state":{"terminated":{"exitCode":0,"reason":"Completed","startedAt":"2016-03-17T16:42:10Z","finishedAt":"2016-03-17T16:46:02Z","containerID":"docker://4b9a53c500f6ed762866ea2f95f912e14ed9180c6b030b593720bf3a167aeeb6"}},"lastState":{},"ready":false,"restartCount":0,"image":"openshift3/ose-sti-builder:v3.1.1.906","imageID":"docker://aa6466ccc68120164524cf1f5789c596db2b342823e094b8a88ffc2a6b8b1b63","containerID":"docker://4b9a53c500f6ed762866ea2f95f912e14ed9180c6b030b593720bf3a167aeeb6"}]}},{"metadata":{"name":"nodejs-example-1-qd2c2","generateName":"nodejs-example-1-","namespace":"test","selfLink":"/api/v1/namespaces/test/pods/nodejs-example-1-qd2c2","uid":"c1288581-ec5f-11e5-a91c-525400b46e1a","resourceVersion":"86528","creationTimestamp":"2016-03-17T16:46:11Z","labels":{"deployment":"nodejs-example-1","deploymentconfig":"nodejs-example","name":"nodejs-example"},"annotations":{"kubernetes.io/created-by":"{\"kind\":\"SerializedReference\",\"apiVersion\":\"v1\",\"reference\":{\"kind\":\"ReplicationController\",\"namespace\":\"test\",\"name\":\"nodejs-example-1\",\"uid\":\"bbe90a42-ec5f-11e5-a91c-525400b46e1a\",\"apiVersion\":\"v1\",\"resourceVersion\":\"14801\"}}\n","openshift.io/deployment-config.latest-version":"1","openshift.io/deployment-config.name":"nodejs-example","openshift.io/deployment.name":"nodejs-example-1","openshift.io/scc":"anyuid"}},"spec":{"volumes":[{"name":"default-token-n7i7r","secret":{"secretName":"default-token-n7i7r"}}],"containers":[{"name":"nodejs-example","image":"172.30.137.57:5000/test/nodejs-example@sha256:74a8a5104fbe300e64330f279a7c11e18695907f6f661dd5290608140ff553d8","ports":[{"containerPort":8080,"protocol":"TCP"}],"env":[{"name":"DATABASE_SERVICE_NAME"},{"name":"MONGODB_USER"},{"name":"MONGODB_PASSWORD"},{"name":"MONGODB_DATABASE"},{"name":"MONGODB_ADMIN_PASSWORD"}],"resources":{"limits":{"memory":"512Mi"},"requests":{"memory":"512Mi"}},"volumeMounts":[{"name":"default-token-n7i7r","readOnly":true,"mountPath":"/var/run/secrets/kubernetes.io/serviceaccount"}],"livenessProbe":{"httpGet":{"path":"/","port":8080,"scheme":"HTTP"},"initialDelaySeconds":30,"timeoutSeconds":3,"periodSeconds":10,"successThreshold":1,"failureThreshold":3},"readinessProbe":{"httpGet":{"path":"/","port":8080,"scheme":"HTTP"},"initialDelaySeconds":3,"timeoutSeconds":3,"periodSeconds":10,"successThreshold":1,"failureThreshold":3},"terminationMessagePath":"/dev/termination-log","imagePullPolicy":"Always","securityContext":{"capabilities":{"drop":["KILL","MKNOD","SYS_CHROOT"]},"privileged":false,"seLinuxOptions":{"level":"s0:c6,c0"}}}],"restartPolicy":"Always","terminationGracePeriodSeconds":30,"dnsPolicy":"ClusterFirst","host":"rhel-cdk","serviceAccountName":"default","serviceAccount":"default","nodeName":"rhel-cdk","securityContext":{"seLinuxOptions":{"level":"s0:c6,c0"}},"imagePullSecrets":[{"name":"default-dockercfg-npnnf"}]},"status":{"phase":"Running","conditions":[{"type":"Ready","status":"True","lastProbeTime":null,"lastTransitionTime":"2016-04-05T14:52:13Z"}],"hostIP":"10.0.2.15","podIP":"172.17.0.3","startTime":"2016-03-17T16:46:11Z","containerStatuses":[{"name":"nodejs-example","state":{"running":{"startedAt":"2016-04-05T14:52:12Z"}},"lastState":{"terminated":{"exitCode":137,"reason":"Error","startedAt":"2016-04-04T15:27:02Z","finishedAt":"2016-04-05T14:46:29Z","containerID":"docker://f2b6fc950ae367d6e9776ecacf30f4a3f86ed1bb1697559fa23a3020551fa60f"}},"ready":true,"restartCount":6,"image":"172.30.137.57:5000/test/nodejs-example@sha256:74a8a5104fbe300e64330f279a7c11e18695907f6f661dd5290608140ff553d8","imageID":"docker://111d544cd9d7998bbb2272e5917d65322a257c586950cde589cfacc2d379f1a7","containerID":"docker://673d893f78ae96950ee6c59309370670e354ddeb8a7490ca6f72cead92d8355b"}]}}]}
:
[DEBUG] 2016-04-05 16:59:06,752 com.openshift.internal.restclient.capability.resources.AbstractOpenShiftBinaryCapability - OpenShift binary args: [/home/adietish/Downloads/oc, port-forward, --insecure-skip-tls-verify=true, --server=https://10.3.2.2:8443, --token=xclaiN1FbgxnJw868JXAq5oBMyM-UjNSfzKB5z351Io, -n, test, -p, eap-app-2-9pvzm, 38501:8080, 44576:8778, 38790:8787, 38082:8888]
[DEBUG] 2016-04-05 16:59:09,487 com.openshift.internal.restclient.URLBuilder - Built url: https://10.3.2.2:8443/api/v1/namespaces/test/services
[DEBUG] 2016-04-05 16:59:09,516 com.openshift.internal.restclient.DefaultClient - List Response: {"kind":"ServiceList","apiVersion":"v1","metadata":{"selfLink":"/api/v1/namespaces/test/services","resourceVersion":"86641"},"items":[{"metadata":{"name":"eap-app","namespace":"test","selfLink":"/api/v1/namespaces/test/services/eap-app","uid":"e86683b5-ec31-11e5-b68a-525400b46e1a","resourceVersion":"12785","creationTimestamp":"2016-03-17T11:18:00Z","labels":{"application":"eap-app","template":"eap64-basic-s2i","xpaas":"1.2.0"},"annotations":{"description":"The web server's http port."}},"spec":{"ports":[{"protocol":"TCP","port":8080,"targetPort":8080}],"selector":{"deploymentConfig":"eap-app"},"portalIP":"172.30.167.18","clusterIP":"172.30.167.18","type":"ClusterIP","sessionAffinity":"None"},"status":{"loadBalancer":{}}},{"metadata":{"name":"eap-app-2","namespace":"test","selfLink":"/api/v1/namespaces/test/services/eap-app-2","uid":"858c2982-f76c-11e5-85c0-525400b46e1a","resourceVersion":"71714","creationTimestamp":"2016-03-31T18:15:17Z","labels":{"application":"eap-app","template":"eap64-basic-s2i","xpaas":"1.2.0"},"annotations":{"description":"The web server's http port."}},"spec":{"ports":[{"protocol":"TCP","port":8080,"targetPort":8080}],"selector":{"deploymentConfig":"eap-app"},"portalIP":"172.30.167.19","clusterIP":"172.30.167.19","type":"ClusterIP","sessionAffinity":"None"},"status":{"loadBalancer":{}}},{"metadata":{"name":"eap-app-3","namespace":"test","selfLink":"/api/v1/namespaces/test/services/eap-app-3","uid":"e70fa27d-f7eb-11e5-bd43-525400b46e1a","resourceVersion":"76707","creationTimestamp":"2016-04-01T09:27:07Z","labels":{"application":"eap-app","template":"eap64-basic-s2i","xpaas":"1.2.0"},"annotations":{"description":"The web server's http port."}},"spec":{"ports":[{"protocol":"TCP","port":8080,"targetPort":8080}],"selector":{"deploymentConfig":"eap-app"},"portalIP":"172.30.167.20","clusterIP":"172.30.167.20","type":"ClusterIP","sessionAffinity":"None"},"status":{"loadBalancer":{}}},{"metadata":{"name":"mongodb","namespace":"test","selfLink":"/api/v1/namespaces/test/services/mongodb","uid":"50520dca-ec5f-11e5-a91c-525400b46e1a","resourceVersion":"14756","creationTimestamp":"2016-03-17T16:43:01Z","labels":{"template":"mongodb-ephemeral-template"}},"spec":{"ports":[{"name":"mongo","protocol":"TCP","port":27017,"targetPort":27017}],"selector":{"name":"mongodb"},"portalIP":"172.30.42.209","clusterIP":"172.30.42.209","type":"ClusterIP","sessionAffinity":"None"},"status":{"loadBalancer":{}}},{"metadata":{"name":"nodejs-example","namespace":"test","selfLink":"/api/v1/namespaces/test/services/nodejs-example","uid":"2d023da8-ec5f-11e5-a91c-525400b46e1a","resourceVersion":"14726","creationTimestamp":"2016-03-17T16:42:02Z","labels":{"template":"nodejs-example"},"annotations":{"description":"Exposes and load balances the application pods"}},"spec":{"ports":[{"name":"web","protocol":"TCP","port":8080,"targetPort":8080}],"selector":{"name":"nodejs-example"},"portalIP":"172.30.113.179","clusterIP":"172.30.113.179","type":"ClusterIP","sessionAffinity":"None"},"status":{"loadBalancer":{}}}]}
:
[DEBUG] 2016-04-05 16:59:09,518 com.openshift.internal.restclient.URLBuilder - Built url: https://10.3.2.2:8443/oapi/v1/projects/test
[DEBUG] 2016-04-05 16:59:09,560 com.openshift.internal.restclient.DefaultClient - {"kind":"Project","apiVersion":"v1","metadata":{"name":"test","selfLink":"/oapi/v1/projects/test","uid":"284d043d-eabe-11e5-8670-525400b46e1a","resourceVersion":"4295","creationTimestamp":"2016-03-15T14:56:54Z","annotations":{"openshift.io/description":"","openshift.io/display-name":"","openshift.io/requester":"openshift-dev","openshift.io/sa.scc.mcs":"s0:c6,c0","openshift.io/sa.scc.supplemental-groups":"1000030000/10000","openshift.io/sa.scc.uid-range":"1000030000/10000"}},"spec":{"finalizers":["openshift.io/origin","kubernetes"]},"status":{"phase":"Active"}}
[DEBUG] 2016-04-05 16:59:09,561 com.openshift.internal.restclient.URLBuilder - Built url: https://10.3.2.2:8443/oapi/v1/projects/test
[DEBUG] 2016-04-05 16:59:09,591 com.openshift.internal.restclient.DefaultClient - {"kind":"Project","apiVersion":"v1","metadata":{"name":"test","selfLink":"/oapi/v1/projects/test","uid":"284d043d-eabe-11e5-8670-525400b46e1a","resourceVersion":"4295","creationTimestamp":"2016-03-15T14:56:54Z","annotations":{"openshift.io/description":"","openshift.io/display-name":"","openshift.io/requester":"openshift-dev","openshift.io/sa.scc.mcs":"s0:c6,c0","openshift.io/sa.scc.supplemental-groups":"1000030000/10000","openshift.io/sa.scc.uid-range":"1000030000/10000"}},"spec":{"finalizers":["openshift.io/origin","kubernetes"]},"status":{"phase":"Active"}}
[DEBUG] 2016-04-05 16:59:09,596 com.openshift.internal.restclient.URLBuilder - Built url: https://10.3.2.2:8443/api/v1/namespaces/test/services
[DEBUG] 2016-04-05 16:59:09,634 com.openshift.internal.restclient.DefaultClient - List Response: {"kind":"ServiceList","apiVersion":"v1","metadata":{"selfLink":"/api/v1/namespaces/test/services","resourceVersion":"86641"},"items":[{"metadata":{"name":"eap-app","namespace":"test","selfLink":"/api/v1/namespaces/test/services/eap-app","uid":"e86683b5-ec31-11e5-b68a-525400b46e1a","resourceVersion":"12785","creationTimestamp":"2016-03-17T11:18:00Z","labels":{"application":"eap-app","template":"eap64-basic-s2i","xpaas":"1.2.0"},"annotations":{"description":"The web server's http port."}},"spec":{"ports":[{"protocol":"TCP","port":8080,"targetPort":8080}],"selector":{"deploymentConfig":"eap-app"},"portalIP":"172.30.167.18","clusterIP":"172.30.167.18","type":"ClusterIP","sessionAffinity":"None"},"status":{"loadBalancer":{}}},{"metadata":{"name":"eap-app-2","namespace":"test","selfLink":"/api/v1/namespaces/test/services/eap-app-2","uid":"858c2982-f76c-11e5-85c0-525400b46e1a","resourceVersion":"71714","creationTimestamp":"2016-03-31T18:15:17Z","labels":{"application":"eap-app","template":"eap64-basic-s2i","xpaas":"1.2.0"},"annotations":{"description":"The web server's http port."}},"spec":{"ports":[{"protocol":"TCP","port":8080,"targetPort":8080}],"selector":{"deploymentConfig":"eap-app"},"portalIP":"172.30.167.19","clusterIP":"172.30.167.19","type":"ClusterIP","sessionAffinity":"None"},"status":{"loadBalancer":{}}},{"metadata":{"name":"eap-app-3","namespace":"test","selfLink":"/api/v1/namespaces/test/services/eap-app-3","uid":"e70fa27d-f7eb-11e5-bd43-525400b46e1a","resourceVersion":"76707","creationTimestamp":"2016-04-01T09:27:07Z","labels":{"application":"eap-app","template":"eap64-basic-s2i","xpaas":"1.2.0"},"annotations":{"description":"The web server's http port."}},"spec":{"ports":[{"protocol":"TCP","port":8080,"targetPort":8080}],"selector":{"deploymentConfig":"eap-app"},"portalIP":"172.30.167.20","clusterIP":"172.30.167.20","type":"ClusterIP","sessionAffinity":"None"},"status":{"loadBalancer":{}}},{"metadata":{"name":"mongodb","namespace":"test","selfLink":"/api/v1/namespaces/test/services/mongodb","uid":"50520dca-ec5f-11e5-a91c-525400b46e1a","resourceVersion":"14756","creationTimestamp":"2016-03-17T16:43:01Z","labels":{"template":"mongodb-ephemeral-template"}},"spec":{"ports":[{"name":"mongo","protocol":"TCP","port":27017,"targetPort":27017}],"selector":{"name":"mongodb"},"portalIP":"172.30.42.209","clusterIP":"172.30.42.209","type":"ClusterIP","sessionAffinity":"None"},"status":{"loadBalancer":{}}},{"metadata":{"name":"nodejs-example","namespace":"test","selfLink":"/api/v1/namespaces/test/services/nodejs-example","uid":"2d023da8-ec5f-11e5-a91c-525400b46e1a","resourceVersion":"14726","creationTimestamp":"2016-03-17T16:42:02Z","labels":{"template":"nodejs-example"},"annotations":{"description":"Exposes and load balances the application pods"}},"spec":{"ports":[{"name":"web","protocol":"TCP","port":8080,"targetPort":8080}],"selector":{"name":"nodejs-example"},"portalIP":"172.30.113.179","clusterIP":"172.30.113.179","type":"ClusterIP","sessionAffinity":"None"},"status":{"loadBalancer":{}}}]}
:
[DEBUG] 2016-04-05 16:59:09,636 com.openshift.internal.restclient.URLBuilder - Built url: https://10.3.2.2:8443/oapi/v1/projects/test
[DEBUG] 2016-04-05 16:59:09,669 com.openshift.internal.restclient.DefaultClient - {"kind":"Project","apiVersion":"v1","metadata":{"name":"test","selfLink":"/oapi/v1/projects/test","uid":"284d043d-eabe-11e5-8670-525400b46e1a","resourceVersion":"4295","creationTimestamp":"2016-03-15T14:56:54Z","annotations":{"openshift.io/description":"","openshift.io/display-name":"","openshift.io/requester":"openshift-dev","openshift.io/sa.scc.mcs":"s0:c6,c0","openshift.io/sa.scc.supplemental-groups":"1000030000/10000","openshift.io/sa.scc.uid-range":"1000030000/10000"}},"spec":{"finalizers":["openshift.io/origin","kubernetes"]},"status":{"phase":"Active"}}
[DEBUG] 2016-04-05 16:59:09,669 com.openshift.internal.restclient.URLBuilder - Built url: https://10.3.2.2:8443/oapi/v1/projects/test
[DEBUG] 2016-04-05 16:59:09,707 com.openshift.internal.restclient.DefaultClient - {"kind":"Project","apiVersion":"v1","metadata":{"name":"test","selfLink":"/oapi/v1/projects/test","uid":"284d043d-eabe-11e5-8670-525400b46e1a","resourceVersion":"4295","creationTimestamp":"2016-03-15T14:56:54Z","annotations":{"openshift.io/description":"","openshift.io/display-name":"","openshift.io/requester":"openshift-dev","openshift.io/sa.scc.mcs":"s0:c6,c0","openshift.io/sa.scc.supplemental-groups":"1000030000/10000","openshift.io/sa.scc.uid-range":"1000030000/10000"}},"spec":{"finalizers":["openshift.io/origin","kubernetes"]},"status":{"phase":"Active"}}
[DEBUG] 2016-04-05 16:59:09,707 com.openshift.internal.restclient.URLBuilder - Built url: https://10.3.2.2:8443/api/v1/namespaces/test/pods
[DEBUG] 2016-04-05 16:59:09,753 com.openshift.internal.restclient.DefaultClient - List Response: {"kind":"PodList","apiVersion":"v1","metadata":{"selfLink":"/api/v1/namespaces/test/pods","resourceVersion":"86641"},"items":[{"metadata":{"name":"eap-app-1-build","namespace":"test","selfLink":"/api/v1/namespaces/test/pods/eap-app-1-build","uid":"e8cf18ca-ec31-11e5-b68a-525400b46e1a","resourceVersion":"52916","creationTimestamp":"2016-03-17T11:18:00Z","labels":{"openshift.io/build.name":"eap-app-1"},"annotations":{"openshift.io/build.name":"eap-app-1","openshift.io/scc":"privileged"}},"spec":{"volumes":[{"name":"docker-socket","hostPath":{"path":"/var/run/docker.sock"}},{"name":"builder-dockercfg-c9svc-push","secret":{"secretName":"builder-dockercfg-c9svc"}},{"name":"builder-token-9y9wk","secret":{"secretName":"builder-token-9y9wk"}}],"containers":[{"name":"sti-build","image":"openshift3/ose-sti-builder:v3.1.1.906","args":["--loglevel=0"],"env":[{"name":"BUILD","value":"{\"kind\":\"Build\",\"apiVersion\":\"v1\",\"metadata\":{\"name\":\"eap-app-1\",\"namespace\":\"test\",\"selfLink\":\"/oapi/v1/namespaces/test/builds/eap-app-1\",\"uid\":\"e8c887e4-ec31-11e5-b68a-525400b46e1a\",\"resourceVersion\":\"12792\",\"creationTimestamp\":\"2016-03-17T11:18:00Z\",\"labels\":{\"application\":\"eap-app\",\"buildconfig\":\"eap-app\",\"openshift.io/build-config.name\":\"eap-app\",\"template\":\"eap64-basic-s2i\",\"xpaas\":\"1.2.0\"},\"annotations\":{\"openshift.io/build.number\":\"1\"}},\"spec\":{\"serviceAccount\":\"builder\",\"source\":{\"type\":\"Git\",\"git\":{\"uri\":\"https://github.com/jboss-developer/jboss-eap-quickstarts\",\"ref\":\"6.4.x\"},\"contextDir\":\"kitchensink\",\"secrets\":null},\"strategy\":{\"type\":\"Source\",\"sourceStrategy\":{\"from\":{\"kind\":\"DockerImage\",\"name\":\"registry.access.redhat.com/jboss-eap-6/eap64-openshift:1.2\"},\"forcePull\":true}},\"output\":{\"to\":{\"kind\":\"DockerImage\",\"name\":\"172.30.137.57:5000/test/eap-app:latest\"},\"pushSecret\":{\"name\":\"builder-dockercfg-c9svc\"}},\"resources\":{},\"postCommit\":{}},\"status\":{\"phase\":\"New\",\"outputDockerImageReference\":\"172.30.137.57:5000/test/eap-app:latest\",\"config\":{\"kind\":\"BuildConfig\",\"namespace\":\"test\",\"name\":\"eap-app\"}}}\n"},{"name":"BUILD_LOGLEVEL","value":"0"},{"name":"SOURCE_REPOSITORY","value":"https://github.com/jboss-developer/jboss-eap-quickstarts"},{"name":"SOURCE_URI","value":"https://github.com/jboss-developer/jboss-eap-quickstarts"},{"name":"SOURCE_CONTEXT_DIR","value":"kitchensink"},{"name":"SOURCE_REF","value":"6.4.x"},{"name":"ORIGIN_VERSION","value":"v3.1.1.906"},{"name":"ALLOWED_UIDS","value":"1-"},{"name":"PUSH_DOCKERCFG_PATH","value":"/var/run/secrets/openshift.io/push"}],"resources":{},"volumeMounts":[{"name":"docker-socket","mountPath":"/var/run/docker.sock"},{"name":"builder-dockercfg-c9svc-push","readOnly":true,"mountPath":"/var/run/secrets/openshift.io/push"},{"name":"builder-token-9y9wk","readOnly":true,"mountPath":"/var/run/secrets/kubernetes.io/serviceaccount"}],"terminationMessagePath":"/dev/termination-log","imagePullPolicy":"IfNotPresent","securityContext":{"privileged":true}}],"restartPolicy":"Never","terminationGracePeriodSeconds":30,"dnsPolicy":"ClusterFirst","host":"rhel-cdk","serviceAccountName":"builder","serviceAccount":"builder","nodeName":"rhel-cdk","securityContext":{},"imagePullSecrets":[{"name":"builder-dockercfg-c9svc"}]},"status":{"phase":"Succeeded","conditions":[{"type":"Ready","status":"False","lastProbeTime":null,"lastTransitionTime":"2016-03-17T11:39:27Z","reason":"PodCompleted"}],"hostIP":"10.0.2.15","podIP":"172.17.0.2","startTime":"2016-03-17T11:18:00Z","containerStatuses":[{"name":"sti-build","state":{"terminated":{"exitCode":0,"reason":"Completed","startedAt":"2016-03-17T11:18:51Z","finishedAt":"2016-03-17T11:39:26Z","containerID":"docker://67eee4f109f055d26efce710929c262a7e4ef45806d065bcebddb0fd5c948111"}},"lastState":{},"ready":false,"restartCount":0,"image":"openshift3/ose-sti-builder:v3.1.1.906","imageID":"docker://aa6466ccc68120164524cf1f5789c596db2b342823e094b8a88ffc2a6b8b1b63","containerID":"docker://67eee4f109f055d26efce710929c262a7e4ef45806d065bcebddb0fd5c948111"}]}},{"metadata":{"name":"eap-app-2-9pvzm","generateName":"eap-app-2-","namespace":"test","selfLink":"/api/v1/namespaces/test/pods/eap-app-2-9pvzm","uid":"b95243c4-fb3e-11e5-94bf-525400b46e1a","resourceVersion":"86629","creationTimestamp":"2016-04-05T14:57:32Z","labels":{"application":"eap-app","deployment":"eap-app-2","deploymentConfig":"eap-app","deploymentconfig":"eap-app"},"annotations":{"kubernetes.io/created-by":"{\"kind\":\"SerializedReference\",\"apiVersion\":\"v1\",\"reference\":{\"kind\":\"ReplicationController\",\"namespace\":\"test\",\"name\":\"eap-app-2\",\"uid\":\"b489fc1a-fb3e-11e5-94bf-525400b46e1a\",\"apiVersion\":\"v1\",\"resourceVersion\":\"86603\"}}\n","openshift.io/deployment-config.latest-version":"2","openshift.io/deployment-config.name":"eap-app","openshift.io/deployment.name":"eap-app-2","openshift.io/scc":"anyuid"}},"spec":{"volumes":[{"name":"default-token-n7i7r","secret":{"secretName":"default-token-n7i7r"}}],"containers":[{"name":"eap-app","image":"172.30.137.57:5000/test/eap-app@sha256:94406321dc8382092ba774c54a0b3c82d6b4368623d6b0d639a1ee5bf830127d","ports":[{"name":"http","containerPort":8080,"protocol":"TCP"},{"name":"jolokia","containerPort":8778,"protocol":"TCP"},{"name":"ping","containerPort":8888,"protocol":"TCP"},{"name":"debug","containerPort":8787,"protocol":"TCP"}],"env":[{"name":"OPENSHIFT_KUBE_PING_LABELS","value":"application=eap-app"},{"name":"OPENSHIFT_KUBE_PING_NAMESPACE","valueFrom":{"fieldRef":{"apiVersion":"v1","fieldPath":"metadata.namespace"}}},{"name":"HORNETQ_CLUSTER_PASSWORD","value":"thuRJNWR"},{"name":"HORNETQ_QUEUES"},{"name":"HORNETQ_TOPICS"},{"name":"JGROUPS_CLUSTER_PASSWORD","value":"6BrBSRAR"},{"name":"DEBUG_PORT","value":"8787"},{"name":"DEV_MODE","value":"true"},{"name":"DEBUG","value":"true"}],"resources":{},"volumeMounts":[{"name":"default-token-n7i7r","readOnly":true,"mountPath":"/var/run/secrets/kubernetes.io/serviceaccount"}],"livenessProbe":{"exec":{"command":["/bin/bash","-c","/opt/eap/bin/livenessProbe.sh"]},"timeoutSeconds":1,"periodSeconds":10,"successThreshold":1,"failureThreshold":3},"readinessProbe":{"exec":{"command":["/bin/bash","-c","/opt/eap/bin/readinessProbe.sh"]},"timeoutSeconds":1,"periodSeconds":10,"successThreshold":1,"failureThreshold":3},"terminationMessagePath":"/dev/termination-log","imagePullPolicy":"Always","securityContext":{"capabilities":{"drop":["KILL","MKNOD","SYS_CHROOT"]},"privileged":false,"seLinuxOptions":{"level":"s0:c6,c0"}}}],"restartPolicy":"Always","terminationGracePeriodSeconds":60,"dnsPolicy":"ClusterFirst","host":"rhel-cdk","serviceAccountName":"default","serviceAccount":"default","nodeName":"rhel-cdk","securityContext":{"seLinuxOptions":{"level":"s0:c6,c0"}},"imagePullSecrets":[{"name":"default-dockercfg-npnnf"}]},"status":{"phase":"Running","conditions":[{"type":"Ready","status":"True","lastProbeTime":null,"lastTransitionTime":"2016-04-05T14:58:15Z"}],"hostIP":"10.0.2.15","podIP":"172.17.0.5","startTime":"2016-04-05T14:57:32Z","containerStatuses":[{"name":"eap-app","state":{"running":{"startedAt":"2016-04-05T14:57:35Z"}},"lastState":{},"ready":true,"restartCount":0,"image":"172.30.137.57:5000/test/eap-app@sha256:94406321dc8382092ba774c54a0b3c82d6b4368623d6b0d639a1ee5bf830127d","imageID":"docker://3e714b77bd619e5513385d7f2b642432e909df5239fef20b01ff5bb69c1f84a1","containerID":"docker://9df9f2789ae95848d8076f5246c4c9d0d286c043bba0658c8d971a0ff1e14348"}]}},{"metadata":{"name":"nodejs-example-1-build","namespace":"test","selfLink":"/api/v1/namespaces/test/pods/nodejs-example-1-build","uid":"2dc9ebbc-ec5f-11e5-a91c-525400b46e1a","resourceVersion":"52921","creationTimestamp":"2016-03-17T16:42:03Z","labels":{"openshift.io/build.name":"nodejs-example-1"},"annotations":{"openshift.io/build.name":"nodejs-example-1","openshift.io/scc":"privileged"}},"spec":{"volumes":[{"name":"docker-socket","hostPath":{"path":"/var/run/docker.sock"}},{"name":"builder-dockercfg-c9svc-push","secret":{"secretName":"builder-dockercfg-c9svc"}},{"name":"builder-token-9y9wk","secret":{"secretName":"builder-token-9y9wk"}}],"containers":[{"name":"sti-build","image":"openshift3/ose-sti-builder:v3.1.1.906","args":["--loglevel=0"],"env":[{"name":"BUILD","value":"{\"kind\":\"Build\",\"apiVersion\":\"v1\",\"metadata\":{\"name\":\"nodejs-example-1\",\"namespace\":\"test\",\"selfLink\":\"/oapi/v1/namespaces/test/builds/nodejs-example-1\",\"uid\":\"2dbcf807-ec5f-11e5-a91c-525400b46e1a\",\"resourceVersion\":\"14734\",\"creationTimestamp\":\"2016-03-17T16:42:03Z\",\"labels\":{\"buildconfig\":\"nodejs-example\",\"openshift.io/build-config.name\":\"nodejs-example\",\"template\":\"nodejs-example\"},\"annotations\":{\"openshift.io/build.number\":\"1\"}},\"spec\":{\"serviceAccount\":\"builder\",\"source\":{\"type\":\"Git\",\"git\":{\"uri\":\"https://github.com/openshift/nodejs-ex.git\"},\"secrets\":null},\"strategy\":{\"type\":\"Source\",\"sourceStrategy\":{\"from\":{\"kind\":\"DockerImage\",\"name\":\"registry.access.redhat.com/openshift3/nodejs-010-rhel7:latest\"}}},\"output\":{\"to\":{\"kind\":\"DockerImage\",\"name\":\"172.30.137.57:5000/test/nodejs-example:latest\"},\"pushSecret\":{\"name\":\"builder-dockercfg-c9svc\"}},\"resources\":{},\"postCommit\":{}},\"status\":{\"phase\":\"New\",\"outputDockerImageReference\":\"172.30.137.57:5000/test/nodejs-example:latest\",\"config\":{\"kind\":\"BuildConfig\",\"namespace\":\"test\",\"name\":\"nodejs-example\"}}}\n"},{"name":"BUILD_LOGLEVEL","value":"0"},{"name":"SOURCE_REPOSITORY","value":"https://github.com/openshift/nodejs-ex.git"},{"name":"SOURCE_URI","value":"https://github.com/openshift/nodejs-ex.git"},{"name":"ORIGIN_VERSION","value":"v3.1.1.906"},{"name":"ALLOWED_UIDS","value":"1-"},{"name":"PUSH_DOCKERCFG_PATH","value":"/var/run/secrets/openshift.io/push"}],"resources":{},"volumeMounts":[{"name":"docker-socket","mountPath":"/var/run/docker.sock"},{"name":"builder-dockercfg-c9svc-push","readOnly":true,"mountPath":"/var/run/secrets/openshift.io/push"},{"name":"builder-token-9y9wk","readOnly":true,"mountPath":"/var/run/secrets/kubernetes.io/serviceaccount"}],"terminationMessagePath":"/dev/termination-log","imagePullPolicy":"IfNotPresent","securityContext":{"privileged":true}}],"restartPolicy":"Never","terminationGracePeriodSeconds":30,"dnsPolicy":"ClusterFirst","host":"rhel-cdk","serviceAccountName":"builder","serviceAccount":"builder","nodeName":"rhel-cdk","securityContext":{},"imagePullSecrets":[{"name":"builder-dockercfg-c9svc"}]},"status":{"phase":"Succeeded","conditions":[{"type":"Ready","status":"False","lastProbeTime":null,"lastTransitionTime":"2016-03-17T16:46:02Z","reason":"PodCompleted"}],"hostIP":"10.0.2.15","podIP":"172.17.0.3","startTime":"2016-03-17T16:42:04Z","containerStatuses":[{"name":"sti-build","state":{"terminated":{"exitCode":0,"reason":"Completed","startedAt":"2016-03-17T16:42:10Z","finishedAt":"2016-03-17T16:46:02Z","containerID":"docker://4b9a53c500f6ed762866ea2f95f912e14ed9180c6b030b593720bf3a167aeeb6"}},"lastState":{},"ready":false,"restartCount":0,"image":"openshift3/ose-sti-builder:v3.1.1.906","imageID":"docker://aa6466ccc68120164524cf1f5789c596db2b342823e094b8a88ffc2a6b8b1b63","containerID":"docker://4b9a53c500f6ed762866ea2f95f912e14ed9180c6b030b593720bf3a167aeeb6"}]}},{"metadata":{"name":"nodejs-example-1-qd2c2","generateName":"nodejs-example-1-","namespace":"test","selfLink":"/api/v1/namespaces/test/pods/nodejs-example-1-qd2c2","uid":"c1288581-ec5f-11e5-a91c-525400b46e1a","resourceVersion":"86528","creationTimestamp":"2016-03-17T16:46:11Z","labels":{"deployment":"nodejs-example-1","deploymentconfig":"nodejs-example","name":"nodejs-example"},"annotations":{"kubernetes.io/created-by":"{\"kind\":\"SerializedReference\",\"apiVersion\":\"v1\",\"reference\":{\"kind\":\"ReplicationController\",\"namespace\":\"test\",\"name\":\"nodejs-example-1\",\"uid\":\"bbe90a42-ec5f-11e5-a91c-525400b46e1a\",\"apiVersion\":\"v1\",\"resourceVersion\":\"14801\"}}\n","openshift.io/deployment-config.latest-version":"1","openshift.io/deployment-config.name":"nodejs-example","openshift.io/deployment.name":"nodejs-example-1","openshift.io/scc":"anyuid"}},"spec":{"volumes":[{"name":"default-token-n7i7r","secret":{"secretName":"default-token-n7i7r"}}],"containers":[{"name":"nodejs-example","image":"172.30.137.57:5000/test/nodejs-example@sha256:74a8a5104fbe300e64330f279a7c11e18695907f6f661dd5290608140ff553d8","ports":[{"containerPort":8080,"protocol":"TCP"}],"env":[{"name":"DATABASE_SERVICE_NAME"},{"name":"MONGODB_USER"},{"name":"MONGODB_PASSWORD"},{"name":"MONGODB_DATABASE"},{"name":"MONGODB_ADMIN_PASSWORD"}],"resources":{"limits":{"memory":"512Mi"},"requests":{"memory":"512Mi"}},"volumeMounts":[{"name":"default-token-n7i7r","readOnly":true,"mountPath":"/var/run/secrets/kubernetes.io/serviceaccount"}],"livenessProbe":{"httpGet":{"path":"/","port":8080,"scheme":"HTTP"},"initialDelaySeconds":30,"timeoutSeconds":3,"periodSeconds":10,"successThreshold":1,"failureThreshold":3},"readinessProbe":{"httpGet":{"path":"/","port":8080,"scheme":"HTTP"},"initialDelaySeconds":3,"timeoutSeconds":3,"periodSeconds":10,"successThreshold":1,"failureThreshold":3},"terminationMessagePath":"/dev/termination-log","imagePullPolicy":"Always","securityContext":{"capabilities":{"drop":["KILL","MKNOD","SYS_CHROOT"]},"privileged":false,"seLinuxOptions":{"level":"s0:c6,c0"}}}],"restartPolicy":"Always","terminationGracePeriodSeconds":30,"dnsPolicy":"ClusterFirst","host":"rhel-cdk","serviceAccountName":"default","serviceAccount":"default","nodeName":"rhel-cdk","securityContext":{"seLinuxOptions":{"level":"s0:c6,c0"}},"imagePullSecrets":[{"name":"default-dockercfg-npnnf"}]},"status":{"phase":"Running","conditions":[{"type":"Ready","status":"True","lastProbeTime":null,"lastTransitionTime":"2016-04-05T14:52:13Z"}],"hostIP":"10.0.2.15","podIP":"172.17.0.3","startTime":"2016-03-17T16:46:11Z","containerStatuses":[{"name":"nodejs-example","state":{"running":{"startedAt":"2016-04-05T14:52:12Z"}},"lastState":{"terminated":{"exitCode":137,"reason":"Error","startedAt":"2016-04-04T15:27:02Z","finishedAt":"2016-04-05T14:46:29Z","containerID":"docker://f2b6fc950ae367d6e9776ecacf30f4a3f86ed1bb1697559fa23a3020551fa60f"}},"ready":true,"restartCount":6,"image":"172.30.137.57:5000/test/nodejs-example@sha256:74a8a5104fbe300e64330f279a7c11e18695907f6f661dd5290608140ff553d8","imageID":"docker://111d544cd9d7998bbb2272e5917d65322a257c586950cde589cfacc2d379f1a7","containerID":"docker://673d893f78ae96950ee6c59309370670e354ddeb8a7490ca6f72cead92d8355b"}]}}]}
:
[DEBUG] 2016-04-05 16:59:09,754 com.openshift.internal.restclient.URLBuilder - Built url: https://10.3.2.2:8443/oapi/v1/users/~
[DEBUG] 2016-04-05 16:59:09,815 com.openshift.internal.restclient.DefaultClient - {"kind":"User","apiVersion":"v1","metadata":{"name":"openshift-dev","selfLink":"/oapi/v1/users/openshift-dev","uid":"c21ad73a-eab5-11e5-8670-525400b46e1a","resourceVersion":"3889","creationTimestamp":"2016-03-15T13:56:47Z"},"identities":["htpasswd:openshift-dev"],"groups":null}
[DEBUG] 2016-04-05 16:59:09,815 com.openshift.internal.restclient.capability.resources.AbstractOpenShiftBinaryCapability - OpenShift binary args: [/home/adietish/Downloads/oc, rsync, --user=openshift-dev, --token=xclaiN1FbgxnJw868JXAq5oBMyM-UjNSfzKB5z351Io, --server=https://10.3.2.2:8443, --insecure-skip-tls-verify=true, --exclude='.git', eap-app-2-9pvzm:/opt/eap/standalone/deployments/, -n, test, /home/adietish/jboss-workspaces/jbosstools-github/runtime-openshift/.metadata/.plugins/org.jboss.ide.eclipse.as.core/eap-app-2_at_OpenShift_3_(10.3.2.2)/deploy/]
{code}
> OpenShift logging is too chatty on stdout
> -----------------------------------------
>
> Key: JBIDE-22111
> URL: https://issues.jboss.org/browse/JBIDE-22111
> Project: Tools (JBoss Tools)
> Issue Type: Bug
> Components: openshift
> Affects Versions: 4.3.1.CR1
> Reporter: Marián Labuda
>
> In stdout (e.g. when running IDE from command line) there is a lot of [DEBUG] messages from OpenShift. Most of them are WatchClient related, websockets, some jsons. It is too much chatty.
--
This message was sent by Atlassian JIRA
(v6.4.11#64026)
10 years
[JBoss JIRA] (JBIDE-22078) Error publishing war file to wildfy 10.0 on windows
by Fred Bricon (JIRA)
[ https://issues.jboss.org/browse/JBIDE-22078?page=com.atlassian.jira.plugi... ]
Fred Bricon updated JBIDE-22078:
--------------------------------
Priority: Blocker (was: Major)
> Error publishing war file to wildfy 10.0 on windows
> ---------------------------------------------------
>
> Key: JBIDE-22078
> URL: https://issues.jboss.org/browse/JBIDE-22078
> Project: Tools (JBoss Tools)
> Issue Type: Bug
> Components: server
> Affects Versions: 4.3.0.Final
> Environment: - Windows 7 x64
> - jdk1.8.0_77 (32-bit)
> - Eclipse Mars.2 (32-bit)
> - JBoss Tools 4.3.0.FINAL
> - Wildfly 10.0.0.FINAL
> Reporter: Tobias van den Berg
> Assignee: Rob Stryker
> Priority: Blocker
> Fix For: 4.3.1.CR1
>
>
> The following error is thrown after publishing a maven webapplication (.war) to Wildfly 10.0:
> "Error renaming C:\wildfly-10.0.0.Final\standalone\tmp\tmp8945090880188299781.properties to C:\wildfly-10.0.0.Final\standalone\deployments\WebViewer-0.0.3-SNAPSHOT.war\META-INF\maven\nl.incad.webviewer\WebViewer\pom.properties.
> This may be caused by incorrect file permissions, or your server's temporary deploy directory may be on a different filesystem than the final destination.
> You may adjust these settings in the server editor."
> The webapplication is no longer available/online after the error. The only solution is to restart the server and to re-add the webapplication to the server. This makes it very hard to develop/test a webapplication on wildfly 10. The same error is thrown on wildfly 8.0/8.1, but the difference is that the webapplication is still available/online after the error.
> I've tried/tested the following:
> - Checked/updated Windows file permisions for the wildfly directory
> - Take ownership of the wildfly directory (recursively)
> - Disabled Windows User Account Control (UAC)
> - Run Eclipse as Admin
> Relates to:
> - JBIDE-18697
> - JBIDE-17545
--
This message was sent by Atlassian JIRA
(v6.4.11#64026)
10 years