You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@camel.apache.org by GitBox <gi...@apache.org> on 2020/06/26 07:42:38 UTC
[GitHub] [camel-k] omarsmak opened a new issue #1571: Buildah produces "stderr: permission denied" when building an integration route with Dockerhub
omarsmak opened a new issue #1571:
URL: https://github.com/apache/camel-k/issues/1571
If we setup camel-k with docker registry enabled and default publish strategy `Buildah`, e.g:
```
kamel install --registry docker.io --organization <user-id> --registry-secret my-docker-hub-pass --force
```
Building a sample integration using the command `kamel run Sample.java --dev `, will produce the following error in buildah container:
```
~ » kubectl logs -f camel-k-kit-brqd3r6uajcveh7mvvu0-builder buildah oalsafi@LT-C02YV0PGLVDR
time="2020-06-25T16:34:33Z" level=warning msg="The cgroups manager is set to systemd but there is no systemd user session available"
time="2020-06-25T16:34:33Z" level=warning msg="For using systemd, you may need to login using an user session"
time="2020-06-25T16:34:33Z" level=warning msg="Alternatively, you can enable lingering with: `loginctl enable-linger 0` (possibly as root)"
time="2020-06-25T16:34:33Z" level=warning msg="Falling back to --cgroup-manager=cgroupfs"
STEP 1: FROM adoptopenjdk/openjdk11:slim
Getting image source signatures
Copying blob sha256:d7c3167c320d7a820935f54cf4290890ea19567da496ecf774e8773b35d5f065
Copying blob sha256:6ac240b130982ad1c3ba3188abbf18ba4e54bdd9e504ce2d5c2eff6d3e86b8dd
Copying blob sha256:53e8c97b6d35547fecc53be73da28ce825493cf8f74bc90145fd750c5b65e0ad
Copying blob sha256:50eb3dbde98c9e30f784c7b0474201f343e4df7eac61c1d1f5d29768adb6dae4
Copying blob sha256:131f805ec7fd68d45a887e2ef82de61de0247b4eb934ab03b7c933650e854baa
Copying blob sha256:322ed380e680a77f30528ba013e3a802a7b44948a0609c7d1d732dd46a9a310d
Copying blob sha256:64ac2b05b0e619c8018a97549c364f3b4f890ab309f634b6282736f90b233fb0
Copying config sha256:95d6674907be43939abb7a09d8f7e1fc23c26e5a22f5545d48d0b918b4bbaa38
Writing manifest to image destination
Storing signatures
level=error msg="Error while applying layer: ApplyLayer exit status 1 stdout: stderr: permission denied"
error creating build container: The following failures happened while trying to pull image specified by "adoptopenjdk/openjdk11:slim" based on search registries in /etc/containers/registries.conf:
* "localhost/adoptopenjdk/openjdk11:slim": Error initializing source docker://localhost/adoptopenjdk/openjdk11:slim: error pinging docker registry localhost: Get https://localhost/v2/: dial tcp 127.0.0.1:443: connect: connection refused
* "docker.io/adoptopenjdk/openjdk11:slim": Error committing the finished image: error adding layer with blob "sha256:d7c3167c320d7a820935f54cf4290890ea19567da496ecf774e8773b35d5f065": ApplyLayer exit status 1 stdout: stderr: permission denied
* "registry.fedoraproject.org/adoptopenjdk/openjdk11:slim": Error initializing source docker://registry.fedoraproject.org/adoptopenjdk/openjdk11:slim: Error reading manifest slim in registry.fedoraproject.org/adoptopenjdk/openjdk11: manifest unknown: manifest unknown
* "registry.access.redhat.com/adoptopenjdk/openjdk11:slim": Error initializing source docker://registry.access.redhat.com/adoptopenjdk/openjdk11:slim: Error reading manifest slim in registry.access.redhat.com/adoptopenjdk/openjdk11: name unknown: Repo not found
* "registry.centos.org/adoptopenjdk/openjdk11:slim": Error initializing source docker://registry.centos.org/adoptopenjdk/openjdk11:slim: Error reading manifest slim in registry.centos.org/adoptopenjdk/openjdk11: manifest unknown: manifest unknown
* "quay.io/adoptopenjdk/openjdk11:slim": Error initializing source docker://quay.io/adoptopenjdk/openjdk11:slim: Error reading manifest slim in quay.io/adoptopenjdk/openjdk11: unauthorized: access to the requested resource is not authorized
level=error msg="exit status 1"
```
Please note, I am using **Azure Kubernetes Cloud (AKS)**
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [camel-k] github-actions[bot] closed issue #1571: Buildah produces "stderr: permission denied" when building an integration route with Dockerhub
Posted by GitBox <gi...@apache.org>.
github-actions[bot] closed issue #1571:
URL: https://github.com/apache/camel-k/issues/1571
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@camel.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [camel-k] github-actions[bot] commented on issue #1571: Buildah produces "stderr: permission denied" when building an integration route with Dockerhub
Posted by GitBox <gi...@apache.org>.
github-actions[bot] commented on issue #1571:
URL: https://github.com/apache/camel-k/issues/1571#issuecomment-994158114
This issue has been automatically marked as stale due to 90 days of inactivity.
It will be closed if no further activity occurs within 15 days.
If you think that’s incorrect or the issue should never stale, please simply write any comment.
Thanks for your contributions!
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@camel.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org