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

Functions with node16 runtime are not working #14937

Closed
m00g3n opened this issue Jul 27, 2022 · 1 comment
Closed

Functions with node16 runtime are not working #14937

m00g3n opened this issue Jul 27, 2022 · 1 comment
Assignees
Labels
area/serverless Issues or PRs related to serverless kind/bug Categorizes issue or PR as related to a bug. priority/critical Priority indication
Milestone

Comments

@m00g3n
Copy link
Contributor

m00g3n commented Jul 27, 2022

Description

Functions with node16 runtime are not working.

Expected result

  • function should work

Actual result

m00g3n@V40JYGF020 /tmp % k get pod                                                      
NAME                                               READY   STATUS             RESTARTS   AGE
function-jovial-karolina6-build-7tv4j-zdf79        0/1     Completed          0          24m
function-jovial-karolina6-xpd66-844586876d-p9djf   1/2     CrashLoopBackOff   8          20m
Events:
  Type     Reason     Age                 From               Message
  ----     ------     ----                ----               -------
  Normal   Scheduled  11m                 default-scheduler  Successfully assigned default/function-jovial-karolina6-xpd66-844586876d-p9djf to shoot--wookiee--mw-migration3-mw-migration3-z1-685c5-s7pbf
  Normal   Pulled     11m                 kubelet            Container image "eu.gcr.io/kyma-project/external/istio/proxyv2:1.14.1-distroless" already present on machine
  Normal   Created    11m                 kubelet            Created container istio-init
  Normal   Started    11m                 kubelet            Started container istio-init
  Normal   Pulled     11m                 kubelet            Container image "eu.gcr.io/kyma-project/external/istio/proxyv2:1.14.1-distroless" already present on machine
  Normal   Created    11m                 kubelet            Created container istio-proxy
  Normal   Started    11m                 kubelet            Started container istio-proxy
  Normal   Pulling    11m                 kubelet            Pulling image "registry.mw-migration3.wookiee.shoot.canary.k8s-hana.ondemand.com/default-function-jovial-karolina6:3eec3b5ca49af80534413504ad1890fbf806318ce9d21b93ca90a0fac4d08745"
  Normal   Pulled     10m                 kubelet            Successfully pulled image "registry.mw-migration3.wookiee.shoot.canary.k8s-hana.ondemand.com/default-function-jovial-karolina6:3eec3b5ca49af80534413504ad1890fbf806318ce9d21b93ca90a0fac4d08745" in 3.307854675s
  Warning  Unhealthy  10m                 kubelet            Startup probe failed: HTTP probe failed with statuscode: 500
  Normal   Created    10m (x3 over 10m)   kubelet            Created container function
  Normal   Started    10m (x3 over 10m)   kubelet            Started container function
  Normal   Pulled     10m (x2 over 10m)   kubelet            Container image "registry.mw-migration3.wookiee.shoot.canary.k8s-hana.ondemand.com/default-function-jovial-karolina6:3eec3b5ca49af80534413504ad1890fbf806318ce9d21b93ca90a0fac4d08745" already present on machine
  Warning  BackOff    57s (x59 over 10m)  kubelet            Back-off restarting failed container

Steps to reproduce

Apply a function with nodejs16 runtime on a cluster.

@m00g3n m00g3n added kind/bug Categorizes issue or PR as related to a bug. priority/critical Priority indication area/serverless Issues or PRs related to serverless labels Jul 27, 2022
@m00g3n m00g3n self-assigned this Jul 27, 2022
@pPrecel
Copy link
Contributor

pPrecel commented Jul 28, 2022

The problem described here:
npm/cli#4996

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/serverless Issues or PRs related to serverless kind/bug Categorizes issue or PR as related to a bug. priority/critical Priority indication
Projects
None yet
Development

No branches or pull requests

3 participants