Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Hello-world-nginx - in comprehensive-review lab - Push image failed thus failing pod (hello-world-nginx) creation failed #12

Open
AlphaPiyush opened this issue Aug 12, 2020 · 3 comments

Comments

@AlphaPiyush
Copy link

perl-constant-1.33-396.el8.noarch

Complete!
Updating Subscription Management repositories.
Unable to read consumer identity
Subscription Manager is operating in container mode.
This system is not registered to Red Hat Subscription Management. You can use subscription-manager to register.
16 files removed
time="2020-08-12T19:27:13Z" level=warning msg="pkg/chroot: error unmounting "/tmp/buildah600214255/mnt/rootfs": error checking if "/tmp/buildah600214255/mnt/rootfs/sys/fs/cgroup/rdma" is mounted: no such file or directory"
time="2020-08-12T19:27:13Z" level=warning msg="pkg/bind: error unmounting "/tmp/buildah600214255/mnt/rootfs": error checking if "/tmp/buildah600214255/mnt/rootfs/sys/fs/cgroup/rdma" is mounted: no such file or directory"
174f23492a65274dda5277d82958d9b81008a0c31e31541a72238c835121fdd0
STEP 3: ADD index.html /usr/share/nginx/html
d8fc5fa4451a6c5bfb9d0ff67a5658f694a2a866194c03d617bd8635ca210296
STEP 4: ADD nginxconf.sed /tmp/
e6617ac22c992d6cb8c171763eae542cbce82bd23be6abe1c6dc84c11b384419
STEP 5: RUN sed -i -f /tmp/nginxconf.sed /etc/nginx/nginx.conf
time="2020-08-12T19:27:19Z" level=warning msg="pkg/chroot: error unmounting "/tmp/buildah267903645/mnt/rootfs": error checking if "/tmp/buildah267903645/mnt/rootfs/sys/fs/cgroup/rdma" is mounted: no such file or directory"
time="2020-08-12T19:27:19Z" level=warning msg="pkg/bind: error unmounting "/tmp/buildah267903645/mnt/rootfs": error checking if "/tmp/buildah267903645/mnt/rootfs/sys/fs/cgroup/rdma" is mounted: no such file or directory"
227beedc4baabe933f7c0573a593b39012d95f20fb3fd2eb32c617666edd8215
STEP 6: RUN touch /run/nginx.pid && chgrp -R 0 /var/log/nginx /run/nginx.pid && chmod -R g+rwx /var/log/nginx /run/nginx.pid
time="2020-08-12T19:27:21Z" level=warning msg="pkg/chroot: error unmounting "/tmp/buildah288620097/mnt/rootfs": error checking if "/tmp/buildah288620097/mnt/rootfs/sys/fs/cgroup/rdma" is mounted: no such file or directory"
time="2020-08-12T19:27:21Z" level=warning msg="pkg/bind: error unmounting "/tmp/buildah288620097/mnt/rootfs": error checking if "/tmp/buildah288620097/mnt/rootfs/sys/fs/cgroup/rdma" is mounted: no such file or directory"
20aa0f073195746fc16db85c77fbf1f866a262dcf608dfc2cc87ec8ac01341c1
STEP 7: EXPOSE 8080
110be07c5d42079b36e017823719f4a42a771b08b5e86de8464197dad01da1e4
STEP 8: USER 1001
ba1f69975efca5e3e37f2af15b3780f83afadd25f95d79c72c01b9982b1c63c5
STEP 9: CMD nginx -g "daemon off;"
1c63ab4b1ce803511f071a8b75d71a2ad2818c28cd4d4868330824066fec45dd
STEP 10: ENV "OPENSHIFT_BUILD_NAME"="hello-world-nginx-1" "OPENSHIFT_BUILD_NAMESPACE"="comprehensive-review" "OPENSHIFT_BUILD_SOURCE"="https://github.com/RedhatTraining/DO280-apps" "OPENSHIFT_BUILD_COMMIT"="5343133c767fe82a780e1803ca12912d21bd2d52"
920f0ea7a6e09a071aa0d22f2a826d09baa4d983d65db8d6714ddf9dda04c1d1
STEP 11: LABEL "io.openshift.build.commit.author"="Michael Phillips \[email protected]\u003e" "io.openshift.build.commit.date"="Thu Aug 6 07:37:12 2020 -0700" "io.openshift.build.commit.id"="5343133c767fe82a780e1803ca12912d21bd2d52" "io.openshift.build.commit.message"="Merge pull request #11 from RedHatTraining/app/loadtest" "io.openshift.build.commit.ref"="master" "io.openshift.build.name"="hello-world-nginx-1" "io.openshift.build.namespace"="comprehensive-review" "io.openshift.build.source-context-dir"="hello-world-nginx" "io.openshift.build.source-location"="https://github.com/RedhatTraining/DO280-apps"
STEP 12: COMMIT temp.builder.openshift.io/comprehensive-review/hello-world-nginx-1:82545c2d
0161600e11a505bc430af8ef622d4f07b5bf534610cf145693f73497ef25be2a

Pushing image image-registry.openshift-image-registry.svc:5000/comprehensive-review/hello-world-nginx:latest ...
Getting image source signatures
Successfully pushed image-registry.openshift-image-registry.svc:5000/comprehensive-review/hello-world-nginx:latest
Warning: Push failed, retrying in 5s ...
Getting image source signatures
Successfully pushed image-registry.openshift-image-registry.svc:5000/comprehensive-review/hello-world-nginx:latest
Warning: Push failed, retrying in 5s ...
Getting image source signatures
Successfully pushed image-registry.openshift-image-registry.svc:5000/comprehensive-review/hello-world-nginx:latest
Warning: Push failed, retrying in 5s ...
Registry server Address:
Registry server User Name: serviceaccount
Registry server Email: [email protected]
Registry server Password: <>
error: build error: Failed to push image: error copying layers and metadata from "containers-storage:[overlay@/var/lib/containers/storage+/var/run/containers/storage:overlay.imagestore=/var/lib/shared]image-registry.openshift-image-registry.svc:5000/comprehensive-review/hello-world-nginx:latest" to "docker://image-registry.openshift-image-registry.svc:5000/comprehensive-review/hello-world-nginx:latest": Error trying to reuse blob sha256:c65691897a4d140d441e2024ce086de996b1c4620832b90c973db81329577274 at destination: unable to retrieve auth token: invalid username/password
[student@workstation ~]$

@svalluru
Copy link

svalluru commented Apr 21, 2022

In my case, it is failing at STEP 4: ADD nginxconf.sed /tmp/

Error: error building at STEP "ADD nginxconf.sed /tmp/": checking on sources under "/var/tmp/libpod_builder737057029/build": copier: stat: "/nginxconf.sed": no such file or directory

@svalluru
Copy link

@svalluru
Copy link

I was trying to do the exercise outside of labs

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants