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

unable to find this lifecycle image #1

Open
dineshkrishna9999 opened this issue May 19, 2023 · 2 comments
Open

unable to find this lifecycle image #1

dineshkrishna9999 opened this issue May 19, 2023 · 2 comments

Comments

@dineshkrishna9999
Copy link

dk@INCHEL-JVQQ2Z2:/mnt/c/Users/c-dinkar/wt1$ func build -r docker.io/dinesh7777
🕔 Yes, still building

2023/05/19 21:52:33.102485 DEBUG: Pulling image index.docker.io/aslom/tinygo-wasi-wagi-builder:latest
latest: Pulling from aslom/tinygo-wasi-wagi-builder
Digest: sha256:47883bcdd464e0563cc668954ab4cb4af5c39044ed6b2deeca662348fd226208
Status: Image is up to date for aslom/tinygo-wasi-wagi-builder:latest
2023/05/19 21:53:00.113031 DEBUG: Selected run image aslom/tinygo-wasi-wagi-stack-run:v1
2023/05/19 21:53:00.113037 DEBUG: Pulling image aslom/tinygo-wasi-wagi-stack-run:v1
v1: Pulling from aslom/tinygo-wasi-wagi-stack-run
Digest: sha256:062add37da1904d10778edd9b03afa5db598672d94ec9ed95f587907341640e4
Status: Image is up to date for aslom/tinygo-wasi-wagi-stack-run:v1
2023/05/19 21:53:03.601449 DEBUG: Downloading buildpack from image: docker.io/aslom/tinygo-wasi-wagi-buildpack
2023/05/19 21:53:03.601471 DEBUG: Pulling image docker.io/aslom/tinygo-wasi-wagi-buildpack
latest: Pulling from aslom/tinygo-wasi-wagi-buildpack
Digest: sha256:4715213f043359a59766bf6b7d50994992d59b1840535fe83e23ade64cfd0291
Status: Image is up to date for aslom/tinygo-wasi-wagi-buildpack:latest
2023/05/19 21:53:06.645039 DEBUG: Adding buildpack aslom/tinygo-wasi-wagi version 0.0.1 to builder
2023/05/19 21:53:06.645053 DEBUG: Setting custom order
2023/05/19 21:53:06.645057 DEBUG: Creating builder with the following buildpacks:
2023/05/19 21:53:06.645067 DEBUG: -> aslom/[email protected]
2023/05/19 21:53:06.645072 DEBUG: -> aslom/[email protected]
2023/05/19 21:53:06.669861 DEBUG: buildpack aslom/[email protected] already exists on builder and will be overwritten

  • existing diffID: sha256:7f7dc3624aa6859e6545b2293028fd6c1ce2d3e366accab5f363483c0543a0f9
  • new diffID: sha256:1ccffa5cd2dfbc70d3c787da19d489ef9fcf1d3733b2372b3a940cb6dccb1975
    2023/05/19 21:53:06.669881 DEBUG: Adding buildpack aslom/[email protected] (diffID=sha256:1ccffa5cd2dfbc70d3c787da19d489ef9fcf1d3733b2372b3a940cb6dccb1975)
    2023/05/19 21:53:06.967274 DEBUG: Pulling image quay.io/boson/lifecycle@sha256:f53fea9ec9188b92cab0b8a298ff852d76a6c2aaf56f968a08637e13de0e0c59
    quay.io/boson/lifecycle@sha256:f53fea9ec9188b92cab0b8a298ff852d76a6c2aaf56f968a08637e13de0e0c59: Pulling from boson/lifecycle
    Digest: sha256:f53fea9ec9188b92cab0b8a298ff852d76a6c2aaf56f968a08637e13de0e0c59
    Status: Image is up to date for quay.io/boson/lifecycle@sha256:f53fea9ec9188b92cab0b8a298ff852d76a6c2aaf56f968a08637e13de0e0c59

Error: failed to build the function: fetching lifecycle image: No such image: quay.io/boson/lifecycle:latest

@aslom
Copy link
Owner

aslom commented May 19, 2023

I was not able to reproduce the problem (I tried with different laptop and docker login).

Can you check that your version of func is at least 1.9.1 (I tested with 1.10):

func version
v1.10.0

We had some problems with buildpacks in older versions of func CLI.

If it is still now wokring please post the result of running func build -v and func run -v

@dineshkrishna9999
Copy link
Author

I am using WSL with minikube cluster


dk@INCHEL-JVQQ2Z2:/mnt/c/Users/c-dinkar/wasm/wt1$ kn func deploy -v --registry docker.io/dinesh7777
Building function image
Pulling image index.docker.io/aslom/tinygo-wasi-wagi-builder:latest
latest: Pulling from aslom/tinygo-wasi-wagi-builder
Digest: sha256:47883bcdd464e0563cc668954ab4cb4af5c39044ed6b2deeca662348fd226208
Status: Image is up to date for aslom/tinygo-wasi-wagi-builder:latest
Selected run image aslom/tinygo-wasi-wagi-stack-run:v1
Pulling image aslom/tinygo-wasi-wagi-stack-run:v1
v1: Pulling from aslom/tinygo-wasi-wagi-stack-run
Digest: sha256:062add37da1904d10778edd9b03afa5db598672d94ec9ed95f587907341640e4
Status: Image is up to date for aslom/tinygo-wasi-wagi-stack-run:v1
Downloading buildpack from image: docker.io/aslom/tinygo-wasi-wagi-buildpack
Pulling image docker.io/aslom/tinygo-wasi-wagi-buildpack
latest: Pulling from aslom/tinygo-wasi-wagi-buildpack
Digest: sha256:4715213f043359a59766bf6b7d50994992d59b1840535fe83e23ade64cfd0291
Status: Image is up to date for aslom/tinygo-wasi-wagi-buildpack:latest
Adding buildpack aslom/tinygo-wasi-wagi version 0.0.1 to builder
Setting custom order
Creating builder with the following buildpacks:
-> aslom/[email protected]
-> aslom/[email protected]
buildpack aslom/[email protected] already exists on builder and will be overwritten

  • existing diffID: sha256:7f7dc3624aa6859e6545b2293028fd6c1ce2d3e366accab5f363483c0543a0f9
  • new diffID: sha256:1ccffa5cd2dfbc70d3c787da19d489ef9fcf1d3733b2372b3a940cb6dccb1975
    Adding buildpack aslom/[email protected] (diffID=sha256:1ccffa5cd2dfbc70d3c787da19d489ef9fcf1d3733b2372b3a940cb6dccb1975)
    Pulling image quay.io/boson/lifecycle@sha256:1c22b303836cb31330c4239485c62b9bfb418a6d83cd2b3a842506540300e485
    quay.io/boson/lifecycle@sha256:1c22b303836cb31330c4239485c62b9bfb418a6d83cd2b3a842506540300e485: Pulling from boson/lifecycle
    fc251a6e7981: Pull complete
    f9f83ec2d0ed: Pull complete
    Digest: sha256:1c22b303836cb31330c4239485c62b9bfb418a6d83cd2b3a842506540300e485
    Status: Downloaded newer image for quay.io/boson/lifecycle@sha256:1c22b303836cb31330c4239485c62b9bfb418a6d83cd2b3a842506540300e485
    Error: fetching lifecycle image: No such image: quay.io/boson/lifecycle:latest
    Error: exit status 1
    dk@INCHEL-JVQQ2Z2:/mnt/c/Users/c-dinkar/wasm/wt1$ kn func build -r docker.io/dinesh7777
    🕛 Yes, still building

2023/05/22 17:54:52.125352 DEBUG: Pulling image index.docker.io/aslom/tinygo-wasi-wagi-builder:latest
latest: Pulling from aslom/tinygo-wasi-wagi-builder
Digest: sha256:47883bcdd464e0563cc668954ab4cb4af5c39044ed6b2deeca662348fd226208
Status: Image is up to date for aslom/tinygo-wasi-wagi-builder:latest
2023/05/22 17:55:15.824081 DEBUG: Selected run image aslom/tinygo-wasi-wagi-stack-run:v1
2023/05/22 17:55:15.824086 DEBUG: Pulling image aslom/tinygo-wasi-wagi-stack-run:v1
v1: Pulling from aslom/tinygo-wasi-wagi-stack-run
Digest: sha256:062add37da1904d10778edd9b03afa5db598672d94ec9ed95f587907341640e4
Status: Image is up to date for aslom/tinygo-wasi-wagi-stack-run:v1
2023/05/22 17:55:18.177066 DEBUG: Downloading buildpack from image: docker.io/aslom/tinygo-wasi-wagi-buildpack
2023/05/22 17:55:18.177073 DEBUG: Pulling image docker.io/aslom/tinygo-wasi-wagi-buildpack
latest: Pulling from aslom/tinygo-wasi-wagi-buildpack
Digest: sha256:4715213f043359a59766bf6b7d50994992d59b1840535fe83e23ade64cfd0291
Status: Image is up to date for aslom/tinygo-wasi-wagi-buildpack:latest
2023/05/22 17:55:20.569452 DEBUG: Adding buildpack aslom/tinygo-wasi-wagi version 0.0.1 to builder
2023/05/22 17:55:20.569455 DEBUG: Setting custom order
2023/05/22 17:55:20.569456 DEBUG: Creating builder with the following buildpacks:
2023/05/22 17:55:20.569458 DEBUG: -> aslom/[email protected]
2023/05/22 17:55:20.569458 DEBUG: -> aslom/[email protected]
2023/05/22 17:55:20.573543 DEBUG: buildpack aslom/[email protected] already exists on builder and will be overwritten

  • existing diffID: sha256:7f7dc3624aa6859e6545b2293028fd6c1ce2d3e366accab5f363483c0543a0f9
  • new diffID: sha256:1ccffa5cd2dfbc70d3c787da19d489ef9fcf1d3733b2372b3a940cb6dccb1975
    2023/05/22 17:55:20.573550 DEBUG: Adding buildpack aslom/[email protected] (diffID=sha256:1ccffa5cd2dfbc70d3c787da19d489ef9fcf1d3733b2372b3a940cb6dccb1975)
    2023/05/22 17:55:20.728346 DEBUG: Pulling image quay.io/boson/lifecycle@sha256:1c22b303836cb31330c4239485c62b9bfb418a6d83cd2b3a842506540300e485
    quay.io/boson/lifecycle@sha256:1c22b303836cb31330c4239485c62b9bfb418a6d83cd2b3a842506540300e485: Pulling from boson/lifecycle
    Digest: sha256:1c22b303836cb31330c4239485c62b9bfb418a6d83cd2b3a842506540300e485
    Status: Image is up to date for quay.io/boson/lifecycle@sha256:1c22b303836cb31330c4239485c62b9bfb418a6d83cd2b3a842506540300e485

Error: failed to build the function: fetching lifecycle image: No such image: quay.io/boson/lifecycle:latest
Error: exit status 1
dk@INCHEL-JVQQ2Z2:/mnt/c/Users/c-dinkar/wasm/wt1$

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