Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Registry Logs
- ====================================================================
- date
- Thu Oct 20 13:37:34 EDT 2016
- [root@rhel7 wordpress-demo]# oc deploy wordpress --latest -n wordpress
- Started deployment #1
- Use 'oc logs -f dc/wordpress' to track its progress.
- [root@rhel7 wordpress-demo]# oc logs -f dc/wordpress
- --> Scaling wordpress-1 to 1
- --> Waiting up to 10m0s for pods in deployment wordpress-1 to become ready
- ^C
- [root@rhel7 wordpress-demo]# ^C
- [root@rhel7 wordpress-demo]# ^C
- [root@rhel7 wordpress-demo]# oc get pods
- NAME READY STATUS RESTARTS AGE
- mysql-aflpt 1/1 Running 0 2m
- wordpress-1-5nt1i 0/1 ErrImagePull 0 11s
- wordpress-1-deploy 1/1 Running 0 14s
- [root@rhel7 wordpress-demo]# oc describe pod wordpress-1-5nt1i
- Name: wordpress-1-5nt1i
- Namespace: wordpress
- Security Policy: restricted
- Node: rhel7.dc2.crunchtools.com/192.168.122.74
- Start Time: Thu, 20 Oct 2016 13:37:42 -0400
- Labels: deployment=wordpress-1
- deploymentconfig=wordpress
- name=wordpress
- Status: Pending
- IP: 10.1.0.5
- Controllers: ReplicationController/wordpress-1
- Containers:
- wordpress:
- Container ID:
- Image: operations/wordpress:latest
- Image ID:
- Port: 8080/TCP
- State: Waiting
- Reason: ErrImagePull
- Ready: False
- Restart Count: 0
- Volume Mounts:
- /var/run/secrets/kubernetes.io/serviceaccount from default-token-yrw5n (ro)
- /var/www/html from wordpress-persistent-storage (rw)
- Environment Variables:
- WORDPRESS_DB_USER: pizza
- WORDPRESS_DB_PASSWORD: pizza
- WORDPRESS_DB_NAME: wp_db
- WORDPRESS_DB_HOST: mysql
- AUTH_KEY:
- SECURE_AUTH_KEY:
- LOGGED_IN_KEY:
- NONCE_KEY:
- AUTH_SALT:
- SECURE_AUTH_SALT:
- LOGGED_IN_SALT:
- NONCE_SALT:
- Conditions:
- Type Status
- Initialized True
- Ready False
- PodScheduled True
- Volumes:
- wordpress-persistent-storage:
- Type: PersistentVolumeClaim (a reference to a PersistentVolumeClaim in the same namespace)
- ClaimName: claim-wp
- ReadOnly: false
- default-token-yrw5n:
- Type: Secret (a volume populated by a Secret)
- SecretName: default-token-yrw5n
- QoS Tier: BestEffort
- Events:
- FirstSeen LastSeen Count From SubobjectPath Type Reason Message
- --------- -------- ----- ---- ------------- -------- ------ -------
- 37s 37s 1 {default-scheduler } Normal Scheduled Successfully assigned wordpress-1-5nt1i to rhel7.dc2.crunchtools.com
- 35s 19s 2 {kubelet rhel7.dc2.crunchtools.com} spec.containers{wordpress} Normal Pulling pulling image "operations/wordpress:latest"
- 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
- 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"
- 32s 3s 2 {kubelet rhel7.dc2.crunchtools.com} spec.containers{wordpress} Normal BackOff Back-off pulling image "operations/wordpress:latest"
- 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\""
- [root@rhel7 wordpress-demo]# oc get pod wordpress-1-5nt1i -o json
- {
- "kind": "Pod",
- "apiVersion": "v1",
- "metadata": {
- "name": "wordpress-1-5nt1i",
- "generateName": "wordpress-1-",
- "namespace": "wordpress",
- "selfLink": "/api/v1/namespaces/wordpress/pods/wordpress-1-5nt1i",
- "uid": "e78db9b2-96eb-11e6-8333-525400453f35",
- "resourceVersion": "36218",
- "creationTimestamp": "2016-10-20T17:37:42Z",
- "labels": {
- "deployment": "wordpress-1",
- "deploymentconfig": "wordpress",
- "name": "wordpress"
- },
- "annotations": {
- "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",
- "openshift.io/deployment-config.latest-version": "1",
- "openshift.io/deployment-config.name": "wordpress",
- "openshift.io/deployment.name": "wordpress-1",
- "openshift.io/scc": "restricted"
- }
- },
- "spec": {
- "volumes": [
- {
- "name": "wordpress-persistent-storage",
- "persistentVolumeClaim": {
- "claimName": "claim-wp"
- }
- },
- {
- "name": "default-token-yrw5n",
- "secret": {
- "secretName": "default-token-yrw5n"
- }
- }
- ],
- "containers": [
- {
- "name": "wordpress",
- "image": "operations/wordpress:latest",
- "ports": [
- {
- "name": "wordpress",
- "containerPort": 8080,
- "protocol": "TCP"
- }
- ],
- "env": [
- {
- "name": "WORDPRESS_DB_USER",
- "value": "pizza"
- },
- {
- "name": "WORDPRESS_DB_PASSWORD",
- "value": "pizza"
- },
- {
- "name": "WORDPRESS_DB_NAME",
- "value": "wp_db"
- },
- {
- "name": "WORDPRESS_DB_HOST",
- "value": "mysql"
- },
- {
- "name": "AUTH_KEY"
- },
- {
- "name": "SECURE_AUTH_KEY"
- },
- {
- "name": "LOGGED_IN_KEY"
- },
- {
- "name": "NONCE_KEY"
- },
- {
- "name": "AUTH_SALT"
- },
- {
- "name": "SECURE_AUTH_SALT"
- },
- {
- "name": "LOGGED_IN_SALT"
- },
- {
- "name": "NONCE_SALT"
- }
- ],
- "resources": {},
- "volumeMounts": [
- {
- "name": "wordpress-persistent-storage",
- "mountPath": "/var/www/html"
- },
- {
- "name": "default-token-yrw5n",
- "readOnly": true,
- "mountPath": "/var/run/secrets/kubernetes.io/serviceaccount"
- }
- ],
- "terminationMessagePath": "/dev/termination-log",
- "imagePullPolicy": "Always",
- "securityContext": {
- "capabilities": {
- "drop": [
- "KILL",
- "MKNOD",
- "SETGID",
- "SETUID",
- "SYS_CHROOT"
- ]
- },
- "privileged": false,
- "seLinuxOptions": {
- "level": "s0:c8,c2"
- },
- "runAsUser": 1000060000
- }
- }
- ],
- "restartPolicy": "Always",
- "terminationGracePeriodSeconds": 30,
- "dnsPolicy": "ClusterFirst",
- "host": "rhel7.dc2.crunchtools.com",
- "serviceAccountName": "default",
- "serviceAccount": "default",
- "nodeName": "rhel7.dc2.crunchtools.com",
- "securityContext": {
- "seLinuxOptions": {
- "level": "s0:c8,c2"
- },
- "fsGroup": 1000060000
- },
- "imagePullSecrets": [
- {
- "name": "default-dockercfg-5y7md"
- }
- ]
- },
- "status": {
- "phase": "Pending",
- "conditions": [
- {
- "type": "Initialized",
- "status": "True",
- "lastProbeTime": null,
- "lastTransitionTime": "2016-10-20T17:37:42Z"
- },
- {
- "type": "Ready",
- "status": "False",
- "lastProbeTime": null,
- "lastTransitionTime": "2016-10-20T17:37:42Z",
- "reason": "ContainersNotReady",
- "message": "containers with unready status: [wordpress]"
- },
- {
- "type": "PodScheduled",
- "status": "True",
- "lastProbeTime": null,
- "lastTransitionTime": "2016-10-20T17:37:42Z"
- }
- ],
- "hostIP": "192.168.122.74",
- "podIP": "10.1.0.5",
- "startTime": "2016-10-20T17:37:42Z",
- "containerStatuses": [
- {
- "name": "wordpress",
- "state": {
- "waiting": {
- "reason": "ErrImagePull",
- "message": "Error: image operations/wordpress not found"
- }
- },
- "lastState": {},
- "ready": false,
- "restartCount": 0,
- "image": "operations/wordpress:latest",
- "imageID": ""
- }
- ]
- }
- }
- Registry Logs
- ====================================================================
- oc logs docker-registry-2-mj9kv
- 10.1.0.1 - - [20/Oct/2016:13:36:57 -0400] "GET /healthz HTTP/1.1" 200 0 "" "Go-http-client/1.1"
- 10.1.0.1 - - [20/Oct/2016:13:36:57 -0400] "GET /healthz HTTP/1.1" 200 0 "" "Go-http-client/1.1"
- 10.1.0.1 - - [20/Oct/2016:13:37:07 -0400] "GET /healthz HTTP/1.1" 200 0 "" "Go-http-client/1.1"
- 10.1.0.1 - - [20/Oct/2016:13:37:07 -0400] "GET /healthz HTTP/1.1" 200 0 "" "Go-http-client/1.1"
- 10.1.0.1 - - [20/Oct/2016:13:37:17 -0400] "GET /healthz HTTP/1.1" 200 0 "" "Go-http-client/1.1"
- 10.1.0.1 - - [20/Oct/2016:13:37:17 -0400] "GET /healthz HTTP/1.1" 200 0 "" "Go-http-client/1.1"
- 10.1.0.1 - - [20/Oct/2016:13:37:27 -0400] "GET /healthz HTTP/1.1" 200 0 "" "Go-http-client/1.1"
- 10.1.0.1 - - [20/Oct/2016:13:37:27 -0400] "GET /healthz HTTP/1.1" 200 0 "" "Go-http-client/1.1"
- 10.1.0.1 - - [20/Oct/2016:13:37:37 -0400] "GET /healthz HTTP/1.1" 200 0 "" "Go-http-client/1.1"
- 10.1.0.1 - - [20/Oct/2016:13:37:37 -0400] "GET /healthz HTTP/1.1" 200 0 "" "Go-http-client/1.1"
- 10.1.0.1 - - [20/Oct/2016:13:37:47 -0400] "GET /healthz HTTP/1.1" 200 0 "" "Go-http-client/1.1"
- 10.1.0.1 - - [20/Oct/2016:13:37:47 -0400] "GET /healthz HTTP/1.1" 200 0 "" "Go-http-client/1.1"
- 10.1.0.1 - - [20/Oct/2016:13:37:57 -0400] "GET /healthz HTTP/1.1" 200 0 "" "Go-http-client/1.1"
- 10.1.0.1 - - [20/Oct/2016:13:37:57 -0400] "GET /healthz HTTP/1.1" 200 0 "" "Go-http-client/1.1"
- 10.1.0.1 - - [20/Oct/2016:13:38:07 -0400] "GET /healthz HTTP/1.1" 200 0 "" "Go-http-client/1.1"
- 10.1.0.1 - - [20/Oct/2016:13:38:07 -0400] "GET /healthz HTTP/1.1" 200 0 "" "Go-http-client/1.1"
- 10.1.0.1 - - [20/Oct/2016:13:38:17 -0400] "GET /healthz HTTP/1.1" 200 0 "" "Go-http-client/1.1"
- 10.1.0.1 - - [20/Oct/2016:13:38:17 -0400] "GET /healthz HTTP/1.1" 200 0 "" "Go-http-client/1.1"
- 10.1.0.1 - - [20/Oct/2016:13:38:27 -0400] "GET /healthz HTTP/1.1" 200 0 "" "Go-http-client/1.1"
- 10.1.0.1 - - [20/Oct/2016:13:38:27 -0400] "GET /healthz HTTP/1.1" 200 0 "" "Go-http-client/1.1"
- 10.1.0.1 - - [20/Oct/2016:13:38:37 -0400] "GET /healthz HTTP/1.1" 200 0 "" "Go-http-client/1.1"
- 10.1.0.1 - - [20/Oct/2016:13:38:37 -0400] "GET /healthz HTTP/1.1" 200 0 "" "Go-http-client/1.1"
- 10.1.0.1 - - [20/Oct/2016:13:38:47 -0400] "GET /healthz HTTP/1.1" 200 0 "" "Go-http-client/1.1"
- 10.1.0.1 - - [20/Oct/2016:13:38:47 -0400] "GET /healthz HTTP/1.1" 200 0 "" "Go-http-client/1.1"
- 10.1.0.1 - - [20/Oct/2016:13:38:57 -0400] "GET /healthz HTTP/1.1" 200 0 "" "Go-http-client/1.1"
- 10.1.0.1 - - [20/Oct/2016:13:38:57 -0400] "GET /healthz HTTP/1.1" 200 0 "" "Go-http-client/1.1"
- 10.1.0.1 - - [20/Oct/2016:13:39:07 -0400] "GET /healthz HTTP/1.1" 200 0 "" "Go-http-client/1.1"
- 10.1.0.1 - - [20/Oct/2016:13:39:07 -0400] "GET /healthz HTTP/1.1" 200 0 "" "Go-http-client/1.1"
- 10.1.0.1 - - [20/Oct/2016:13:39:17 -0400] "GET /healthz HTTP/1.1" 200 0 "" "Go-http-client/1.1"
- 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