Advertisement
Guest User

Untitled

a guest
Jan 28th, 2016
1,175
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 7.08 KB | None | 0 0
  1. redhat-sardinha:~ samueltauil$ ./oc port-forward broker-amq-1-6os2s 8161:8161
  2. I0128 11:49:00.411919 21962 portforward.go:213] Forwarding from 127.0.0.1:8161 -> 8161
  3. I0128 11:49:00.413893 21962 portforward.go:213] Forwarding from [::1]:8161 -> 8161
  4. E0128 11:54:00.418641 21962 portforward.go:168] lost connection to pod
  5. redhat-sardinha:~ samueltauil$ ./oc port-forward broker-amq-1-6os2s 8161:8161 --v=10
  6. I0128 11:57:00.066215 21965 debugging.go:102] curl -k -v -XGET -H "User-Agent: oc/v1.1.0 (darwin/amd64) kubernetes/4c8e6f4" -H "Authorization: Bearer QfE6MW1Q8-nlD-1OdLBhQk8Fffs1eIK7FYUz8T2DoYE" https://master00-mwl.opentlc.com:8443/api
  7. I0128 11:57:01.477663 21965 debugging.go:121] GET https://master00-mwl.opentlc.com:8443/api 200 OK in 1410 milliseconds
  8. I0128 11:57:01.477695 21965 debugging.go:127] Response Headers:
  9. I0128 11:57:01.477703 21965 debugging.go:130] Date: Thu, 28 Jan 2016 13:56:57 GMT
  10. I0128 11:57:01.477718 21965 debugging.go:130] Content-Length: 32
  11. I0128 11:57:01.477723 21965 debugging.go:130] Cache-Control: no-store
  12. I0128 11:57:01.477729 21965 debugging.go:130] Content-Type: application/json
  13. I0128 11:57:01.478210 21965 request.go:796] Response Body: {
  14. "versions": [
  15. "v1"
  16. ]
  17. }
  18. I0128 11:57:01.478816 21965 debugging.go:102] curl -k -v -XGET -H "User-Agent: oc/v1.1.0 (darwin/amd64) kubernetes/4c8e6f4" -H "Authorization: Bearer QfE6MW1Q8-nlD-1OdLBhQk8Fffs1eIK7FYUz8T2DoYE" https://master00-mwl.opentlc.com:8443/api/v1/namespaces/rh-stauilrh-amq/pods/broker-amq-1-6os2s
  19. I0128 11:57:01.680481 21965 debugging.go:121] GET https://master00-mwl.opentlc.com:8443/api/v1/namespaces/rh-stauilrh-amq/pods/broker-amq-1-6os2s 200 OK in 201 milliseconds
  20. I0128 11:57:01.680542 21965 debugging.go:127] Response Headers:
  21. I0128 11:57:01.680550 21965 debugging.go:130] Cache-Control: no-store
  22. I0128 11:57:01.680557 21965 debugging.go:130] Content-Type: application/json
  23. I0128 11:57:01.680563 21965 debugging.go:130] Date: Thu, 28 Jan 2016 13:56:57 GMT
  24. I0128 11:57:01.680622 21965 request.go:796] Response Body: {"kind":"Pod","apiVersion":"v1","metadata":{"name":"broker-amq-1-6os2s","generateName":"broker-amq-1-","namespace":"rh-stauilrh-amq","selfLink":"/api/v1/namespaces/rh-stauilrh-amq/pods/broker-amq-1-6os2s","uid":"d97e7f97-c369-11e5-9132-2cc26027a9cd","resourceVersion":"9795017","creationTimestamp":"2016-01-25T13:45:09Z","labels":{"application":"broker","deployment":"broker-amq-1","deploymentConfig":"broker-amq","deploymentconfig":"broker-amq"},"annotations":{"kubernetes.io/created-by":"{\"kind\":\"SerializedReference\",\"apiVersion\":\"v1\",\"reference\":{\"kind\":\"ReplicationController\",\"namespace\":\"rh-stauilrh-amq\",\"name\":\"broker-amq-1\",\"uid\":\"d6982a59-c369-11e5-9132-2cc26027a9cd\",\"apiVersion\":\"v1\",\"resourceVersion\":\"9794736\"}}\n","openshift.io/deployment-config.latest-version":"1","openshift.io/deployment-config.name":"broker-amq","openshift.io/deployment.name":"broker-amq-1","openshift.io/generated-by":"OpenShiftNewApp","openshift.io/scc":"restricted"}},"spec":{"volumes":[{"name":"broker-secret-volume","secret":{"secretName":"amq-app-secret"}},{"name":"broker-amq-pvol","persistentVolumeClaim":{"claimName":"broker-amq-claim"}},{"name":"amq-service-account-token-0wnys","secret":{"secretName":"amq-service-account-token-0wnys"}}],"containers":[{"name":"broker-amq","image":"registry.access.redhat.com/jboss-amq-6/amq-openshift:6.2","ports":[{"name":"amqp","containerPort":5672,"protocol":"TCP"},{"name":"amqp-ssl","containerPort":5671,"protocol":"TCP"},{"name":"mqtt","containerPort":1883,"protocol":"TCP"},{"name":"stomp","containerPort":61613,"protocol":"TCP"},{"name":"stomp-ssl","containerPort":61612,"protocol":"TCP"},{"name":"tcp","containerPort":61616,"protocol":"TCP"},{"name":"tcp-ssl","containerPort":61617,"protocol":"TCP"}],"env":[{"name":"AMQ_USER","value":"stauilrh"},{"name":"AMQ_PASSWORD","value":"redhat"},{"name":"AMQ_PROTOCOLS","value":"openwire"},{"name":"AMQ_QUEUES","value":"exampleQueue"},{"name":"AMQ_TOPICS"},{"name":"AMQ_ADMIN_USERNAME","value":"stauilrh"},{"name":"AMQ_ADMIN_PASSWORD","value":"redhat"},{"name":"AMQ_KEYSTORE_TRUSTSTORE_DIR","value":"/etc/amq-secret-volume"},{"name":"AMQ_TRUSTSTORE","value":"truststore.jks"},{"name":"AMQ_KEYSTORE","value":"keystore.jks"}],"resources":{},"volumeMounts":[{"name":"broker-secret-volume","readOnly":true,"mountPath":"/etc/amq-secret-volume"},{"name":"broker-amq-pvol","mountPath":"/opt/amq/data/kahadb"},{"name":"amq-service-account-token-0wnys","readOnly":true,"mountPath":"/var/run/secrets/kubernetes.io/serviceaccount"}],"readinessProbe":{"exec":{"command":["/bin/bash","-c","curl -s -L -u stauilrh:redhat 'http://localhost:8161/hawtio/jolokia/read/org.apache.activemq:type=Broker,brokerName=*,service=Health/CurrentStatus' | grep -q '\"CurrentStatus\" *: *\"Good\"'"]},"timeoutSeconds":1},"terminationMessagePath":"/dev/termination-log","imagePullPolicy":"Always","securityContext":{"privileged":false,"seLinuxOptions":{"level":"s0:c20,c5"}}}],"restartPolicy":"Always","terminationGracePeriodSeconds":30,"dnsPolicy":"ClusterFirst","host":"node01-mwl.localdomain","serviceAccountName":"amq-service-account","serviceAccount":"amq-service-account","nodeName":"node01-mwl.localdomain","securityContext":{"seLinuxOptions":{"level":"s0:c20,c5"}},"imagePullSecrets":[{"name":"amq-service-account-dockercfg-l40th"}]},"status":{"phase":"Running","conditions":[{"type":"Ready","status":"True","lastProbeTime":null,"lastTransitionTime":"2016-01-25T13:47:40Z"}],"hostIP":"192.168.10.11","podIP":"10.1.1.38","startTime":"2016-01-25T13:45:11Z","containerStatuses":[{"name":"broker-amq","state":{"running":{"startedAt":"2016-01-25T13:45:17Z"}},"lastState":{},"ready":true,"restartCount":0,"image":"registry.access.redhat.com/jboss-amq-6/amq-openshift:6.2","imageID":"docker://2cf41faf81c11bbcf730a3e8a3609ec557b35dde97a3906900461497c34c30ea","containerID":"docker://07ceb08ab2116688972286960ea8b0ab3eec3c65001817b602954852131b28cb"}]}}
  25. I0128 11:57:01.690767 21965 debugging.go:102] curl -k -v -XPOST -H "X-Stream-Protocol-Version: portforward.k8s.io" https://master00-mwl.opentlc.com:8443/api/v1/namespaces/rh-stauilrh-amq/pods/broker-amq-1-6os2s/portforward
  26. I0128 11:57:02.616564 21965 debugging.go:121] POST https://master00-mwl.opentlc.com:8443/api/v1/namespaces/rh-stauilrh-amq/pods/broker-amq-1-6os2s/portforward 101 Switching Protocols in 925 milliseconds
  27. I0128 11:57:02.616606 21965 debugging.go:127] Response Headers:
  28. I0128 11:57:02.616617 21965 debugging.go:130] Connection: Upgrade
  29. I0128 11:57:02.616628 21965 debugging.go:130] Upgrade: SPDY/3.1
  30. I0128 11:57:02.616637 21965 debugging.go:130] X-Stream-Protocol-Version: portforward.k8s.io
  31. I0128 11:57:02.616645 21965 debugging.go:130] Date: Thu, 28 Jan 2016 13:57:01 GMT
  32. I0128 11:57:02.618583 21965 portforward.go:213] Forwarding from 127.0.0.1:8161 -> 8161
  33. I0128 11:57:02.618670 21965 portforward.go:213] Forwarding from [::1]:8161 -> 8161
  34. E0128 12:02:02.624681 21965 portforward.go:168] lost connection to pod
  35. redhat-sardinha:~ samueltauil$ ./oc version
  36. oc v3.1.0.4-5-gebe80f5
  37. kubernetes v1.1.0-origin-1107-g4c8e6f4
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement