Advertisement
Guest User

Untitled

a guest
Feb 11th, 2016
43
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 11.40 KB | None | 0 0
  1. # oc deploy sample-phpinfo --latest -n fvi --loglevel 9
  2. I0211 12:43:47.923913 122189 loader.go:241] Config loaded from file /root/.kube/config
  3. I0211 12:43:47.925341 122189 loader.go:241] Config loaded from file /root/.kube/config
  4. I0211 12:43:47.925847 122189 debugging.go:102] curl -k -v -XGET -H "User-Agent: oc/v1.1.0 (linux/amd64) kubernetes/4c8e6f4" -H "Authorization: Bearer ILwAwKbQLucVlE_knLasNyvkn95UzPBAmJ5kN80uem0" https://master.paas.pp.sd.lbn.fr:8443/api
  5. I0211 12:43:47.946115 122189 debugging.go:121] GET https://master.paas.pp.sd.lbn.fr:8443/api 200 OK in 20 milliseconds
  6. I0211 12:43:47.946134 122189 debugging.go:127] Response Headers:
  7. I0211 12:43:47.946140 122189 debugging.go:130] Content-Type: application/json
  8. I0211 12:43:47.946146 122189 debugging.go:130] Date: Thu, 11 Feb 2016 12:43:47 GMT
  9. I0211 12:43:47.946151 122189 debugging.go:130] Content-Length: 32
  10. I0211 12:43:47.946156 122189 debugging.go:130] Cache-Control: no-store
  11. I0211 12:43:47.946177 122189 request.go:796] Response Body: {
  12. "versions": [
  13. "v1"
  14. ]
  15. }
  16. I0211 12:43:47.947908 122189 loader.go:241] Config loaded from file /root/.kube/config
  17. I0211 12:43:47.949383 122189 loader.go:241] Config loaded from file /root/.kube/config
  18. I0211 12:43:47.949676 122189 debugging.go:102] curl -k -v -XGET -H "User-Agent: oc/v1.1.1.1 (linux/amd64) openshift/ce0e67f" -H "Authorization: Bearer ILwAwKbQLucVlE_knLasNyvkn95UzPBAmJ5kN80uem0" https://master.paas.pp.sd.lbn.fr:8443/oapi
  19. I0211 12:43:47.957157 122189 debugging.go:121] GET https://master.paas.pp.sd.lbn.fr:8443/oapi 200 OK in 7 milliseconds
  20. I0211 12:43:47.957173 122189 debugging.go:127] Response Headers:
  21. I0211 12:43:47.957179 122189 debugging.go:130] Cache-Control: no-store
  22. I0211 12:43:47.957185 122189 debugging.go:130] Content-Type: application/json
  23. I0211 12:43:47.957190 122189 debugging.go:130] Date: Thu, 11 Feb 2016 12:43:47 GMT
  24. I0211 12:43:47.957195 122189 debugging.go:130] Content-Length: 32
  25. I0211 12:43:47.957208 122189 request.go:796] Response Body: {
  26. "versions": [
  27. "v1"
  28. ]
  29. }
  30. I0211 12:43:47.960529 122189 loader.go:241] Config loaded from file /root/.kube/config
  31. I0211 12:43:47.961952 122189 loader.go:241] Config loaded from file /root/.kube/config
  32. I0211 12:43:47.962187 122189 debugging.go:102] curl -k -v -XGET -H "User-Agent: oc/v1.1.1.1 (linux/amd64) openshift/ce0e67f" -H "Authorization: Bearer ILwAwKbQLucVlE_knLasNyvkn95UzPBAmJ5kN80uem0" https://master.paas.pp.sd.lbn.fr:8443/oapi/v1/namespaces/fvi/deploymentconfigs/sample-phpinfo
  33. I0211 12:43:47.964725 122189 debugging.go:121] GET https://master.paas.pp.sd.lbn.fr:8443/oapi/v1/namespaces/fvi/deploymentconfigs/sample-phpinfo 200 OK in 2 milliseconds
  34. I0211 12:43:47.964753 122189 debugging.go:127] Response Headers:
  35. I0211 12:43:47.964760 122189 debugging.go:130] Cache-Control: no-store
  36. I0211 12:43:47.964765 122189 debugging.go:130] Content-Type: application/json
  37. I0211 12:43:47.964771 122189 debugging.go:130] Date: Thu, 11 Feb 2016 12:43:47 GMT
  38. I0211 12:43:47.964776 122189 debugging.go:130] Content-Length: 1148
  39. I0211 12:43:47.964852 122189 request.go:796] Response Body: {"kind":"DeploymentConfig","apiVersion":"v1","metadata":{"name":"sample-phpinfo","namespace":"fvi","selfLink":"/oapi/v1/namespaces/fvi/deploymentconfigs/sample-phpinfo","uid":"d2530112-d0bc-11e5-95b4-0626b2f0dbaf","resourceVersion":"517224","creationTimestamp":"2016-02-11T12:41:50Z"},"spec":{"strategy":{"type":"Rolling","rollingParams":{"updatePeriodSeconds":1,"intervalSeconds":1,"timeoutSeconds":600,"maxUnavailable":"25%","maxSurge":"25%"},"resources":{}},"triggers":[],"replicas":5,"selector":{"name":"sample-phpinfo"},"template":{"metadata":{"creationTimestamp":null,"labels":{"name":"sample-phpinfo"}},"spec":{"containers":[{"name":"sample-phpinfo","image":"sample-phpinfo","ports":[{"containerPort":9000,"protocol":"TCP"}],"resources":{},"livenessProbe":{"tcpSocket":{"port":9000},"initialDelaySeconds":30,"timeoutSeconds":1},"readinessProbe":{"tcpSocket":{"port":9000},"initialDelaySeconds":30,"timeoutSeconds":1},"terminationMessagePath":"/dev/termination-log","imagePullPolicy":"IfNotPresent"}],"restartPolicy":"Always","terminationGracePeriodSeconds":30,"dnsPolicy":"ClusterFirst","securityContext":{}}}},"status":{"latestVersion":1}}
  40. I0211 12:43:47.965598 122189 debugging.go:102] curl -k -v -XGET -H "User-Agent: oc/v1.1.0 (linux/amd64) kubernetes/4c8e6f4" -H "Authorization: Bearer ILwAwKbQLucVlE_knLasNyvkn95UzPBAmJ5kN80uem0" https://master.paas.pp.sd.lbn.fr:8443/api/v1/namespaces/fvi/replicationcontrollers/sample-phpinfo-1
  41. I0211 12:43:47.967932 122189 debugging.go:121] GET https://master.paas.pp.sd.lbn.fr:8443/api/v1/namespaces/fvi/replicationcontrollers/sample-phpinfo-1 200 OK in 2 milliseconds
  42. I0211 12:43:47.967948 122189 debugging.go:127] Response Headers:
  43. I0211 12:43:47.967954 122189 debugging.go:130] Date: Thu, 11 Feb 2016 12:43:47 GMT
  44. I0211 12:43:47.967959 122189 debugging.go:130] Cache-Control: no-store
  45. I0211 12:43:47.967964 122189 debugging.go:130] Content-Type: application/json
  46. I0211 12:43:47.967982 122189 request.go:796] Response Body: {"kind":"ReplicationController","apiVersion":"v1","metadata":{"name":"sample-phpinfo-1","namespace":"fvi","selfLink":"/api/v1/namespaces/fvi/replicationcontrollers/sample-phpinfo-1","uid":"f2c2d51f-d0bc-11e5-95b4-0626b2f0dbaf","resourceVersion":"517293","generation":2,"creationTimestamp":"2016-02-11T12:42:44Z","labels":{"openshift.io/deployment-config.name":"sample-phpinfo"},"annotations":{"kubectl.kubernetes.io/desired-replicas":"5","openshift.io/deployer-pod.name":"sample-phpinfo-1-deploy","openshift.io/deployment-config.latest-version":"1","openshift.io/deployment-config.name":"sample-phpinfo","openshift.io/deployment.cancelled":"true","openshift.io/deployment.phase":"Failed","openshift.io/deployment.replicas":"0","openshift.io/deployment.status-reason":"The deployment was cancelled by the user","openshift.io/encoded-deployment-config":"{\"kind\":\"DeploymentConfig\",\"apiVersion\":\"v1\",\"metadata\":{\"name\":\"sample-phpinfo\",\"namespace\":\"fvi\",\"selfLink\":\"/oapi/v1/namespaces/fvi/deploymentconfigs/sample-phpinfo\",\"uid\":\"d2530112-d0bc-11e5-95b4-0626b2f0dbaf\",\"resourceVersion\":\"517224\",\"creationTimestamp\":\"2016-02-11T12:41:50Z\"},\"spec\":{\"strategy\":{\"type\":\"Rolling\",\"rollingParams\":{\"updatePeriodSeconds\":1,\"intervalSeconds\":1,\"timeoutSeconds\":600,\"maxUnavailable\":\"25%\",\"maxSurge\":\"25%\"},\"resources\":{}},\"triggers\":[],\"replicas\":5,\"selector\":{\"name\":\"sample-phpinfo\"},\"template\":{\"metadata\":{\"creationTimestamp\":null,\"labels\":{\"name\":\"sample-phpinfo\"}},\"spec\":{\"containers\":[{\"name\":\"sample-phpinfo\",\"image\":\"sample-phpinfo\",\"ports\":[{\"containerPort\":9000,\"protocol\":\"TCP\"}],\"resources\":{},\"livenessProbe\":{\"tcpSocket\":{\"port\":9000},\"initialDelaySeconds\":30,\"timeoutSeconds\":1},\"readinessProbe\":{\"tcpSocket\":{\"port\":9000},\"initialDelaySeconds\":30,\"timeoutSeconds\":1},\"terminationMessagePath\":\"/dev/termination-log\",\"imagePullPolicy\":\"IfNotPresent\"}],\"restartPolicy\":\"Always\",\"terminationGracePeriodSeconds\":30,\"dnsPolicy\":\"ClusterFirst\",\"securityContext\":{}}}},\"status\":{\"latestVersion\":1}}\n"}},"spec":{"replicas":1,"selector":{"deployment":"sample-phpinfo-1","deploymentconfig":"sample-phpinfo","name":"sample-phpinfo"},"template":{"metadata":{"creationTimestamp":null,"labels":{"deployment":"sample-phpinfo-1","deploymentconfig":"sample-phpinfo","name":"sample-phpinfo"},"annotations":{"openshift.io/deployment-config.latest-version":"1","openshift.io/deployment-config.name":"sample-phpinfo","openshift.io/deployment.name":"sample-phpinfo-1"}},"spec":{"containers":[{"name":"sample-phpinfo","image":"sample-phpinfo","ports":[{"containerPort":9000,"protocol":"TCP"}],"resources":{},"livenessProbe":{"tcpSocket":{"port":9000},"initialDelaySeconds":30,"timeoutSeconds":1},"readinessProbe":{"tcpSocket":{"port":9000},"initialDelaySeconds":30,"timeoutSeconds":1},"terminationMessagePath":"/dev/termination-log","imagePullPolicy":"IfNotPresent"}],"restartPolicy":"Always","terminationGracePeriodSeconds":30,"dnsPolicy":"ClusterFirst","securityContext":{}}}},"status":{"replicas":1,"observedGeneration":2}}
  47. I0211 12:43:47.969328 122189 request.go:543] Request Body: {"kind":"DeploymentConfig","apiVersion":"v1","metadata":{"name":"sample-phpinfo","namespace":"fvi","selfLink":"/oapi/v1/namespaces/fvi/deploymentconfigs/sample-phpinfo","uid":"d2530112-d0bc-11e5-95b4-0626b2f0dbaf","resourceVersion":"517224","creationTimestamp":"2016-02-11T12:41:50Z"},"spec":{"strategy":{"type":"Rolling","rollingParams":{"updatePeriodSeconds":1,"intervalSeconds":1,"timeoutSeconds":600,"maxUnavailable":"25%","maxSurge":"25%"},"resources":{}},"triggers":[],"replicas":5,"selector":{"name":"sample-phpinfo"},"template":{"metadata":{"creationTimestamp":null,"labels":{"name":"sample-phpinfo"}},"spec":{"containers":[{"name":"sample-phpinfo","image":"sample-phpinfo","ports":[{"containerPort":9000,"protocol":"TCP"}],"resources":{},"livenessProbe":{"tcpSocket":{"port":9000},"initialDelaySeconds":30,"timeoutSeconds":1},"readinessProbe":{"tcpSocket":{"port":9000},"initialDelaySeconds":30,"timeoutSeconds":1},"terminationMessagePath":"/dev/termination-log","imagePullPolicy":"IfNotPresent"}],"restartPolicy":"Always","terminationGracePeriodSeconds":30,"dnsPolicy":"ClusterFirst","securityContext":{}}}},"status":{"latestVersion":2}}
  48. I0211 12:43:47.969375 122189 debugging.go:102] curl -k -v -XPUT -H "User-Agent: oc/v1.1.1.1 (linux/amd64) openshift/ce0e67f" -H "Authorization: Bearer ILwAwKbQLucVlE_knLasNyvkn95UzPBAmJ5kN80uem0" https://master.paas.pp.sd.lbn.fr:8443/oapi/v1/namespaces/fvi/deploymentconfigs/sample-phpinfo
  49. I0211 12:43:47.976100 122189 debugging.go:121] PUT https://master.paas.pp.sd.lbn.fr:8443/oapi/v1/namespaces/fvi/deploymentconfigs/sample-phpinfo 200 OK in 6 milliseconds
  50. I0211 12:43:47.976123 122189 debugging.go:127] Response Headers:
  51. I0211 12:43:47.976129 122189 debugging.go:130] Cache-Control: no-store
  52. I0211 12:43:47.976135 122189 debugging.go:130] Content-Type: application/json
  53. I0211 12:43:47.976140 122189 debugging.go:130] Date: Thu, 11 Feb 2016 12:43:47 GMT
  54. I0211 12:43:47.976145 122189 debugging.go:130] Content-Length: 1148
  55. I0211 12:43:47.976239 122189 request.go:796] Response Body: {"kind":"DeploymentConfig","apiVersion":"v1","metadata":{"name":"sample-phpinfo","namespace":"fvi","selfLink":"/oapi/v1/namespaces/fvi/deploymentconfigs/sample-phpinfo","uid":"d2530112-d0bc-11e5-95b4-0626b2f0dbaf","resourceVersion":"517303","creationTimestamp":"2016-02-11T12:41:50Z"},"spec":{"strategy":{"type":"Rolling","rollingParams":{"updatePeriodSeconds":1,"intervalSeconds":1,"timeoutSeconds":600,"maxUnavailable":"25%","maxSurge":"25%"},"resources":{}},"triggers":[],"replicas":5,"selector":{"name":"sample-phpinfo"},"template":{"metadata":{"creationTimestamp":null,"labels":{"name":"sample-phpinfo"}},"spec":{"containers":[{"name":"sample-phpinfo","image":"sample-phpinfo","ports":[{"containerPort":9000,"protocol":"TCP"}],"resources":{},"livenessProbe":{"tcpSocket":{"port":9000},"initialDelaySeconds":30,"timeoutSeconds":1},"readinessProbe":{"tcpSocket":{"port":9000},"initialDelaySeconds":30,"timeoutSeconds":1},"terminationMessagePath":"/dev/termination-log","imagePullPolicy":"IfNotPresent"}],"restartPolicy":"Always","terminationGracePeriodSeconds":30,"dnsPolicy":"ClusterFirst","securityContext":{}}}},"status":{"latestVersion":2}}
  56. Started deployment #2
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement