Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- $ oc rollback dc/database --loglevel=8
- I0720 08:34:50.379490 16032 loader.go:330] Config loaded from file /data/src/github.com/openshift/origin/openshift.local.config/master/admin.kubeconfig
- I0720 08:34:50.391143 16032 round_trippers.go:296] GET https://10.0.2.15:8443/oapi
- I0720 08:34:50.391451 16032 round_trippers.go:303] Request Headers:
- I0720 08:34:50.391973 16032 round_trippers.go:306] User-Agent: oc/v1.3.0 (linux/amd64) openshift/5fd1268
- I0720 08:34:50.392429 16032 round_trippers.go:306] Authorization: Bearer 9qnOGx-ef-OtcKQ1uuNfI0B2B2VN6O5pGEVsKc6Yqfc
- I0720 08:34:50.392766 16032 round_trippers.go:306] Accept: application/json, */*
- I0720 08:34:50.447875 16032 round_trippers.go:321] Response Status: 200 OK in 53 milliseconds
- I0720 08:34:50.447902 16032 round_trippers.go:324] Response Headers:
- I0720 08:34:50.447905 16032 round_trippers.go:327] Cache-Control: no-store
- I0720 08:34:50.448065 16032 round_trippers.go:327] Content-Type: application/json
- I0720 08:34:50.448072 16032 round_trippers.go:327] Date: Wed, 20 Jul 2016 08:34:50 GMT
- I0720 08:34:50.448076 16032 round_trippers.go:327] Content-Length: 93
- I0720 08:34:50.449560 16032 request.go:891] Response Body: {"kind":"APIVersions","apiVersion":"v1","versions":["v1"],"serverAddressByClientCIDRs":null}
- I0720 08:34:50.453538 16032 cached_discovery.go:80] returning cached discovery info from /home/vagrant/.kube/10.0.2.15_8443/servergroups.json
- I0720 08:34:50.454343 16032 cached_discovery.go:38] returning cached discovery info from /home/vagrant/.kube/10.0.2.15_8443/autoscaling/v1/serverresources.json
- I0720 08:34:50.454676 16032 cached_discovery.go:38] returning cached discovery info from /home/vagrant/.kube/10.0.2.15_8443/batch/v1/serverresources.json
- I0720 08:34:50.455081 16032 cached_discovery.go:38] returning cached discovery info from /home/vagrant/.kube/10.0.2.15_8443/extensions/v1beta1/serverresources.json
- I0720 08:34:50.455502 16032 cached_discovery.go:38] returning cached discovery info from /home/vagrant/.kube/10.0.2.15_8443/v1/serverresources.json
- I0720 08:34:50.464260 16032 round_trippers.go:296] GET https://10.0.2.15:8443/api
- I0720 08:34:50.464883 16032 round_trippers.go:303] Request Headers:
- I0720 08:34:50.465244 16032 round_trippers.go:306] Accept: application/json, */*
- I0720 08:34:50.465502 16032 round_trippers.go:306] User-Agent: oc/v1.3.0+57fb9ac (linux/amd64) kubernetes/57fb9ac
- I0720 08:34:50.465732 16032 round_trippers.go:306] Authorization: Bearer 9qnOGx-ef-OtcKQ1uuNfI0B2B2VN6O5pGEVsKc6Yqfc
- I0720 08:34:50.467481 16032 round_trippers.go:321] Response Status: 200 OK in 1 milliseconds
- I0720 08:34:50.468135 16032 round_trippers.go:324] Response Headers:
- I0720 08:34:50.468198 16032 round_trippers.go:327] Cache-Control: no-store
- I0720 08:34:50.468225 16032 round_trippers.go:327] Content-Type: application/json
- I0720 08:34:50.468244 16032 round_trippers.go:327] Date: Wed, 20 Jul 2016 08:34:50 GMT
- I0720 08:34:50.468263 16032 round_trippers.go:327] Content-Length: 131
- I0720 08:34:50.468335 16032 request.go:891] Response Body: {"kind":"APIVersions","versions":["v1"],"serverAddressByClientCIDRs":[{"clientCIDR":"0.0.0.0/0","serverAddress":"10.0.2.15:443"}]}
- I0720 08:34:50.468599 16032 round_trippers.go:296] GET https://10.0.2.15:8443/apis
- I0720 08:34:50.468648 16032 round_trippers.go:303] Request Headers:
- I0720 08:34:50.468671 16032 round_trippers.go:306] User-Agent: oc/v1.3.0+57fb9ac (linux/amd64) kubernetes/57fb9ac
- I0720 08:34:50.468693 16032 round_trippers.go:306] Authorization: Bearer 9qnOGx-ef-OtcKQ1uuNfI0B2B2VN6O5pGEVsKc6Yqfc
- I0720 08:34:50.468715 16032 round_trippers.go:306] Accept: application/json, */*
- I0720 08:34:50.470358 16032 round_trippers.go:321] Response Status: 200 OK in 1 milliseconds
- I0720 08:34:50.470458 16032 round_trippers.go:324] Response Headers:
- I0720 08:34:50.470480 16032 round_trippers.go:327] Content-Type: application/json
- I0720 08:34:50.470510 16032 round_trippers.go:327] Date: Wed, 20 Jul 2016 08:34:50 GMT
- I0720 08:34:50.470528 16032 round_trippers.go:327] Content-Length: 763
- I0720 08:34:50.470545 16032 round_trippers.go:327] Cache-Control: no-store
- I0720 08:34:50.470607 16032 request.go:891] Response Body: {"kind":"APIGroupList","groups":[{"name":"autoscaling","versions":[{"groupVersion":"autoscaling/v1","version":"v1"}],"preferredVersion":{"groupVersion":"autoscaling/v1","version":"v1"},"serverAddressByClientCIDRs":[{"clientCIDR":"0.0.0.0/0","serverAddress":"10.0.2.15:443"}]},{"name":"batch","versions":[{"groupVersion":"batch/v1","version":"v1"}],"preferredVersion":{"groupVersion":"batch/v1","version":"v1"},"serverAddressByClientCIDRs":[{"clientCIDR":"0.0.0.0/0","serverAddress":"10.0.2.15:443"}]},{"name":"extensions","versions":[{"groupVersion":"extensions/v1beta1","version":"v1beta1"}],"preferredVersion":{"groupVersion":"extensions/v1beta1","version":"v1beta1"},"serverAddressByClientCIDRs":[{"clientCIDR":"0.0.0.0/0","serverAddress":"10.0.2.15:443"}]}]}
- I0720 08:34:50.476767 16032 cached_discovery.go:80] returning cached discovery info from /home/vagrant/.kube/10.0.2.15_8443/servergroups.json
- I0720 08:34:50.477443 16032 cached_discovery.go:38] returning cached discovery info from /home/vagrant/.kube/10.0.2.15_8443/autoscaling/v1/serverresources.json
- I0720 08:34:50.477868 16032 cached_discovery.go:38] returning cached discovery info from /home/vagrant/.kube/10.0.2.15_8443/batch/v1/serverresources.json
- I0720 08:34:50.478458 16032 cached_discovery.go:38] returning cached discovery info from /home/vagrant/.kube/10.0.2.15_8443/extensions/v1beta1/serverresources.json
- I0720 08:34:50.480187 16032 cached_discovery.go:38] returning cached discovery info from /home/vagrant/.kube/10.0.2.15_8443/v1/serverresources.json
- I0720 08:34:50.483327 16032 round_trippers.go:296] GET https://10.0.2.15:8443/oapi/v1/namespaces/user/deploymentconfigs/database
- I0720 08:34:50.483574 16032 round_trippers.go:303] Request Headers:
- I0720 08:34:50.483914 16032 round_trippers.go:306] Accept: application/json, */*
- I0720 08:34:50.484247 16032 round_trippers.go:306] User-Agent: oc/v1.3.0 (linux/amd64) openshift/5fd1268
- I0720 08:34:50.484515 16032 round_trippers.go:306] Authorization: Bearer 9qnOGx-ef-OtcKQ1uuNfI0B2B2VN6O5pGEVsKc6Yqfc
- I0720 08:34:50.487093 16032 round_trippers.go:321] Response Status: 200 OK in 2 milliseconds
- I0720 08:34:50.487132 16032 round_trippers.go:324] Response Headers:
- I0720 08:34:50.487138 16032 round_trippers.go:327] Cache-Control: no-store
- I0720 08:34:50.487142 16032 round_trippers.go:327] Content-Type: application/json
- I0720 08:34:50.487146 16032 round_trippers.go:327] Date: Wed, 20 Jul 2016 08:34:50 GMT
- I0720 08:34:50.487150 16032 round_trippers.go:327] Content-Length: 2028
- I0720 08:34:50.487224 16032 request.go:891] Response Body: {"kind":"DeploymentConfig","apiVersion":"v1","metadata":{"name":"database","namespace":"user","selfLink":"/oapi/v1/namespaces/user/deploymentconfigs/database","uid":"45c48ce7-4e4e-11e6-8b14-080027242396","resourceVersion":"1026","creationTimestamp":"2016-07-20T07:47:56Z","labels":{"template":"application-template-stibuild"},"annotations":{"openshift.io/deployment.cancelled":"1"}},"spec":{"strategy":{"type":"Recreate","recreateParams":{"timeoutSeconds":600,"pre":{"failurePolicy":"Abort","execNewPod":{"command":["/bin/true"],"env":[{"name":"CUSTOM_VAR1","value":"custom_value1"}],"containerName":"ruby-helloworld-database","volumes":["ruby-helloworld-data"]}},"mid":{"failurePolicy":"Abort","execNewPod":{"command":["/bin/true"],"env":[{"name":"CUSTOM_VAR2","value":"custom_value2"}],"containerName":"ruby-helloworld-database","volumes":["ruby-helloworld-data"]}},"post":{"failurePolicy":"Ignore","execNewPod":{"command":["/bin/false"],"env":[{"name":"CUSTOM_VAR2","value":"custom_value2"}],"containerName":"ruby-helloworld-database","volumes":["ruby-helloworld-data"]}}},"resources":{}},"triggers":[{"type":"ConfigChange"}],"replicas":1,"test":false,"selector":{"name":"database"},"template":{"metadata":{"creationTimestamp":null,"labels":{"name":"database"}},"spec":{"volumes":[{"name":"ruby-helloworld-data","emptyDir":{}}],"containers":[{"name":"ruby-helloworld-database","image":"openshift/mysql-55-centos7:latest","ports":[{"containerPort":3306,"protocol":"TCP"}],"env":[{"name":"MYSQL_USER","value":"userE3K"},{"name":"MYSQL_PASSWORD","value":"GdNdcg8x"},{"name":"MYSQL_DATABASE","value":"root"}],"resources":{},"volumeMounts":[{"name":"ruby-helloworld-data","mountPath":"/var/lib/mysql/data"}],"terminationMessagePath":"/dev/termination-log","imagePullPolicy":"Always","securityContext":{"capabilities":{},"privileged":false}}],"restartPolicy":"Always","terminationGracePeriodSeconds":30,"dnsPolicy":"ClusterFirst","securityContext":{}}}},"status":{"latestVersion":4,"details":{"causes":[{"type":"ConfigChange"}]}}}
- I0720 08:34:50.493002 16032 round_trippers.go:296] GET https://10.0.2.15:8443/api/v1/namespaces/user/replicationcontrollers?labelSelector=openshift.io%2Fdeployment-config.name%3Ddatabase
- I0720 08:34:50.493040 16032 round_trippers.go:303] Request Headers:
- I0720 08:34:50.493055 16032 round_trippers.go:306] Accept: application/json, */*
- I0720 08:34:50.493067 16032 round_trippers.go:306] User-Agent: oc/v1.3.0+57fb9ac (linux/amd64) kubernetes/57fb9ac
- I0720 08:34:50.493078 16032 round_trippers.go:306] Authorization: Bearer 9qnOGx-ef-OtcKQ1uuNfI0B2B2VN6O5pGEVsKc6Yqfc
- I0720 08:34:50.497786 16032 round_trippers.go:321] Response Status: 200 OK in 4 milliseconds
- I0720 08:34:50.497846 16032 round_trippers.go:324] Response Headers:
- I0720 08:34:50.497860 16032 round_trippers.go:327] Date: Wed, 20 Jul 2016 08:34:50 GMT
- I0720 08:34:50.497873 16032 round_trippers.go:327] Cache-Control: no-store
- I0720 08:34:50.497885 16032 round_trippers.go:327] Content-Type: application/json
- I0720 08:34:50.498021 16032 request.go:891] Response Body: {"kind":"ReplicationControllerList","apiVersion":"v1","metadata":{"selfLink":"/api/v1/namespaces/user/replicationcontrollers","resourceVersion":"1050"},"items":[{"metadata":{"name":"database-1","namespace":"user","selfLink":"/api/v1/namespaces/user/replicationcontrollers/database-1","uid":"45e55ad1-4e4e-11e6-8b14-080027242396","resourceVersion":"662","generation":3,"creationTimestamp":"2016-07-20T07:47:56Z","labels":{"openshift.io/deployment-config.name":"database","template":"application-template-stibuild"},"annotations":{"kubectl.kubernetes.io/desired-replicas":"1","openshift.io/deployer-pod.name":"database-1-deploy","openshift.io/deployment-config.latest-version":"1","openshift.io/deployment-config.name":"database","openshift.io/deployment.cancelled":"true","openshift.io/deployment.phase":"Failed","openshift.io/deployment.replicas":"0","openshift.io/deployment.status-reason":"cancelled by the user","openshift.io/encoded-deployment-config":"{\"kind\":\"DeploymentConfig\",\"apiVersion\":\"v1\",\"metadata\":{\"name\":\"database\",\"namespace\":\"user\",\"selfLink\":\"/oapi/v1/namespaces/user/deploymentconfigs/database\",\"uid\":\"45c48ce7-4e4e-11e6-8b14-080027242396\",\"resourceVersion\":\"432\",\"creationTimestamp\":\"2016-07-20T07:47:56Z\",\"labels\":{\"template\":\"application-template-stibuild\"}},\"spec\":{\"strategy\":{\"type\":\"Recreate\",\"recreateParams\":{\"timeoutSeconds\":600,\"pre\":{\"failurePolicy\":\"Abort\",\"execNewPod\":{\"command\":[\"/bin/true\"],\"env\":[{\"name\":\"CUSTOM_VAR1\",\"value\":\"custom_value1\"}],\"containerName\":\"ruby-helloworld-database\",\"volumes\":[\"ruby-helloworld-data\"]}},\"mid\":{\"failurePolicy\":\"Abort\",\"execNewPod\":{\"command\":[\"/bin/true\"],\"env\":[{\"name\":\"CUSTOM_VAR2\",\"value\":\"custom_value2\"}],\"containerName\":\"ruby-helloworld-database\",\"volumes\":[\"ruby-helloworld-data\"]}},\"post\":{\"failurePolicy\":\"Ignore\",\"execNewPod\":{\"command\":[\"/bin/false\"],\"env\":[{\"name\":\"CUSTOM_VAR2\",\"value\":\"custom_value2\"}],\"containerName\":\"ruby-helloworld-database\",\"volumes\":[\"ruby-helloworld-data\"]}}},\"resources\":{}},\"triggers\":[{\"type\":\"ConfigChange\"}],\"replicas\":1,\"test\":false,\"selector\":{\"name\":\"database\"},\"template\":{\"metadata\":{\"creationTimestamp\":null,\"labels\":{\"name\":\"database\"}},\"spec\":{\"volumes\":[{\"name\":\"ruby-helloworld-data\",\"emptyDir\":{}}],\"containers\":[{\"name\":\"ruby-helloworld-database\",\"image\":\"openshift/mysql-55-centos7:latest\",\"ports\":[{\"containerPort\":3306,\"protocol\":\"TCP\"}],\"env\":[{\"name\":\"MYSQL_USER\",\"value\":\"userE3K\"},{\"name\":\"MYSQL_PASSWORD\",\"value\":\"GdNdcg8x\"},{\"name\":\"MYSQL_DATABASE\",\"value\":\"root\"}],\"resources\":{},\"volumeMounts\":[{\"name\":\"ruby-helloworld-data\",\"mountPath\":\"/var/lib/mysql/data\"}],\"terminationMessagePath\":\"/dev/termination-log\",\"imagePullPolicy\":\"Always\",\"securityContext\":{\"capabilities\":{},\"privileged\":false}}],\"restartPolicy\":\"Always\",\"terminationGracePeriodSeconds\":30,\"dnsPolicy\":\"ClusterFirst\",\"securityContext\":{}}}},\"status\":{\"latestVersion\":1,\"details\":{\"causes\":[{\"type\":\"ConfigChange\"}]}}}\n"}},"spec":{"replicas":0,"selector":{"deployment":"database-1","deploymentconfig":"database","name":"database"},"template":{"metadata":{"creationTimestamp":null,"labels":{"deployment":"database-1","deploymentconfig":"database","name":"database"},"annotations":{"openshift.io/deployment-config.latest-version":"1","openshift.io/deployment-config.name":"database","openshift.io/deployment.name":"database-1"}},"spec":{"volumes":[{"name":"ruby-helloworld-data","emptyDir":{}}],"containers":[{"name":"ruby-helloworld-database","image":"openshift/mysql-55-centos7:latest","ports":[{"containerPort":3306,"protocol":"TCP"}],"env":[{"name":"MYSQL_USER","value":"userE3K"},{"name":"MYSQL_PASSWORD","value":"GdNdcg8x"},{"name":"MYSQL_DATABASE","value":"root"}],"resources":{},"volumeMounts":[{"name":"ruby-helloworld-data","mountPath":"/var/lib/mysql/data"}],"terminationMessagePath":"/dev/termination-log","imagePullPolicy":"Always","securityContext":{"capabilities":{},"privileged":false}}],"restartPolicy":"Always","terminationGracePeriodSeconds":30,"dnsPolicy":"ClusterFirst","securityContext":{}}}},"status":{"replicas":0,"observedGeneration":3}},{"metadata":{"name":"database-2","namespace":"user","selfLink":"/api/v1/namespaces/user/replicationcontrollers/database-2","uid":"c49739c9-4e4f-11e6-8b14-080027242396","resourceVersion":"902","generation":3,"creationTimestamp":"2016-07-20T07:58:38Z","labels":{"openshift.io/deployment-config.name":"database","template":"application-template-stibuild"},"annotations":{"openshift.io/deployer-pod.name":"database-2-deploy","openshift.io/deployment-config.latest-version":"2","openshift.io/deployment-config.name":"database","openshift.io/deployment.phase":"Complete","openshift.io/deployment.replicas":"0","openshift.io/encoded-deployment-config":"{\"kind\":\"DeploymentConfig\",\"apiVersion\":\"v1\",\"metadata\":{\"name\":\"database\",\"namespace\":\"user\",\"selfLink\":\"/oapi/v1/namespaces/user/deploymentconfigs/database\",\"uid\":\"45c48ce7-4e4e-11e6-8b14-080027242396\",\"resourceVersion\":\"663\",\"creationTimestamp\":\"2016-07-20T07:47:56Z\",\"labels\":{\"template\":\"application-template-stibuild\"},\"annotations\":{\"openshift.io/deployment.cancelled\":\"1\"}},\"spec\":{\"strategy\":{\"type\":\"Recreate\",\"recreateParams\":{\"timeoutSeconds\":600,\"pre\":{\"failurePolicy\":\"Abort\",\"execNewPod\":{\"command\":[\"/bin/true\"],\"env\":[{\"name\":\"CUSTOM_VAR1\",\"value\":\"custom_value1\"}],\"containerName\":\"ruby-helloworld-database\",\"volumes\":[\"ruby-helloworld-data\"]}},\"mid\":{\"failurePolicy\":\"Abort\",\"execNewPod\":{\"command\":[\"/bin/true\"],\"env\":[{\"name\":\"CUSTOM_VAR2\",\"value\":\"custom_value2\"}],\"containerName\":\"ruby-helloworld-database\",\"volumes\":[\"ruby-helloworld-data\"]}},\"post\":{\"failurePolicy\":\"Ignore\",\"execNewPod\":{\"command\":[\"/bin/false\"],\"env\":[{\"name\":\"CUSTOM_VAR2\",\"value\":\"custom_value2\"}],\"containerName\":\"ruby-helloworld-database\",\"volumes\":[\"ruby-helloworld-data\"]}}},\"resources\":{}},\"triggers\":[{\"type\":\"ConfigChange\"}],\"replicas\":1,\"test\":false,\"selector\":{\"name\":\"database\"},\"template\":{\"metadata\":{\"creationTimestamp\":null,\"labels\":{\"name\":\"database\"}},\"spec\":{\"volumes\":[{\"name\":\"ruby-helloworld-data\",\"emptyDir\":{}}],\"containers\":[{\"name\":\"ruby-helloworld-database\",\"image\":\"openshift/mysql-55-centos7:latest\",\"ports\":[{\"containerPort\":3306,\"protocol\":\"TCP\"}],\"env\":[{\"name\":\"MYSQL_USER\",\"value\":\"userE3K\"},{\"name\":\"MYSQL_PASSWORD\",\"value\":\"GdNdcg8x\"},{\"name\":\"MYSQL_DATABASE\",\"value\":\"root\"}],\"resources\":{},\"volumeMounts\":[{\"name\":\"ruby-helloworld-data\",\"mountPath\":\"/var/lib/mysql/data\"}],\"terminationMessagePath\":\"/dev/termination-log\",\"imagePullPolicy\":\"Always\",\"securityContext\":{\"capabilities\":{},\"privileged\":false}}],\"restartPolicy\":\"Always\",\"terminationGracePeriodSeconds\":30,\"dnsPolicy\":\"ClusterFirst\",\"securityContext\":{}}}},\"status\":{\"latestVersion\":2,\"details\":{\"causes\":[{\"type\":\"ConfigChange\"}]}}}\n"}},"spec":{"replicas":0,"selector":{"deployment":"database-2","deploymentconfig":"database","name":"database"},"template":{"metadata":{"creationTimestamp":null,"labels":{"deployment":"database-2","deploymentconfig":"database","name":"database"},"annotations":{"openshift.io/deployment-config.latest-version":"2","openshift.io/deployment-config.name":"database","openshift.io/deployment.name":"database-2"}},"spec":{"volumes":[{"name":"ruby-helloworld-data","emptyDir":{}}],"containers":[{"name":"ruby-helloworld-database","image":"openshift/mysql-55-centos7:latest","ports":[{"containerPort":3306,"protocol":"TCP"}],"env":[{"name":"MYSQL_USER","value":"userE3K"},{"name":"MYSQL_PASSWORD","value":"GdNdcg8x"},{"name":"MYSQL_DATABASE","value":"root"}],"resources":{},"volumeMounts":[{"name":"ruby-helloworld-data","mountPath":"/var/lib/mysql/data"}],"terminationMessagePath":"/dev/termination-log","imagePullPolicy":"Always","securityContext":{"capabilities":{},"privileged":false}}],"restartPolicy":"Always","terminationGracePeriodSeconds":30,"dnsPolicy":"ClusterFirst","securityContext":{}}}},"status":{"replicas":0,"observedGeneration":3}},{"metadata":{"name":"database-3","namespace":"user","selfLink":"/api/v1/namespaces/user/replicationcontrollers/database-3","uid":"af8fb4b2-4e51-11e6-8b14-080027242396","resourceVersion":"887","generation":2,"creationTimestamp":"2016-07-20T08:12:22Z","labels":{"openshift.io/deployment-config.name":"database","template":"application-template-stibuild"},"annotations":{"openshift.io/deployer-pod.name":"database-3-deploy","openshift.io/deployment-config.latest-version":"3","openshift.io/deployment-config.name":"database","openshift.io/deployment.phase":"Complete","openshift.io/deployment.replicas":"1","openshift.io/encoded-deployment-config":"{\"kind\":\"DeploymentConfig\",\"apiVersion\":\"v1\",\"metadata\":{\"name\":\"database\",\"namespace\":\"user\",\"selfLink\":\"/oapi/v1/namespaces/user/deploymentconfigs/database\",\"uid\":\"45c48ce7-4e4e-11e6-8b14-080027242396\",\"resourceVersion\":\"816\",\"creationTimestamp\":\"2016-07-20T07:47:56Z\",\"labels\":{\"template\":\"application-template-stibuild\"},\"annotations\":{\"openshift.io/deployment.cancelled\":\"1\"}},\"spec\":{\"strategy\":{\"type\":\"Recreate\",\"recreateParams\":{\"timeoutSeconds\":600,\"pre\":{\"failurePolicy\":\"Abort\",\"execNewPod\":{\"command\":[\"/bin/true\"],\"env\":[{\"name\":\"CUSTOM_VAR1\",\"value\":\"custom_value1\"}],\"containerName\":\"ruby-helloworld-database\",\"volumes\":[\"ruby-helloworld-data\"]}},\"mid\":{\"failurePolicy\":\"Abort\",\"execNewPod\":{\"command\":[\"/bin/true\"],\"env\":[{\"name\":\"CUSTOM_VAR2\",\"value\":\"custom_value2\"}],\"containerName\":\"ruby-helloworld-database\",\"volumes\":[\"ruby-helloworld-data\"]}},\"post\":{\"failurePolicy\":\"Ignore\",\"execNewPod\":{\"command\":[\"/bin/false\"],\"env\":[{\"name\":\"CUSTOM_VAR2\",\"value\":\"custom_value2\"}],\"containerName\":\"ruby-helloworld-database\",\"volumes\":[\"ruby-helloworld-data\"]}}},\"resources\":{}},\"triggers\":[{\"type\":\"ConfigChange\"}],\"replicas\":1,\"test\":false,\"selector\":{\"name\":\"database\"},\"template\":{\"metadata\":{\"creationTimestamp\":null,\"labels\":{\"name\":\"database\"}},\"spec\":{\"volumes\":[{\"name\":\"ruby-helloworld-data\",\"emptyDir\":{}}],\"containers\":[{\"name\":\"ruby-helloworld-database\",\"image\":\"openshift/mysql-55-centos7:latest\",\"ports\":[{\"containerPort\":3306,\"protocol\":\"TCP\"}],\"env\":[{\"name\":\"MYSQL_USER\",\"value\":\"userE3K\"},{\"name\":\"MYSQL_PASSWORD\",\"value\":\"GdNdcg8x\"},{\"name\":\"MYSQL_DATABASE\",\"value\":\"root\"}],\"resources\":{},\"volumeMounts\":[{\"name\":\"ruby-helloworld-data\",\"mountPath\":\"/var/lib/mysql/data\"}],\"terminationMessagePath\":\"/dev/termination-log\",\"imagePullPolicy\":\"Always\",\"securityContext\":{\"capabilities\":{},\"privileged\":false}}],\"restartPolicy\":\"Always\",\"terminationGracePeriodSeconds\":30,\"dnsPolicy\":\"ClusterFirst\",\"securityContext\":{}}}},\"status\":{\"latestVersion\":3,\"details\":{\"causes\":[{\"type\":\"ConfigChange\"}]}}}\n"}},"spec":{"replicas":1,"selector":{"deployment":"database-3","deploymentconfig":"database","name":"database"},"template":{"metadata":{"creationTimestamp":null,"labels":{"deployment":"database-3","deploymentconfig":"database","name":"database"},"annotations":{"openshift.io/deployment-config.latest-version":"3","openshift.io/deployment-config.name":"database","openshift.io/deployment.name":"database-3"}},"spec":{"volumes":[{"name":"ruby-helloworld-data","emptyDir":{}}],"containers":[{"name":"ruby-helloworld-database","image":"openshift/mysql-55-centos7:latest","ports":[{"containerPort":3306,"protocol":"TCP"}],"env":[{"name":"MYSQL_USER","value":"userE3K"},{"name":"MYSQL_PASSWORD","value":"GdNdcg8x"},{"name":"MYSQL_DATABASE","value":"root"}],"resources":{},"volumeMounts":[{"name":"ruby-helloworld-data","mountPath":"/var/lib/mysql/data"}],"terminationMessagePath":"/dev/termination-log","imagePullPolicy":"Always","securityContext":{"capabilities":{},"privileged":false}}],"restartPolicy":"Always","terminationGracePeriodSeconds":30,"dnsPolicy":"ClusterFirst","securityContext":{}}}},"status":{"replicas":1,"fullyLabeledReplicas":1,"observedGeneration":2}},{"metadata":{"name":"database-4","namespace":"user","selfLink":"/api/v1/namespaces/user/replicationcontrollers/database-4","uid":"cd96ed19-4e54-11e6-8b14-080027242396","resourceVersion":"1041","generation":1,"creationTimestamp":"2016-07-20T08:34:41Z","labels":{"openshift.io/deployment-config.name":"database","template":"application-template-stibuild"},"annotations":{"kubectl.kubernetes.io/desired-replicas":"1","openshift.io/deployer-pod.name":"database-4-deploy","openshift.io/deployment-config.latest-version":"4","openshift.io/deployment-config.name":"database","openshift.io/deployment.phase":"Running","openshift.io/deployment.replicas":"0","openshift.io/encoded-deployment-config":"{\"kind\":\"DeploymentConfig\",\"apiVersion\":\"v1\",\"metadata\":{\"name\":\"database\",\"namespace\":\"user\",\"selfLink\":\"/oapi/v1/namespaces/user/deploymentconfigs/database\",\"uid\":\"45c48ce7-4e4e-11e6-8b14-080027242396\",\"resourceVersion\":\"1026\",\"creationTimestamp\":\"2016-07-20T07:47:56Z\",\"labels\":{\"template\":\"application-template-stibuild\"},\"annotations\":{\"openshift.io/deployment.cancelled\":\"1\"}},\"spec\":{\"strategy\":{\"type\":\"Recreate\",\"recreateParams\":{\"timeoutSeconds\":600,\"pre\":{\"failurePolicy\":\"Abort\",\"execNewPod\":{\"command\":[\"/bin/true\"],\"env\":[{\"name\":\"CUSTOM_VAR1\",\"value\":\"custom_value1\"}],\"containerName\":\"ruby-helloworld-database\",\"volumes\":[\"ruby-helloworld-data\"]}},\"mid\":{\"failurePolicy\":\"Abort\",\"execNewPod\":{\"command\":[\"/bin/true\"],\"env\":[{\"name\":\"CUSTOM_VAR2\",\"value\":\"custom_value2\"}],\"containerName\":\"ruby-helloworld-database\",\"volumes\":[\"ruby-helloworld-data\"]}},\"post\":{\"failurePolicy\":\"Ignore\",\"execNewPod\":{\"command\":[\"/bin/false\"],\"env\":[{\"name\":\"CUSTOM_VAR2\",\"value\":\"custom_value2\"}],\"containerName\":\"ruby-helloworld-database\",\"volumes\":[\"ruby-helloworld-data\"]}}},\"resources\":{}},\"triggers\":[{\"type\":\"ConfigChange\"}],\"replicas\":1,\"test\":false,\"selector\":{\"name\":\"database\"},\"template\":{\"metadata\":{\"creationTimestamp\":null,\"labels\":{\"name\":\"database\"}},\"spec\":{\"volumes\":[{\"name\":\"ruby-helloworld-data\",\"emptyDir\":{}}],\"containers\":[{\"name\":\"ruby-helloworld-database\",\"image\":\"openshift/mysql-55-centos7:latest\",\"ports\":[{\"containerPort\":3306,\"protocol\":\"TCP\"}],\"env\":[{\"name\":\"MYSQL_USER\",\"value\":\"userE3K\"},{\"name\":\"MYSQL_PASSWORD\",\"value\":\"GdNdcg8x\"},{\"name\":\"MYSQL_DATABASE\",\"value\":\"root\"}],\"resources\":{},\"volumeMounts\":[{\"name\":\"ruby-helloworld-data\",\"mountPath\":\"/var/lib/mysql/data\"}],\"terminationMessagePath\":\"/dev/termination-log\",\"imagePullPolicy\":\"Always\",\"securityContext\":{\"capabilities\":{},\"privileged\":false}}],\"restartPolicy\":\"Always\",\"terminationGracePeriodSeconds\":30,\"dnsPolicy\":\"ClusterFirst\",\"securityContext\":{}}}},\"status\":{\"latestVersion\":4,\"details\":{\"causes\":[{\"type\":\"ConfigChange\"}]}}}\n"}},"spec":{"replicas":0,"selector":{"deployment":"database-4","deploymentconfig":"database","name":"database"},"template":{"metadata":{"creationTimestamp":null,"labels":{"deployment":"database-4","deploymentconfig":"database","name":"database"},"annotations":{"openshift.io/deployment-config.latest-version":"4","openshift.io/deployment-config.name":"database","openshift.io/deployment.name":"database-4"}},"spec":{"volumes":[{"name":"ruby-helloworld-data","emptyDir":{}}],"containers":[{"name":"ruby-helloworld-database","image":"openshift/mysql-55-centos7:latest","ports":[{"containerPort":3306,"protocol":"TCP"}],"env":[{"name":"MYSQL_USER","value":"userE3K"},{"name":"MYSQL_PASSWORD","value":"GdNdcg8x"},{"name":"MYSQL_DATABASE","value":"root"}],"resources":{},"volumeMounts":[{"name":"ruby-helloworld-data","mountPath":"/var/lib/mysql/data"}],"terminationMessagePath":"/dev/termination-log","imagePullPolicy":"Always","securityContext":{"capabilities":{},"privileged":false}}],"restartPolicy":"Always","terminationGracePeriodSeconds":30,"dnsPolicy":"ClusterFirst","securityContext":{}}}},"status":{"replicas":0,"observedGeneration":1}}]}
- I0720 08:34:50.501086 16032 request.go:558] Request Body: {"kind":"DeploymentConfigRollback","apiVersion":"v1","name":"database","spec":{"from":{"name":"database-3"},"includeTriggers":false,"includeTemplate":true,"includeReplicationMeta":false,"includeStrategy":false}}
- I0720 08:34:50.501179 16032 round_trippers.go:296] POST https://10.0.2.15:8443/oapi/v1/namespaces/user/deploymentconfigs/database/rollback
- I0720 08:34:50.501199 16032 round_trippers.go:303] Request Headers:
- I0720 08:34:50.501212 16032 round_trippers.go:306] Accept: application/json, */*
- I0720 08:34:50.501233 16032 round_trippers.go:306] Authorization: Bearer 9qnOGx-ef-OtcKQ1uuNfI0B2B2VN6O5pGEVsKc6Yqfc
- I0720 08:34:50.501252 16032 round_trippers.go:306] Content-Type: application/json
- I0720 08:34:50.501272 16032 round_trippers.go:306] User-Agent: oc/v1.3.0 (linux/amd64) openshift/5fd1268
- I0720 08:34:50.503275 16032 round_trippers.go:321] Response Status: 403 Forbidden in 1 milliseconds
- I0720 08:34:50.503591 16032 round_trippers.go:324] Response Headers:
- I0720 08:34:50.503801 16032 round_trippers.go:327] Cache-Control: no-store
- I0720 08:34:50.504086 16032 round_trippers.go:327] Content-Type: application/json
- I0720 08:34:50.504337 16032 round_trippers.go:327] Date: Wed, 20 Jul 2016 08:34:50 GMT
- I0720 08:34:50.504628 16032 round_trippers.go:327] Content-Length: 302
- I0720 08:34:50.504951 16032 request.go:891] Response Body: {
- "kind": "Status",
- "apiVersion": "v1",
- "metadata": {},
- "status": "Failure",
- "message": "User \"user\" cannot create deploymentconfigs/rollback in project \"user\"",
- "reason": "Forbidden",
- "details": {
- "name": "database",
- "kind": "deploymentconfigs/rollback"
- },
- "code": 403
- }
- I0720 08:34:50.508209 16032 request.go:558] Request Body: {"kind":"DeploymentConfigRollback","apiVersion":"v1","name":"database","spec":{"from":{"name":"database-3"},"includeTriggers":false,"includeTemplate":true,"includeReplicationMeta":false,"includeStrategy":false}}
- I0720 08:34:50.508447 16032 round_trippers.go:296] POST https://10.0.2.15:8443/oapi/v1/namespaces/user/deploymentconfigrollbacks
- I0720 08:34:50.508626 16032 round_trippers.go:303] Request Headers:
- I0720 08:34:50.508793 16032 round_trippers.go:306] User-Agent: oc/v1.3.0 (linux/amd64) openshift/5fd1268
- I0720 08:34:50.508978 16032 round_trippers.go:306] Authorization: Bearer 9qnOGx-ef-OtcKQ1uuNfI0B2B2VN6O5pGEVsKc6Yqfc
- I0720 08:34:50.509247 16032 round_trippers.go:306] Accept: application/json, */*
- I0720 08:34:50.509521 16032 round_trippers.go:306] Content-Type: application/json
- I0720 08:34:50.516560 16032 round_trippers.go:321] Response Status: 201 Created in 6 milliseconds
- I0720 08:34:50.516591 16032 round_trippers.go:324] Response Headers:
- I0720 08:34:50.516632 16032 round_trippers.go:327] Date: Wed, 20 Jul 2016 08:34:50 GMT
- I0720 08:34:50.516637 16032 round_trippers.go:327] Content-Length: 2036
- I0720 08:34:50.516641 16032 round_trippers.go:327] Cache-Control: no-store
- I0720 08:34:50.516645 16032 round_trippers.go:327] Content-Type: application/json
- I0720 08:34:50.516734 16032 request.go:891] Response Body: {"kind":"DeploymentConfig","apiVersion":"v1","metadata":{"name":"database","namespace":"user","selfLink":"/oapi/v1/namespaces/user/deploymentconfigrollbacks/database","uid":"45c48ce7-4e4e-11e6-8b14-080027242396","resourceVersion":"1026","creationTimestamp":"2016-07-20T07:47:56Z","labels":{"template":"application-template-stibuild"},"annotations":{"openshift.io/deployment.cancelled":"1"}},"spec":{"strategy":{"type":"Recreate","recreateParams":{"timeoutSeconds":600,"pre":{"failurePolicy":"Abort","execNewPod":{"command":["/bin/true"],"env":[{"name":"CUSTOM_VAR1","value":"custom_value1"}],"containerName":"ruby-helloworld-database","volumes":["ruby-helloworld-data"]}},"mid":{"failurePolicy":"Abort","execNewPod":{"command":["/bin/true"],"env":[{"name":"CUSTOM_VAR2","value":"custom_value2"}],"containerName":"ruby-helloworld-database","volumes":["ruby-helloworld-data"]}},"post":{"failurePolicy":"Ignore","execNewPod":{"command":["/bin/false"],"env":[{"name":"CUSTOM_VAR2","value":"custom_value2"}],"containerName":"ruby-helloworld-database","volumes":["ruby-helloworld-data"]}}},"resources":{}},"triggers":[{"type":"ConfigChange"}],"replicas":1,"test":false,"selector":{"name":"database"},"template":{"metadata":{"creationTimestamp":null,"labels":{"name":"database"}},"spec":{"volumes":[{"name":"ruby-helloworld-data","emptyDir":{}}],"containers":[{"name":"ruby-helloworld-database","image":"openshift/mysql-55-centos7:latest","ports":[{"containerPort":3306,"protocol":"TCP"}],"env":[{"name":"MYSQL_USER","value":"userE3K"},{"name":"MYSQL_PASSWORD","value":"GdNdcg8x"},{"name":"MYSQL_DATABASE","value":"root"}],"resources":{},"volumeMounts":[{"name":"ruby-helloworld-data","mountPath":"/var/lib/mysql/data"}],"terminationMessagePath":"/dev/termination-log","imagePullPolicy":"Always","securityContext":{"capabilities":{},"privileged":false}}],"restartPolicy":"Always","terminationGracePeriodSeconds":30,"dnsPolicy":"ClusterFirst","securityContext":{}}}},"status":{"latestVersion":5,"details":{"causes":[{"type":"ConfigChange"}]}}}
- I0720 08:34:50.518986 16032 request.go:558] Request Body: {"kind":"DeploymentConfig","apiVersion":"v1","metadata":{"name":"database","namespace":"user","selfLink":"/oapi/v1/namespaces/user/deploymentconfigrollbacks/database","uid":"45c48ce7-4e4e-11e6-8b14-080027242396","resourceVersion":"1026","creationTimestamp":"2016-07-20T07:47:56Z","labels":{"template":"application-template-stibuild"},"annotations":{"openshift.io/deployment.cancelled":"1"}},"spec":{"strategy":{"type":"Recreate","recreateParams":{"timeoutSeconds":600,"pre":{"failurePolicy":"Abort","execNewPod":{"command":["/bin/true"],"env":[{"name":"CUSTOM_VAR1","value":"custom_value1"}],"containerName":"ruby-helloworld-database","volumes":["ruby-helloworld-data"]}},"mid":{"failurePolicy":"Abort","execNewPod":{"command":["/bin/true"],"env":[{"name":"CUSTOM_VAR2","value":"custom_value2"}],"containerName":"ruby-helloworld-database","volumes":["ruby-helloworld-data"]}},"post":{"failurePolicy":"Ignore","execNewPod":{"command":["/bin/false"],"env":[{"name":"CUSTOM_VAR2","value":"custom_value2"}],"containerName":"ruby-helloworld-database","volumes":["ruby-helloworld-data"]}}},"resources":{}},"triggers":[{"type":"ConfigChange"}],"replicas":1,"test":false,"selector":{"name":"database"},"template":{"metadata":{"creationTimestamp":null,"labels":{"name":"database"}},"spec":{"volumes":[{"name":"ruby-helloworld-data","emptyDir":{}}],"containers":[{"name":"ruby-helloworld-database","image":"openshift/mysql-55-centos7:latest","ports":[{"containerPort":3306,"protocol":"TCP"}],"env":[{"name":"MYSQL_USER","value":"userE3K"},{"name":"MYSQL_PASSWORD","value":"GdNdcg8x"},{"name":"MYSQL_DATABASE","value":"root"}],"resources":{},"volumeMounts":[{"name":"ruby-helloworld-data","mountPath":"/var/lib/mysql/data"}],"terminationMessagePath":"/dev/termination-log","imagePullPolicy":"Always","securityContext":{"capabilities":{},"privileged":false}}],"restartPolicy":"Always","terminationGracePeriodSeconds":30,"dnsPolicy":"ClusterFirst","securityContext":{}}}},"status":{"latestVersion":5,"details":{"causes":[{"type":"ConfigChange"}]}}}
- I0720 08:34:50.519198 16032 round_trippers.go:296] PUT https://10.0.2.15:8443/oapi/v1/namespaces/user/deploymentconfigs/database
- I0720 08:34:50.519215 16032 round_trippers.go:303] Request Headers:
- I0720 08:34:50.519228 16032 round_trippers.go:306] User-Agent: oc/v1.3.0 (linux/amd64) openshift/5fd1268
- I0720 08:34:50.519240 16032 round_trippers.go:306] Content-Type: application/json
- I0720 08:34:50.519258 16032 round_trippers.go:306] Accept: application/json, */*
- I0720 08:34:50.519331 16032 round_trippers.go:306] Authorization: Bearer 9qnOGx-ef-OtcKQ1uuNfI0B2B2VN6O5pGEVsKc6Yqfc
- I0720 08:34:50.524504 16032 round_trippers.go:321] Response Status: 200 OK in 5 milliseconds
- I0720 08:34:50.524523 16032 round_trippers.go:324] Response Headers:
- I0720 08:34:50.524528 16032 round_trippers.go:327] Date: Wed, 20 Jul 2016 08:34:50 GMT
- I0720 08:34:50.524532 16032 round_trippers.go:327] Content-Length: 2028
- I0720 08:34:50.524537 16032 round_trippers.go:327] Cache-Control: no-store
- I0720 08:34:50.524541 16032 round_trippers.go:327] Content-Type: application/json
- I0720 08:34:50.524600 16032 request.go:891] Response Body: {"kind":"DeploymentConfig","apiVersion":"v1","metadata":{"name":"database","namespace":"user","selfLink":"/oapi/v1/namespaces/user/deploymentconfigs/database","uid":"45c48ce7-4e4e-11e6-8b14-080027242396","resourceVersion":"1051","creationTimestamp":"2016-07-20T07:47:56Z","labels":{"template":"application-template-stibuild"},"annotations":{"openshift.io/deployment.cancelled":"1"}},"spec":{"strategy":{"type":"Recreate","recreateParams":{"timeoutSeconds":600,"pre":{"failurePolicy":"Abort","execNewPod":{"command":["/bin/true"],"env":[{"name":"CUSTOM_VAR1","value":"custom_value1"}],"containerName":"ruby-helloworld-database","volumes":["ruby-helloworld-data"]}},"mid":{"failurePolicy":"Abort","execNewPod":{"command":["/bin/true"],"env":[{"name":"CUSTOM_VAR2","value":"custom_value2"}],"containerName":"ruby-helloworld-database","volumes":["ruby-helloworld-data"]}},"post":{"failurePolicy":"Ignore","execNewPod":{"command":["/bin/false"],"env":[{"name":"CUSTOM_VAR2","value":"custom_value2"}],"containerName":"ruby-helloworld-database","volumes":["ruby-helloworld-data"]}}},"resources":{}},"triggers":[{"type":"ConfigChange"}],"replicas":1,"test":false,"selector":{"name":"database"},"template":{"metadata":{"creationTimestamp":null,"labels":{"name":"database"}},"spec":{"volumes":[{"name":"ruby-helloworld-data","emptyDir":{}}],"containers":[{"name":"ruby-helloworld-database","image":"openshift/mysql-55-centos7:latest","ports":[{"containerPort":3306,"protocol":"TCP"}],"env":[{"name":"MYSQL_USER","value":"userE3K"},{"name":"MYSQL_PASSWORD","value":"GdNdcg8x"},{"name":"MYSQL_DATABASE","value":"root"}],"resources":{},"volumeMounts":[{"name":"ruby-helloworld-data","mountPath":"/var/lib/mysql/data"}],"terminationMessagePath":"/dev/termination-log","imagePullPolicy":"Always","securityContext":{"capabilities":{},"privileged":false}}],"restartPolicy":"Always","terminationGracePeriodSeconds":30,"dnsPolicy":"ClusterFirst","securityContext":{}}}},"status":{"latestVersion":5,"details":{"causes":[{"type":"ConfigChange"}]}}}
- #5 rolled back to database-3
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement