boson-project / functions Goto Github PK
View Code? Open in Web Editor NEWA directory of information and resources for the Boson Project.
License: Apache License 2.0
A directory of information and resources for the Boson Project.
License: Apache License 2.0
Describe the bug
After creating the the image for the Quarkus Function accepting events. kn faas deploy fails with the error message :
. exit status 1
To Reproduce
Steps to reproduce the behavior:
Expected behavior
image should get pushed to quay.io
Screenshots
kn faas deploy -v -c
Registry for Function images: quay.io/nainaz
Namespace: nsingh
Project path (/Users/naisingh/Documents/WorkSpaces/myfunctions/testdayquarkfunction):
Building Function image:
Function image has been built, image: testdayquarkfunction
Pushing Function image to the registry:
/usr/local/bin/docker push testdayquarkfunction
The push refers to repository [docker.io/library/testdayquarkfunction]
83d85471d9f8: Preparing
82f9fb5c1cd2: Preparing
7cffc3c153c7: Preparing
7fc93d7f95e3: Preparing
adc9757997eb: Preparing
7c950d2655da: Preparing
6a2336482104: Preparing
46a41efcbd18: Preparing
97bd060e42f4: Preparing
3485805ce47c: Preparing
b0e2911c99f3: Preparing
7c950d2655da: Waiting
6a2336482104: Waiting
46a41efcbd18: Waiting
b0e2911c99f3: Waiting
3485805ce47c: Waiting
97bd060e42f4: Waiting
Error: denied: requested access to the resource is denied
. exit status 1
Desktop (please complete the following information):
Additional context
Add any other context about the problem here.
Describe the bug
For node runtime, after running kn faas build
. Running kn faas deploy
fails with
Error: knative deployer failed to wait for the service to become ready: timeout: service 'testdaynodefunc' not ready after 60 seconds
To Reproduce
Steps to reproduce the behavior:
Expected behavior
successful deploy of the function
Screenshots
Deploying Function to cluster:
Creating Knative Service: testdaynodefunc
Waiting for Knative Service to become ready
Error: knative deployer failed to wait for the service to become ready: timeout: service 'testdaynodefunc' not ready after 60 seconds
docker images | grep testday
testdayquarkfunction latest fb2b0f91d03c 40 years ago 394MB
Desktop (please complete the following information):
Additional context
Looks like push to quay.io is part of deploy step and since quay.io repo needs to be made public beforehand. This fails due to unavailability of the image.
Is your feature request related to a problem? Please describe.
It appears I'm forced to use Docker.
Describe the solution you'd like
Can you please add support for Podman. It can do Docker images but it can do more.
Describe the bug
Running:
➜ myfunc kn faas build --builder jvm
Gives me this error:
Error: executing lifecycle. This may be the result of using an untrusted builder: failed with status code: 1
output: 2020/10/29 10:55:03.837055 DEBUG: Pulling image quay.io/boson/faas-quarkus-jvm-builder:latest
latest: Pulling from boson/faas-quarkus-jvm-builder
Digest: sha256:0e679564e76dd8372d7f9eb1eee32c122488a60e9ce96a10c1a9c717d248ea29
Status: Image is up to date for quay.io/boson/faas-quarkus-jvm-builder:latest
2020/10/29 10:55:06.585786 DEBUG: Selected run image quay.io/boson/faas-stack-run:quarkus-jvm-v0.4.0
2020/10/29 10:55:08.462691 DEBUG: Pulling image quay.io/boson/faas-stack-run:quarkus-jvm-v0.4.0
quarkus-jvm-v0.4.0: Pulling from boson/faas-stack-run
Digest: sha256:daf9aad634f3890f15e10d65e9a79d4570f77f9bf39dd99d3ecdf95e7cdca249
Status: Image is up to date for quay.io/boson/faas-stack-run:quarkus-jvm-v0.4.0
2020/10/29 10:55:11.183190 DEBUG: Creating builder with the following buildpacks:
2020/10/29 10:55:11.183197 DEBUG: -> [email protected]
2020/10/29 10:55:14.598319 DEBUG: Pulling image buildpacksio/lifecycle:0.9.1
0.9.1: Pulling from buildpacksio/lifecycle
Digest: sha256:53bf0e18a734e0c4071aa39b950ed8841f82936e53fb2a0df56c6aa07f9c5023
Status: Image is up to date for buildpacksio/lifecycle:0.9.1
2020/10/29 10:55:18.299632 DEBUG: Using build cache volume pack-cache-304bfe1a6217.build
2020/10/29 10:55:18.299651 INFO: ===> DETECTING
[detector] com.redhat.faas.quarkus-jvm 0.0.1
2020/10/29 10:55:18.918341 INFO: ===> ANALYZING
[analyzer] ERROR: failed to initialize docker client: failed to connect to docker socket: dial unix /var/run/docker.sock: connect: permission denied
Yes, I did docker login .....
before
Is your feature request related to a problem? Please describe.
The doc says:
Provide a container registry location where you have permission to create images. This will typically be, for example, a personal Docker Hub or Quay.io account. You will be prompted for this value.
and on the shell, I see:
➜ myfunc kn faas build
Building image:
A registry for Function images is required. For example, 'docker.io/tigerteam'.
Registry for Function images: docker.io/matzew
Perhaps introduce an envar for the user to set? The UX on the function seems a bit fishy, that I enter it after the build
E.g. in Knative we have KO_DOCKER_REPO
... perhaps something like that ? or some cfg file ?
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.