Advertisement
Guest User

Untitled

a guest
Oct 20th, 2016
100
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 12.94 KB | None | 0 0
  1. Registry Logs
  2. ====================================================================
  3. date
  4. Thu Oct 20 13:37:34 EDT 2016
  5. [root@rhel7 wordpress-demo]# oc deploy wordpress --latest -n wordpress
  6. Started deployment #1
  7. Use 'oc logs -f dc/wordpress' to track its progress.
  8. [root@rhel7 wordpress-demo]# oc logs -f dc/wordpress
  9. --> Scaling wordpress-1 to 1
  10. --> Waiting up to 10m0s for pods in deployment wordpress-1 to become ready
  11. ^C
  12. [root@rhel7 wordpress-demo]# ^C
  13. [root@rhel7 wordpress-demo]# ^C
  14. [root@rhel7 wordpress-demo]# oc get pods
  15. NAME READY STATUS RESTARTS AGE
  16. mysql-aflpt 1/1 Running 0 2m
  17. wordpress-1-5nt1i 0/1 ErrImagePull 0 11s
  18. wordpress-1-deploy 1/1 Running 0 14s
  19. [root@rhel7 wordpress-demo]# oc describe pod wordpress-1-5nt1i
  20. Name: wordpress-1-5nt1i
  21. Namespace: wordpress
  22. Security Policy: restricted
  23. Node: rhel7.dc2.crunchtools.com/192.168.122.74
  24. Start Time: Thu, 20 Oct 2016 13:37:42 -0400
  25. Labels: deployment=wordpress-1
  26. deploymentconfig=wordpress
  27. name=wordpress
  28. Status: Pending
  29. IP: 10.1.0.5
  30. Controllers: ReplicationController/wordpress-1
  31. Containers:
  32. wordpress:
  33. Container ID:
  34. Image: operations/wordpress:latest
  35. Image ID:
  36. Port: 8080/TCP
  37. State: Waiting
  38. Reason: ErrImagePull
  39. Ready: False
  40. Restart Count: 0
  41. Volume Mounts:
  42. /var/run/secrets/kubernetes.io/serviceaccount from default-token-yrw5n (ro)
  43. /var/www/html from wordpress-persistent-storage (rw)
  44. Environment Variables:
  45. WORDPRESS_DB_USER: pizza
  46. WORDPRESS_DB_PASSWORD: pizza
  47. WORDPRESS_DB_NAME: wp_db
  48. WORDPRESS_DB_HOST: mysql
  49. AUTH_KEY:
  50. SECURE_AUTH_KEY:
  51. LOGGED_IN_KEY:
  52. NONCE_KEY:
  53. AUTH_SALT:
  54. SECURE_AUTH_SALT:
  55. LOGGED_IN_SALT:
  56. NONCE_SALT:
  57. Conditions:
  58. Type Status
  59. Initialized True
  60. Ready False
  61. PodScheduled True
  62. Volumes:
  63. wordpress-persistent-storage:
  64. Type: PersistentVolumeClaim (a reference to a PersistentVolumeClaim in the same namespace)
  65. ClaimName: claim-wp
  66. ReadOnly: false
  67. default-token-yrw5n:
  68. Type: Secret (a volume populated by a Secret)
  69. SecretName: default-token-yrw5n
  70. QoS Tier: BestEffort
  71. Events:
  72. FirstSeen LastSeen Count From SubobjectPath Type Reason Message
  73. --------- -------- ----- ---- ------------- -------- ------ -------
  74. 37s 37s 1 {default-scheduler } Normal Scheduled Successfully assigned wordpress-1-5nt1i to rhel7.dc2.crunchtools.com
  75. 35s 19s 2 {kubelet rhel7.dc2.crunchtools.com} spec.containers{wordpress} Normal Pulling pulling image "operations/wordpress:latest"
  76. 33s 16s 2 {kubelet rhel7.dc2.crunchtools.com} spec.containers{wordpress} Warning Failed Failed to pull image "operations/wordpress:latest": Error: image operations/wordpress not found
  77. 33s 16s 2 {kubelet rhel7.dc2.crunchtools.com} Warning FailedSync Error syncing pod, skipping: failed to "StartContainer" for "wordpress" with ErrImagePull: "Error: image operations/wordpress not found"
  78.  
  79. 32s 3s 2 {kubelet rhel7.dc2.crunchtools.com} spec.containers{wordpress} Normal BackOff Back-off pulling image "operations/wordpress:latest"
  80. 32s 3s 2 {kubelet rhel7.dc2.crunchtools.com} Warning FailedSync Error syncing pod, skipping: failed to "StartContainer" for "wordpress" with ImagePullBackOff: "Back-off pulling image \"operations/wordpress:latest\""
  81.  
  82. [root@rhel7 wordpress-demo]# oc get pod wordpress-1-5nt1i -o json
  83. {
  84. "kind": "Pod",
  85. "apiVersion": "v1",
  86. "metadata": {
  87. "name": "wordpress-1-5nt1i",
  88. "generateName": "wordpress-1-",
  89. "namespace": "wordpress",
  90. "selfLink": "/api/v1/namespaces/wordpress/pods/wordpress-1-5nt1i",
  91. "uid": "e78db9b2-96eb-11e6-8333-525400453f35",
  92. "resourceVersion": "36218",
  93. "creationTimestamp": "2016-10-20T17:37:42Z",
  94. "labels": {
  95. "deployment": "wordpress-1",
  96. "deploymentconfig": "wordpress",
  97. "name": "wordpress"
  98. },
  99. "annotations": {
  100. "kubernetes.io/created-by": "{\"kind\":\"SerializedReference\",\"apiVersion\":\"v1\",\"reference\":{\"kind\":\"ReplicationController\",\"namespace\":\"wordpress\",\"name\":\"wordpress-1\",\"uid\":\"e56f1d58-96eb-11e6-8333-525400453f35\",\"apiVersion\":\"v1\",\"resourceVersion\":\"36175\"}}\n",
  101. "openshift.io/deployment-config.latest-version": "1",
  102. "openshift.io/deployment-config.name": "wordpress",
  103. "openshift.io/deployment.name": "wordpress-1",
  104. "openshift.io/scc": "restricted"
  105. }
  106. },
  107. "spec": {
  108. "volumes": [
  109. {
  110. "name": "wordpress-persistent-storage",
  111. "persistentVolumeClaim": {
  112. "claimName": "claim-wp"
  113. }
  114. },
  115. {
  116. "name": "default-token-yrw5n",
  117. "secret": {
  118. "secretName": "default-token-yrw5n"
  119. }
  120. }
  121. ],
  122. "containers": [
  123. {
  124. "name": "wordpress",
  125. "image": "operations/wordpress:latest",
  126. "ports": [
  127. {
  128. "name": "wordpress",
  129. "containerPort": 8080,
  130. "protocol": "TCP"
  131. }
  132. ],
  133. "env": [
  134. {
  135. "name": "WORDPRESS_DB_USER",
  136. "value": "pizza"
  137. },
  138. {
  139. "name": "WORDPRESS_DB_PASSWORD",
  140. "value": "pizza"
  141. },
  142. {
  143. "name": "WORDPRESS_DB_NAME",
  144. "value": "wp_db"
  145. },
  146. {
  147. "name": "WORDPRESS_DB_HOST",
  148. "value": "mysql"
  149. },
  150. {
  151. "name": "AUTH_KEY"
  152. },
  153. {
  154. "name": "SECURE_AUTH_KEY"
  155. },
  156. {
  157. "name": "LOGGED_IN_KEY"
  158. },
  159. {
  160. "name": "NONCE_KEY"
  161. },
  162. {
  163. "name": "AUTH_SALT"
  164. },
  165. {
  166. "name": "SECURE_AUTH_SALT"
  167. },
  168. {
  169. "name": "LOGGED_IN_SALT"
  170. },
  171. {
  172. "name": "NONCE_SALT"
  173. }
  174. ],
  175. "resources": {},
  176. "volumeMounts": [
  177. {
  178. "name": "wordpress-persistent-storage",
  179. "mountPath": "/var/www/html"
  180. },
  181. {
  182. "name": "default-token-yrw5n",
  183. "readOnly": true,
  184. "mountPath": "/var/run/secrets/kubernetes.io/serviceaccount"
  185. }
  186. ],
  187. "terminationMessagePath": "/dev/termination-log",
  188. "imagePullPolicy": "Always",
  189. "securityContext": {
  190. "capabilities": {
  191. "drop": [
  192. "KILL",
  193. "MKNOD",
  194. "SETGID",
  195. "SETUID",
  196. "SYS_CHROOT"
  197. ]
  198. },
  199. "privileged": false,
  200. "seLinuxOptions": {
  201. "level": "s0:c8,c2"
  202. },
  203. "runAsUser": 1000060000
  204. }
  205. }
  206. ],
  207. "restartPolicy": "Always",
  208. "terminationGracePeriodSeconds": 30,
  209. "dnsPolicy": "ClusterFirst",
  210. "host": "rhel7.dc2.crunchtools.com",
  211. "serviceAccountName": "default",
  212. "serviceAccount": "default",
  213. "nodeName": "rhel7.dc2.crunchtools.com",
  214. "securityContext": {
  215. "seLinuxOptions": {
  216. "level": "s0:c8,c2"
  217. },
  218. "fsGroup": 1000060000
  219. },
  220. "imagePullSecrets": [
  221. {
  222. "name": "default-dockercfg-5y7md"
  223. }
  224. ]
  225. },
  226. "status": {
  227. "phase": "Pending",
  228. "conditions": [
  229. {
  230. "type": "Initialized",
  231. "status": "True",
  232. "lastProbeTime": null,
  233. "lastTransitionTime": "2016-10-20T17:37:42Z"
  234. },
  235. {
  236. "type": "Ready",
  237. "status": "False",
  238. "lastProbeTime": null,
  239. "lastTransitionTime": "2016-10-20T17:37:42Z",
  240. "reason": "ContainersNotReady",
  241. "message": "containers with unready status: [wordpress]"
  242. },
  243. {
  244. "type": "PodScheduled",
  245. "status": "True",
  246. "lastProbeTime": null,
  247. "lastTransitionTime": "2016-10-20T17:37:42Z"
  248. }
  249. ],
  250. "hostIP": "192.168.122.74",
  251. "podIP": "10.1.0.5",
  252. "startTime": "2016-10-20T17:37:42Z",
  253. "containerStatuses": [
  254. {
  255. "name": "wordpress",
  256. "state": {
  257. "waiting": {
  258. "reason": "ErrImagePull",
  259. "message": "Error: image operations/wordpress not found"
  260. }
  261. },
  262. "lastState": {},
  263. "ready": false,
  264. "restartCount": 0,
  265. "image": "operations/wordpress:latest",
  266. "imageID": ""
  267. }
  268. ]
  269. }
  270. }
  271.  
  272.  
  273.  
  274.  
  275.  
  276.  
  277.  
  278.  
  279.  
  280.  
  281. Registry Logs
  282. ====================================================================
  283. oc logs docker-registry-2-mj9kv
  284.  
  285. 10.1.0.1 - - [20/Oct/2016:13:36:57 -0400] "GET /healthz HTTP/1.1" 200 0 "" "Go-http-client/1.1"
  286. 10.1.0.1 - - [20/Oct/2016:13:36:57 -0400] "GET /healthz HTTP/1.1" 200 0 "" "Go-http-client/1.1"
  287. 10.1.0.1 - - [20/Oct/2016:13:37:07 -0400] "GET /healthz HTTP/1.1" 200 0 "" "Go-http-client/1.1"
  288. 10.1.0.1 - - [20/Oct/2016:13:37:07 -0400] "GET /healthz HTTP/1.1" 200 0 "" "Go-http-client/1.1"
  289. 10.1.0.1 - - [20/Oct/2016:13:37:17 -0400] "GET /healthz HTTP/1.1" 200 0 "" "Go-http-client/1.1"
  290. 10.1.0.1 - - [20/Oct/2016:13:37:17 -0400] "GET /healthz HTTP/1.1" 200 0 "" "Go-http-client/1.1"
  291. 10.1.0.1 - - [20/Oct/2016:13:37:27 -0400] "GET /healthz HTTP/1.1" 200 0 "" "Go-http-client/1.1"
  292. 10.1.0.1 - - [20/Oct/2016:13:37:27 -0400] "GET /healthz HTTP/1.1" 200 0 "" "Go-http-client/1.1"
  293. 10.1.0.1 - - [20/Oct/2016:13:37:37 -0400] "GET /healthz HTTP/1.1" 200 0 "" "Go-http-client/1.1"
  294. 10.1.0.1 - - [20/Oct/2016:13:37:37 -0400] "GET /healthz HTTP/1.1" 200 0 "" "Go-http-client/1.1"
  295. 10.1.0.1 - - [20/Oct/2016:13:37:47 -0400] "GET /healthz HTTP/1.1" 200 0 "" "Go-http-client/1.1"
  296. 10.1.0.1 - - [20/Oct/2016:13:37:47 -0400] "GET /healthz HTTP/1.1" 200 0 "" "Go-http-client/1.1"
  297. 10.1.0.1 - - [20/Oct/2016:13:37:57 -0400] "GET /healthz HTTP/1.1" 200 0 "" "Go-http-client/1.1"
  298. 10.1.0.1 - - [20/Oct/2016:13:37:57 -0400] "GET /healthz HTTP/1.1" 200 0 "" "Go-http-client/1.1"
  299. 10.1.0.1 - - [20/Oct/2016:13:38:07 -0400] "GET /healthz HTTP/1.1" 200 0 "" "Go-http-client/1.1"
  300. 10.1.0.1 - - [20/Oct/2016:13:38:07 -0400] "GET /healthz HTTP/1.1" 200 0 "" "Go-http-client/1.1"
  301. 10.1.0.1 - - [20/Oct/2016:13:38:17 -0400] "GET /healthz HTTP/1.1" 200 0 "" "Go-http-client/1.1"
  302. 10.1.0.1 - - [20/Oct/2016:13:38:17 -0400] "GET /healthz HTTP/1.1" 200 0 "" "Go-http-client/1.1"
  303. 10.1.0.1 - - [20/Oct/2016:13:38:27 -0400] "GET /healthz HTTP/1.1" 200 0 "" "Go-http-client/1.1"
  304. 10.1.0.1 - - [20/Oct/2016:13:38:27 -0400] "GET /healthz HTTP/1.1" 200 0 "" "Go-http-client/1.1"
  305. 10.1.0.1 - - [20/Oct/2016:13:38:37 -0400] "GET /healthz HTTP/1.1" 200 0 "" "Go-http-client/1.1"
  306. 10.1.0.1 - - [20/Oct/2016:13:38:37 -0400] "GET /healthz HTTP/1.1" 200 0 "" "Go-http-client/1.1"
  307. 10.1.0.1 - - [20/Oct/2016:13:38:47 -0400] "GET /healthz HTTP/1.1" 200 0 "" "Go-http-client/1.1"
  308. 10.1.0.1 - - [20/Oct/2016:13:38:47 -0400] "GET /healthz HTTP/1.1" 200 0 "" "Go-http-client/1.1"
  309. 10.1.0.1 - - [20/Oct/2016:13:38:57 -0400] "GET /healthz HTTP/1.1" 200 0 "" "Go-http-client/1.1"
  310. 10.1.0.1 - - [20/Oct/2016:13:38:57 -0400] "GET /healthz HTTP/1.1" 200 0 "" "Go-http-client/1.1"
  311. 10.1.0.1 - - [20/Oct/2016:13:39:07 -0400] "GET /healthz HTTP/1.1" 200 0 "" "Go-http-client/1.1"
  312. 10.1.0.1 - - [20/Oct/2016:13:39:07 -0400] "GET /healthz HTTP/1.1" 200 0 "" "Go-http-client/1.1"
  313. 10.1.0.1 - - [20/Oct/2016:13:39:17 -0400] "GET /healthz HTTP/1.1" 200 0 "" "Go-http-client/1.1"
  314. 10.1.0.1 - - [20/Oct/2016:13:39:17 -0400] "GET /healthz HTTP/1.1" 200 0 "" "Go-http-client/1.1"
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement