Advertisement
panzon

Untitled

Aug 31st, 2016
93
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 10.12 KB | None | 0 0
  1. [root@ip-172-31-44-67 ec2-user]# oc get events --namespace=cluster-project
  2. FIRSTSEEN LASTSEEN COUNT NAME KIND SUBOBJECT TYPE REASON SOURCE MESSAGE
  3. 3m 3m 1 cakephp-example-1-build Pod Normal Scheduled {default-scheduler } Successfully assigned cakephp-example-1-build to ip-172-31-36-130.us-west-2.compute.internal
  4. 3m 3m 1 cakephp-example-1-build Pod spec.containers{sti-build} Normal Pulled {kubelet ip-172-31-36-130.us-west-2.compute.internal} Container image "openshift3/ose-sti-builder:v3.2.1.13" already present on machine
  5. 3m 3m 1 cakephp-example-1-build Pod spec.containers{sti-build} Normal Created {kubelet ip-172-31-36-130.us-west-2.compute.internal} Created container with docker id a88e3c24e61b
  6. 3m 3m 1 cakephp-example-1-build Pod spec.containers{sti-build} Normal Started {kubelet ip-172-31-36-130.us-west-2.compute.internal} Started container with docker id a88e3c24e61b
  7. [root@ip-172-31-44-67 ec2-user]# oc logs cakephp-example-1-build --namespace=cluster-project
  8. I0831 11:18:15.262544 1 builder.go:57] Master version "v3.2.1.13-1-gc2a90e1", Builder version "v3.2.1.13-1-gc2a90e1"
  9. I0831 11:18:15.269166 1 builder.go:145] Running build with cgroup limits: api.CGroupLimits{MemoryLimitBytes:92233720368547, CPUShares:2, CPUPeriod:100000, CPUQuota:-1, MemorySwap:92233720368547}
  10. I0831 11:18:15.275140 1 sti.go:206] The value of ALLOWED_UIDS is [1-]
  11. I0831 11:18:15.275164 1 sti.go:214] The value of DROP_CAPS is [KILL,MKNOD,SETGID,SETUID,SYS_CHROOT]
  12. I0831 11:18:15.279229 1 docker.go:355] Using locally available image "registry.access.redhat.com/rhscl/php-56-rhel7@sha256:56645fb7d190ee9a98a5c6119bd03c782fd7c18095bad0f522190c1aea5cff4f"
  13. I0831 11:18:15.280726 1 sti.go:233] Creating a new S2I builder with build config: "Builder Name:\t\t\tApache 2.4 with PHP 5.6\nBuilder Image:\t\t\tregistry.access.redhat.com/rhscl/php-56-rhel7@sha256:56645fb7d190ee9a98a5c6119bd03c782fd7c18095bad0f522190c1aea5cff4f\nSource:\t\t\t\tfile:///tmp/s2i-build799300163/upload/src\nOutput Image Tag:\t\tcluster-project/cakephp-example-1:f7c54042\nEnvironment:\t\t\tOPENSHIFT_BUILD_NAME=cakephp-example-1,OPENSHIFT_BUILD_NAMESPACE=cluster-project,OPENSHIFT_BUILD_SOURCE=https://github.com/openshift/cakephp-ex.git,COMPOSER_MIRROR=\nIncremental Build:\t\tdisabled\nRemove Old Build:\t\tdisabled\nBuilder Pull Policy:\t\tif-not-present\nPrevious Image Pull Policy:\talways\nQuiet:\t\t\t\tdisabled\nLayered Build:\t\t\tdisabled\nWorkdir:\t\t\t/tmp/s2i-build799300163\nDocker NetworkMode:\t\tcontainer:a88e3c24e61b534dcaeb45e4b4a35d27fb69b498b8e6d13ba018eb0871c0f92b\nDocker Endpoint:\t\tunix:///var/run/docker.sock\n"
  14. I0831 11:18:15.282257 1 docker.go:355] Using locally available image "registry.access.redhat.com/rhscl/php-56-rhel7@sha256:56645fb7d190ee9a98a5c6119bd03c782fd7c18095bad0f522190c1aea5cff4f"
  15. I0831 11:18:15.288309 1 docker.go:355] Using locally available image "registry.access.redhat.com/rhscl/php-56-rhel7@sha256:56645fb7d190ee9a98a5c6119bd03c782fd7c18095bad0f522190c1aea5cff4f"
  16. I0831 11:18:15.288333 1 docker.go:475] Image contains io.openshift.s2i.scripts-url set to 'image:///usr/libexec/s2i'
  17. I0831 11:18:15.288368 1 sti.go:140] Preparing to build cluster-project/cakephp-example-1:f7c54042
  18. I0831 11:18:15.294990 1 source.go:197] Downloading "https://github.com/openshift/cakephp-ex.git" ...
  19. I0831 11:18:16.266893 1 source.go:208] Cloning source from https://github.com/openshift/cakephp-ex.git
  20. I0831 11:18:18.482886 1 install.go:251] Using "assemble" installed from "<source-dir>/.s2i/bin/assemble"
  21. I0831 11:18:18.482933 1 install.go:251] Using "run" installed from "image:///usr/libexec/s2i/run"
  22. I0831 11:18:18.482955 1 install.go:251] Using "save-artifacts" installed from "image:///usr/libexec/s2i/save-artifacts"
  23. I0831 11:18:18.482981 1 sti.go:152] Clean build will be performed
  24. I0831 11:18:18.482993 1 sti.go:155] Performing source build from file:///tmp/s2i-build799300163/upload/src
  25. I0831 11:18:18.482998 1 sti.go:166] Running "assemble" in "cluster-project/cakephp-example-1:f7c54042"
  26. I0831 11:18:18.483010 1 sti.go:441] Using image name registry.access.redhat.com/rhscl/php-56-rhel7@sha256:56645fb7d190ee9a98a5c6119bd03c782fd7c18095bad0f522190c1aea5cff4f
  27. I0831 11:18:18.483027 1 sti.go:445] No user environment provided (no environment file found in application sources)
  28. I0831 11:18:18.483085 1 sti.go:547] starting the source uploading ...
  29. I0831 11:18:18.485073 1 docker.go:520] Both scripts and untarred source will be placed in '/tmp'
  30. I0831 11:18:18.485094 1 docker.go:599] Creating container with options {Name:"" Config:&{Hostname: Domainname: User: Memory:0 MemorySwap:0 MemoryReservation:0 KernelMemory:0 CPUShares:0 CPUSet: AttachStdin:false AttachStdout:true AttachStderr:false PortSpecs:[] ExposedPorts:map[] StopSignal: Tty:false OpenStdin:true StdinOnce:true Env:[OPENSHIFT_BUILD_NAME=cakephp-example-1 OPENSHIFT_BUILD_NAMESPACE=cluster-project OPENSHIFT_BUILD_SOURCE=https://github.com/openshift/cakephp-ex.git COMPOSER_MIRROR=] Cmd:[/bin/sh -c tar -C /tmp -xf - && /tmp/scripts/assemble] DNS:[] Image:registry.access.redhat.com/rhscl/php-56-rhel7@sha256:56645fb7d190ee9a98a5c6119bd03c782fd7c18095bad0f522190c1aea5cff4f Volumes:map[] VolumeDriver: VolumesFrom: WorkingDir: MacAddress: Entrypoint:[] NetworkDisabled:false SecurityOpts:[] OnBuild:[] Mounts:[] Labels:map[]} HostConfig:&{Binds:[] CapAdd:[] CapDrop:[KILL MKNOD SETGID SETUID SYS_CHROOT] GroupAdd:[] ContainerIDFile: LxcConf:[] Privileged:false PortBindings:map[] Links:[] PublishAllPorts:false DNS:[] DNSOptions:[] DNSSearch:[] ExtraHosts:[] VolumesFrom:[] NetworkMode:container:a88e3c24e61b534dcaeb45e4b4a35d27fb69b498b8e6d13ba018eb0871c0f92b IpcMode: PidMode: UTSMode: RestartPolicy:{Name: MaximumRetryCount:0} Devices:[] LogConfig:{Type: Config:map[]} ReadonlyRootfs:false SecurityOpt:[] CgroupParent: Memory:92233720368547 MemorySwap:92233720368547 MemorySwappiness:0 OOMKillDisable:false CPUShares:2 CPUSet: CPUSetCPUs: CPUSetMEMs: CPUQuota:-1 CPUPeriod:100000 BlkioWeight:0 Ulimits:[] VolumeDriver: OomScoreAdj:0}} ...
  31. I0831 11:18:19.140321 1 docker.go:622] Attaching to container "5dad19342b45b067600dfe2e02578b7079f2d754551c4a5c63a5786294b8d049" ...
  32. I0831 11:18:19.140521 1 docker.go:631] Starting container "5dad19342b45b067600dfe2e02578b7079f2d754551c4a5c63a5786294b8d049" ...
  33. ---> Installing application source...
  34. I0831 11:18:22.858269 1 docker.go:689] Invoking postExecution function
  35. I0831 11:18:22.858305 1 sti.go:289] No user environment provided (no environment file found in application sources)
  36. E0831 11:18:22.858359 1 sti.go:571] Error reading docker stdout, EOF
  37. I0831 11:18:22.861376 1 docker.go:734] Committing container with dockerOpts: {Container:5dad19342b45b067600dfe2e02578b7079f2d754551c4a5c63a5786294b8d049 Repository:cluster-project/cakephp-example-1 Tag:f7c54042 Message: Author: Run:0xc20843e380}, config: {Hostname: Domainname: User:1001 Memory:0 MemorySwap:0 MemoryReservation:0 KernelMemory:0 CPUShares:0 CPUSet: AttachStdin:false AttachStdout:false AttachStderr:false PortSpecs:[] ExposedPorts:map[] StopSignal: Tty:false OpenStdin:false StdinOnce:false Env:[OPENSHIFT_BUILD_NAME=cakephp-example-1 OPENSHIFT_BUILD_NAMESPACE=cluster-project OPENSHIFT_BUILD_SOURCE=https://github.com/openshift/cakephp-ex.git COMPOSER_MIRROR=] Cmd:[/usr/libexec/s2i/run] DNS:[] Image: Volumes:map[] VolumeDriver: VolumesFrom: WorkingDir: MacAddress: Entrypoint:[] NetworkDisabled:false SecurityOpts:[] OnBuild:[] Mounts:[] Labels:map[com.redhat.build-host:rcm-img-docker02.build.eng.bos.redhat.com Version:5.6 io.openshift.build.source-location:https://github.com/openshift/cakephp-ex.git io.openshift.build.image:registry.access.redhat.com/rhscl/php-56-rhel7@sha256:56645fb7d190ee9a98a5c6119bd03c782fd7c18095bad0f522190c1aea5cff4f io.openshift.build.commit.date:Mon Aug 22 14:44:49 2016 -0400 Name:rhscl/php-56-rhel7 vcs-type:git io.openshift.build.commit.message:Merge pull request #42 from bparees/recreate io.openshift.build.commit.author:Ben Parees <bparees@users.noreply.github.com> vcs-ref:8632002e36f813df2d8ae0f5b3d46c8f38925fd6 io.openshift.tags:builder,php,php56,rh-php56 io.k8s.description:Platform for building and running PHP 5.6 applications distribution-scope:public io.s2i.scripts-url:image:///usr/libexec/s2i BZComponent:rh-php56-docker Release:14.6 io.openshift.s2i.scripts-url:image:///usr/libexec/s2i build-date:2016-07-28T06:01:48.139691Z io.k8s.display-name:cluster-project/cakephp-example-1:f7c54042 io.openshift.expose-services:8080:http io.openshift.build.commit.ref:master Vendor:Red Hat, Inc. Build_Host:rcm-img-docker02.build.eng.bos.redhat.com Architecture:x86_64 Authoritative_Registry:registry.access.redhat.com io.openshift.build.commit.id:701d706b7f2b50ee972d0bf76990042f6c0cda5c architecture:x86_64]}
  38. I0831 11:18:28.684950 1 sti.go:334] Successfully built cluster-project/cakephp-example-1:f7c54042
  39. I0831 11:18:28.709706 1 cleanup.go:23] Removing temporary directory /tmp/s2i-build799300163
  40. I0831 11:18:28.709731 1 fs.go:156] Removing directory '/tmp/s2i-build799300163'
  41. I0831 11:18:28.748102 1 sti.go:268] Using provided push secret for pushing 172.30.196.46:5000/cluster-project/cakephp-example:latest image
  42. I0831 11:18:28.748123 1 sti.go:272] Pushing 172.30.196.46:5000/cluster-project/cakephp-example:latest image ...
  43. I0831 11:19:19.079916 1 sti.go:277] Registry server Address:
  44. I0831 11:19:19.079935 1 sti.go:278] Registry server User Name: serviceaccount
  45. I0831 11:19:19.079942 1 sti.go:279] Registry server Email: serviceaccount@example.org
  46. I0831 11:19:19.079948 1 sti.go:284] Registry server Password: <<non-empty>>
  47. F0831 11:19:19.080222 1 builder.go:204] Error: build error: Failed to push image. Response from registry is: Received unexpected HTTP status: 500 Internal Server Error
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement