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

The two Chart.yaml still uses unavailable image versions 3.5.1 and 13.1.5 #39

Open
EricWang1358 opened this issue Jan 7, 2025 · 3 comments

Comments

@EricWang1358
Copy link


Title: The two Chart.yaml still uses unavailable image versions 3.5.1 and 13.1.5


Description of the Issue

The current Chart.yaml file references unavailable and outdated image versions, which causes image pull errors during deployment. Below are the problematic entries:

Apisix

- name: apisix
  condition: apisix.enabled
  version: 3.5.1
  repository: oci://registry-1.docker.io/bitnamicharts

The image version 3.5.1 is no longer available on Docker Hub, leading to failed image pulls for Apisix.

Postgresql

- name: postgresql
  alias: postgis
  condition: postgis.enabled
  repository: oci://registry-1.docker.io/bitnamicharts
  version: 13.1.5

The image version 13.1.5 for Postgresql is also unavailable, causing deployment issues.


Steps to Reproduce

  1. Clone the repository.
  2. Follow the documented steps to execute mvn clean deploy -Plocal.
  3. Observe the following errors in the build logs:
    [ERROR] Pulled: registry-1.docker.io/bitnamicharts/apisix:3.5.1
    [ERROR] Digest: sha256:xxxxxxxxxxxxxxxxxxxxxxxxxxxx
    [ERROR] Pulled: registry-1.docker.io/bitnamicharts/postgresql:13.1.5
    [ERROR] Digest: sha256:xxxxxxxxxxxxxxxxxxxxxxxxxxxx
    

Steps to reproduce:

Suggested Solution

Please update the Chart.yaml file to reference valid image versions. And even I tried update those manually with 15.3.0 and 3.5.0 (which can be pulled using k3s, it still report the error. I am a little bit frustrated and wonder if you could try reclone your project in a different machine to see if you would encouter the same problem. That would be such a great help! “Maybe there are some more config before just 'mvn clean deply' ? Like the helm config or dealing with both k3s and Docker Desktop. Thanks for your help.


System Information:

  • Maven Version: 3.8.8
  • Java Version: 17.0.13 (Ubuntu OpenJDK)
  • Operating System: Ubuntu 22.04.5 LTS (Jammy)
  • Kernel Version: 5.15.167.4-microsoft-standard-WSL2
  • Docker Version: 27.1.1
  • K3s Version: v1.31.4+k3s1
  • Helm Version: v3.16.4

Also, with problem faced after the [error] report:

During the Maven build process, we encountered deployment timeouts for the provider-apisix-control-plane and provider-apisix-data-plane components. The deployment rollout could not complete within the allocated timeout, and the following error messages were logged:

[INFO] Still waiting for: [provider/provider-apisix-control-plane, provider/provider-apisix-data-plane]
[ERROR] >>> docker exec k3s-maven-plugin kubectl rollout status deployment provider-apisix-data-plane --namespace=provider --timeout=300s (timeout: PT5M10S)
[ERROR] <<< Waiting for deployment "provider-apisix-data-plane" rollout to finish: 0 of 1 updated replicas are available...
[ERROR] <<< error: timed out waiting for the condition
[ERROR] >>> docker exec k3s-maven-plugin kubectl rollout status deployment provider-apisix-control-plane --namespace=provider --timeout=300s (timeout: PT5M10S)
[ERROR] <<< Waiting for deployment "provider-apisix-control-plane" rollout to finish: 0 of 1 updated replicas are available...
[ERROR] <<< error: timed out waiting for the condition
[INFO] ------------------------------------------------------------------------
[INFO] Reactor Summary for connector 0.0.1:
[INFO] 
[INFO] connector .......................................... FAILURE [07:20 min]
[INFO] it ................................................. SKIPPED
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time:  07:20 min
[INFO] Finished at: 2025-01-07T10:10:53+08:00
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal io.kokuwa.maven:k3s-maven-plugin:1.3.0:apply (create-namespaces) on project connector: Failed to wait for resources, see previous log -> [Help 1]

Expected Behavior:

The deployments for both provider-apisix-control-plane and provider-apisix-data-plane should complete successfully without exceeding the timeout period. It may be also due to the pull fail above.


@wistefan
Copy link
Collaborator

wistefan commented Jan 7, 2025

@EricWang1358 The references are to the charts, not the images. However, this seems to be either a local or a temporary issue, since both charts where able to be downloaded in the test-pipeline. Could you please retry?

@EricWang1358
Copy link
Author

EricWang1358 commented Jan 8, 2025

Issue: Deployment Timeout for Multiple Pods During Local Deployment

Description

The former problem has been solved temporarily by installing docker service in the WSL2 env instead of using the WSL2 support in the host windows env's Docker Destop. (Wondering why nothing about Docker is mentioned but the Pom file includes the use of k3s-plugin which create k3s clusters in docker and it will collide with the k3s outside docker env by using the same 6443 port.

After that, the process still failed due to several pods not becoming Ready within the allotted timeout period. The Maven build logs show the following errors:


Logs

[INFO] Still waiting for: [consumer/consumer-keycloak, provider/odrl-pap, provider/provider-apisix-control-plane, provider/provider-apisix-data-plane, provider/provider-etcd, provider/verifier]
[ERROR] >>> docker exec k3s-maven-plugin kubectl rollout status deployment provider-apisix-data-plane --namespace=provider --timeout=300s (timeout: PT5M10S)
[ERROR] <<< Waiting for deployment "provider-apisix-data-plane" rollout to finish: 0 of 1 updated replicas are available...
[ERROR] <<< error: timed out waiting for the condition

[ERROR] >>> docker exec k3s-maven-plugin kubectl rollout status statefulset consumer-keycloak --namespace=consumer --timeout=300s (timeout: PT5M10S)
[ERROR] <<< Waiting for 1 pods to be ready...
[ERROR] <<< error: timed out waiting for the condition

[ERROR] >>> docker exec k3s-maven-plugin kubectl rollout status deployment provider-apisix-control-plane --namespace=provider --timeout=300s (timeout: PT5M10S)
[ERROR] <<< Waiting for deployment "provider-apisix-control-plane" rollout to finish: 0 of 1 updated replicas are available...
[ERROR] <<< error: timed out waiting for the condition

[ERROR] >>> docker exec k3s-maven-plugin kubectl rollout status deployment odrl-pap --namespace=provider --timeout=300s (timeout: PT5M10S)
[ERROR] <<< Waiting for deployment "odrl-pap" rollout to finish: 0 out of 1 new replicas have been updated...
[ERROR] <<< Waiting for deployment "odrl-pap" rollout to finish: 0 of 1 updated replicas are available...
[ERROR] <<< error: timed out waiting for the condition

[ERROR] >>> docker exec k3s-maven-plugin kubectl rollout status statefulset provider-etcd --namespace=provider --timeout=300s (timeout: PT5M10S)
[ERROR] <<< Waiting for 3 pods to be ready...
[ERROR] <<< error: timed out waiting for the condition

[ERROR] >>> docker exec k3s-maven-plugin kubectl rollout status deployment verifier --namespace=provider --timeout=300s (timeout: PT5M10S)
[ERROR] <<< Waiting for deployment spec update to be observed...
[ERROR] <<< Waiting for deployment spec update to be observed...
[ERROR] <<< Waiting for deployment "verifier" rollout to finish: 0 of 1 updated replicas are available...
[ERROR] <<< error: timed out waiting for the condition

Environment

  • Deployment Method: mvn clean deploy with k3s-maven-plugin
  • Local Kubernetes Cluster: k3s (running inside Docker container k3s-maven-plugin)
  • Host Environment:
    • OS: Ubuntu 22.04
    • Docker: Version 24.0.7
    • k3s: Rancher/k3s (latest)
  • Maven Plugin Version: k3s-maven-plugin:1.3.0

Pods Failing to Deploy

The following pods were reported as timing out or failing to reach the Ready state:

  1. consumer-keycloak

    • Status: Init:CrashLoopBackOff
    • Namespace: consumer
    • Logs: Pending inspection.
  2. provider/odrl-pap

    • Status: Init:CrashLoopBackOff
    • Namespace: provider
    • Logs: Pending inspection.
  3. provider/provider-apisix-control-plane

    • Status: Init
    • Namespace: provider
    • Logs: Pending inspection.
  4. provider/provider-apisix-data-plane

    • Status: Init
    • Namespace: provider
    • Logs: Pending inspection.
  5. provider/provider-etcd

    • Status: Running but not Ready (all 3 replicas are affected).
    • Namespace: provider
    • Logs: Pending inspection.
  6. provider/verifier

    • Status: CrashLoopBackOff
    • Namespace: provider
    • Logs: Pending inspection.

Steps to Reproduce

  1. Clone the FIWARE Data Space Connector repository.
  2. Follow the instructions for local deployment in the documentation using:
    mvn clean deploy
  3. Wait for the process to complete.
  4. Observe the timeout errors for the above-mentioned components in the build log.

Maybe the answers to the Qs below may help

  1. Are there specific startup dependencies for these components?

    • For example, does consumer-keycloak require the database to be fully initialized before it can start?
    • Does provider-apisix-control-plane depend on provider-etcd being fully operational?
  2. What are the recommended resource requirements for this deployment?

    • Are there specific memory or CPU settings needed for the k3s container or individual pods?
  3. Timeout Configuration:

    • Should the k3s-maven-plugin be configured with longer timeouts for deployments? If yes, what timeout settings are recommended?
  4. k3s

    • Should I try skip the using docker part and try enabling and using the k3s in the user env instead? If you would provide the env and related config of k3s or docker, that would be very nice.

Attachments

~/FIWARE/data-space-connector$ echo $KUBECONFIG
/home/eric/FIWARE/data-space-connector/target/k3s.yaml
docker exec -it k3s-maven-plugin kubectl get pods -A
NAMESPACE      NAME                                                              READY   STATUS                  RESTARTS        AGE
consumer       consumer-keycloak-0                                               0/1     Init:CrashLoopBackOff   4 (60s ago)     10m
consumer       did-helper-f6ff78dd9-zw8gf                                        1/1     Running                 0               3m52s
consumer       postgresql-0                                                      1/1     Running                 0               10m
infra          traefik-6469c95464-qxgbn                                          1/1     Running                 0               3m49s
kube-system    coredns-65d6968c4b-jfp68                                          1/1     Running                 0               3m49s
kube-system    svclb-provider-apisix-data-plane-5a71e30c-s28pp                   2/2     Running                 0               3m52s
kube-system    svclb-traefik-loadbalancer-9e241e0b-8h6pj                         1/1     Running                 0               3m51s
provider       authentication-mysql-0                                            1/1     Running                 0               10m
provider       credentials-config-service-ffbc95f56-c2dlt                        1/1     Running                 3 (3m26s ago)   3m52s
provider       data-service-postgis-0                                            1/1     Running                 0               10m
provider       data-service-scorpio-869bcdbb48-tn8t2                             1/1     Running                 0               3m52s
provider       did-helper-7f8cd8c6d7-5brcm                                       1/1     Running                 0               3m49s
provider       dsconfig-84794cfb96-j7t2d                                         1/1     Running                 0               3m49s
provider       odrl-pap-5979bd67d7-7d5kj                                         0/1     Init:CrashLoopBackOff   4 (52s ago)     3m52s
provider       postgresql-0                                                      1/1     Running                 0               10m
provider       provider-apisix-control-plane-6cc54dcbf9-6m2xj                    0/1     Init:0/2                3 (37s ago)     3m52s
provider       provider-apisix-data-plane-6bdd5cc596-8wxjj                       0/2     Init:0/2                3 (38s ago)     3m52s
provider       provider-contract-management-66bc798759-wrpk7                     1/1     Running                 0               3m52s
provider       provider-etcd-0                                                   0/1     Running                 3 (31s ago)     10m
provider       provider-etcd-1                                                   0/1     Running                 3 (31s ago)     10m
provider       provider-etcd-2                                                   0/1     Running                 3 (31s ago)     10m
provider       provider-tm-forum-api-customer-bill-management-64454d8bcd-pdvqd   1/1     Running                 0               3m51s
provider       provider-tm-forum-api-customer-management-576995b77-zfpdc         1/1     Running                 0               3m51s
provider       provider-tm-forum-api-envoy-5db4d9cbb6-zg9s2                      1/1     Running                 0               3m49s
provider       provider-tm-forum-api-party-catalog-8cc87c444-rct4m               1/1     Running                 0               3m51s
provider       provider-tm-forum-api-product-catalog-6c5fd4776-xrhhz             1/1     Running                 0               3m51s
provider       provider-tm-forum-api-product-inventory-6c4fbc7c9c-v55rt          1/1     Running                 0               3m51s
provider       provider-tm-forum-api-product-ordering-management-ff5bfbb6r4ttx   1/1     Running                 0               3m50s
provider       provider-tm-forum-api-resource-catalog-5fbf79544c-ddkw7           1/1     Running                 0               3m50s
provider       provider-tm-forum-api-resource-function-activation-777dfd6f4gk6   1/1     Running                 0               3m50s
provider       provider-tm-forum-api-resource-inventory-7ffcbd4f86-qgnzx         1/1     Running                 0               3m50s
provider       provider-tm-forum-api-service-catalog-5b9b9757f6-gssrf            1/1     Running                 0               3m50s
provider       trusted-issuers-list-68459d846f-zw8h5                             1/1     Running                 3 (3m24s ago)   3m49s
provider       verifier-749d8b7969-wbkdz                                         0/1     Init:CrashLoopBackOff   4 (62s ago)     3m49s
trust-anchor   tir-7d7c7958b-xkdh9                                               1/1     Running                 2 (3m34s ago)   3m49s
trust-anchor   trust-anchor-mysql-0                                              1/1     Running                 0               10m
kubectl get all --all-namespaces
NAMESPACE      NAME                                                                  READY   STATUS                  RESTARTS        AGE
consumer       pod/consumer-keycloak-0                                               0/1     Init:CrashLoopBackOff   5 (2m2s ago)    13m
consumer       pod/did-helper-f6ff78dd9-zw8gf                                        1/1     Running                 0               6m40s
consumer       pod/postgresql-0                                                      1/1     Running                 0               13m
infra          pod/traefik-6469c95464-qxgbn                                          1/1     Running                 0               6m37s
kube-system    pod/coredns-65d6968c4b-jfp68                                          1/1     Running                 0               6m37s
kube-system    pod/svclb-provider-apisix-data-plane-5a71e30c-s28pp                   2/2     Running                 0               6m40s
kube-system    pod/svclb-traefik-loadbalancer-9e241e0b-8h6pj                         1/1     Running                 0               6m39s
provider       pod/authentication-mysql-0                                            1/1     Running                 0               13m
provider       pod/credentials-config-service-ffbc95f56-c2dlt                        1/1     Running                 3 (6m14s ago)   6m40s
provider       pod/data-service-postgis-0                                            1/1     Running                 0               13m
provider       pod/data-service-scorpio-869bcdbb48-tn8t2                             1/1     Running                 0               6m40s
provider       pod/did-helper-7f8cd8c6d7-5brcm                                       1/1     Running                 0               6m37s
provider       pod/dsconfig-84794cfb96-j7t2d                                         1/1     Running                 0               6m37s
provider       pod/odrl-pap-5979bd67d7-7d5kj                                         0/1     Init:CrashLoopBackOff   5 (2m4s ago)    6m40s
provider       pod/postgresql-0                                                      1/1     Running                 0               13m
provider       pod/provider-apisix-control-plane-6cc54dcbf9-6m2xj                    0/1     Init:CrashLoopBackOff   4 (18s ago)     6m40s
provider       pod/provider-apisix-data-plane-6bdd5cc596-8wxjj                       0/2     Init:CrashLoopBackOff   4 (17s ago)     6m40s
provider       pod/provider-contract-management-66bc798759-wrpk7                     1/1     Running                 0               6m40s
provider       pod/provider-etcd-0                                                   0/1     CrashLoopBackOff        4 (6s ago)      13m
provider       pod/provider-etcd-1                                                   0/1     CrashLoopBackOff        4 (12s ago)     13m
provider       pod/provider-etcd-2                                                   0/1     Error                   4 (111s ago)    13m
provider       pod/provider-tm-forum-api-customer-bill-management-64454d8bcd-pdvqd   1/1     Running                 0               6m39s
provider       pod/provider-tm-forum-api-customer-management-576995b77-zfpdc         1/1     Running                 0               6m39s
provider       pod/provider-tm-forum-api-envoy-5db4d9cbb6-zg9s2                      1/1     Running                 0               6m37s
provider       pod/provider-tm-forum-api-party-catalog-8cc87c444-rct4m               1/1     Running                 0               6m39s
provider       pod/provider-tm-forum-api-product-catalog-6c5fd4776-xrhhz             1/1     Running                 0               6m39s
provider       pod/provider-tm-forum-api-product-inventory-6c4fbc7c9c-v55rt          1/1     Running                 0               6m39s
provider       pod/provider-tm-forum-api-product-ordering-management-ff5bfbb6r4ttx   1/1     Running                 0               6m38s
provider       pod/provider-tm-forum-api-resource-catalog-5fbf79544c-ddkw7           1/1     Running                 0               6m38s
provider       pod/provider-tm-forum-api-resource-function-activation-777dfd6f4gk6   1/1     Running                 0               6m38s
provider       pod/provider-tm-forum-api-resource-inventory-7ffcbd4f86-qgnzx         1/1     Running                 0               6m38s
provider       pod/provider-tm-forum-api-service-catalog-5b9b9757f6-gssrf            1/1     Running                 0               6m38s
provider       pod/trusted-issuers-list-68459d846f-zw8h5                             1/1     Running                 3 (6m12s ago)   6m37s
provider       pod/verifier-749d8b7969-wbkdz                                         0/1     Init:CrashLoopBackOff   5 (2m15s ago)   6m37s
trust-anchor   pod/tir-7d7c7958b-xkdh9                                               1/1     Running                 2 (6m22s ago)   6m37s
trust-anchor   pod/trust-anchor-mysql-0                                              1/1     Running                 0               13m

NAMESPACE      NAME                                                         TYPE           CLUSTER-IP      EXTERNAL-IP   PORT(S)                      AGE
consumer       service/consumer-keycloak                                    ClusterIP      10.43.214.8     <none>        8080/TCP                     6m40s
consumer       service/consumer-keycloak-headless                           ClusterIP      None            <none>        8080/TCP                     6m40s
consumer       service/did-helper                                           ClusterIP      10.43.82.193    <none>        3001/TCP                     6m40s
consumer       service/postgresql                                           ClusterIP      10.43.81.51     <none>        5432/TCP                     6m40s
consumer       service/postgresql-hl                                        ClusterIP      None            <none>        5432/TCP                     6m40s
default        service/kubernetes                                           ClusterIP      10.43.0.1       <none>        443/TCP                      16m
infra          service/traefik-admin                                        ClusterIP      10.43.174.132   <none>        80/TCP                       6m39s
infra          service/traefik-loadbalancer                                 LoadBalancer   10.43.15.214    172.17.0.2    8080:31778/TCP               6m39s
kube-system    service/kube-dns                                             ClusterIP      10.43.0.10      <none>        53/UDP,53/TCP,9153/TCP       12m
provider       service/authentication-mysql                                 ClusterIP      10.43.10.240    <none>        3306/TCP                     6m40s
provider       service/authentication-mysql-headless                        ClusterIP      None            <none>        3306/TCP                     6m40s
provider       service/credentials-config-service                           ClusterIP      10.43.69.222    <none>        8080/TCP                     6m40s
provider       service/data-service-postgis                                 ClusterIP      10.43.6.255     <none>        5432/TCP                     6m40s
provider       service/data-service-postgis-hl                              ClusterIP      None            <none>        5432/TCP                     6m40s
provider       service/data-service-scorpio                                 ClusterIP      10.43.169.172   <none>        9090/TCP                     6m40s
provider       service/did-helper                                           ClusterIP      10.43.219.13    <none>        3002/TCP                     6m39s
provider       service/dsconfig                                             ClusterIP      10.43.15.221    <none>        3002/TCP                     6m39s
provider       service/odrl-pap                                             ClusterIP      10.43.239.23    <none>        8080/TCP                     6m40s
provider       service/postgresql                                           ClusterIP      10.43.193.178   <none>        5432/TCP                     6m40s
provider       service/postgresql-hl                                        ClusterIP      None            <none>        5432/TCP                     6m40s
provider       service/provider-apisix-control-plane                        ClusterIP      10.43.170.210   <none>        9180/TCP,9280/TCP            6m40s
provider       service/provider-apisix-data-plane                           LoadBalancer   10.43.72.57     172.17.0.2    80:32010/TCP,443:31822/TCP   6m40s
provider       service/provider-contract-management                         ClusterIP      10.43.144.9     <none>        8080/TCP                     6m40s
provider       service/provider-etcd                                        ClusterIP      10.43.119.10    <none>        2379/TCP,2380/TCP            6m40s
provider       service/provider-etcd-headless                               ClusterIP      None            <none>        2379/TCP,2380/TCP            6m40s
provider       service/provider-tm-forum-api-customer-bill-management       ClusterIP      10.43.130.185   <none>        8080/TCP                     6m40s
provider       service/provider-tm-forum-api-customer-management            ClusterIP      10.43.5.170     <none>        8080/TCP                     6m40s
provider       service/provider-tm-forum-api-party-catalog                  ClusterIP      10.43.2.205     <none>        8080/TCP                     6m40s
provider       service/provider-tm-forum-api-product-catalog                ClusterIP      10.43.75.105    <none>        8080/TCP                     6m40s
provider       service/provider-tm-forum-api-product-inventory              ClusterIP      10.43.107.141   <none>        8080/TCP                     6m40s
provider       service/provider-tm-forum-api-product-ordering-management    ClusterIP      10.43.186.189   <none>        8080/TCP                     6m40s
provider       service/provider-tm-forum-api-resource-catalog               ClusterIP      10.43.192.36    <none>        8080/TCP                     6m40s
provider       service/provider-tm-forum-api-resource-function-activation   ClusterIP      10.43.34.45     <none>        8080/TCP                     6m40s
provider       service/provider-tm-forum-api-resource-inventory             ClusterIP      10.43.82.228    <none>        8080/TCP                     6m40s
provider       service/provider-tm-forum-api-service-catalog                ClusterIP      10.43.58.73     <none>        8080/TCP                     6m40s
provider       service/tm-forum-api                                         ClusterIP      10.43.213.245   <none>        8080/TCP                     6m40s
provider       service/trusted-issuers-list                                 ClusterIP      10.43.154.125   <none>        8080/TCP                     6m40s
provider       service/verifier                                             ClusterIP      10.43.90.70     <none>        3000/TCP                     6m40s
trust-anchor   service/tir                                                  ClusterIP      10.43.170.23    <none>        8080/TCP                     6m39s
trust-anchor   service/trust-anchor-mysql                                   ClusterIP      10.43.22.175    <none>        3306/TCP                     6m39s
trust-anchor   service/trust-anchor-mysql-headless                          ClusterIP      None            <none>        3306/TCP                     6m39s

NAMESPACE     NAME                                                       DESIRED   CURRENT   READY   UP-TO-DATE   AVAILABLE   NODE SELECTOR   AGE
kube-system   daemonset.apps/svclb-provider-apisix-data-plane-5a71e30c   1         1         1       1            1           <none>          6m40s
kube-system   daemonset.apps/svclb-traefik-loadbalancer-9e241e0b         1         1         1       1            1           <none>          6m39s

NAMESPACE      NAME                                                                 READY   UP-TO-DATE   AVAILABLE   AGE
consumer       deployment.apps/did-helper                                           1/1     1            1           6m40s
infra          deployment.apps/traefik                                              1/1     1            1           6m39s
kube-system    deployment.apps/coredns                                              1/1     1            1           12m
provider       deployment.apps/credentials-config-service                           1/1     1            1           6m40s
provider       deployment.apps/data-service-scorpio                                 1/1     1            1           6m40s
provider       deployment.apps/did-helper                                           1/1     1            1           6m39s
provider       deployment.apps/dsconfig                                             1/1     1            1           6m39s
provider       deployment.apps/odrl-pap                                             0/1     1            0           6m40s
provider       deployment.apps/provider-apisix-control-plane                        0/1     1            0           6m40s
provider       deployment.apps/provider-apisix-data-plane                           0/1     1            0           6m40s
provider       deployment.apps/provider-contract-management                         1/1     1            1           6m40s
provider       deployment.apps/provider-tm-forum-api-customer-bill-management       1/1     1            1           6m40s
provider       deployment.apps/provider-tm-forum-api-customer-management            1/1     1            1           6m40s
provider       deployment.apps/provider-tm-forum-api-envoy                          1/1     1            1           6m40s
provider       deployment.apps/provider-tm-forum-api-party-catalog                  1/1     1            1           6m40s
provider       deployment.apps/provider-tm-forum-api-product-catalog                1/1     1            1           6m40s
provider       deployment.apps/provider-tm-forum-api-product-inventory              1/1     1            1           6m40s
provider       deployment.apps/provider-tm-forum-api-product-ordering-management    1/1     1            1           6m40s
provider       deployment.apps/provider-tm-forum-api-resource-catalog               1/1     1            1           6m40s
provider       deployment.apps/provider-tm-forum-api-resource-function-activation   1/1     1            1           6m40s
provider       deployment.apps/provider-tm-forum-api-resource-inventory             1/1     1            1           6m40s
provider       deployment.apps/provider-tm-forum-api-service-catalog                1/1     1            1           6m40s
provider       deployment.apps/trusted-issuers-list                                 1/1     1            1           6m40s
provider       deployment.apps/verifier                                             0/1     1            0           6m40s
trust-anchor   deployment.apps/tir                                                  1/1     1            1           6m39s

NAMESPACE      NAME                                                                            DESIRED   CURRENT   READY   AGE
consumer       replicaset.apps/did-helper-f6ff78dd9                                            1         1         1       6m40s
infra          replicaset.apps/traefik-6469c95464                                              1         1         1       6m37s
kube-system    replicaset.apps/coredns-65d6968c4b                                              1         1         1       6m37s
provider       replicaset.apps/credentials-config-service-ffbc95f56                            1         1         1       6m40s
provider       replicaset.apps/data-service-scorpio-869bcdbb48                                 1         1         1       6m40s
provider       replicaset.apps/did-helper-7f8cd8c6d7                                           1         1         1       6m38s
provider       replicaset.apps/dsconfig-84794cfb96                                             1         1         1       6m37s
provider       replicaset.apps/odrl-pap-5979bd67d7                                             1         1         0       6m40s
provider       replicaset.apps/provider-apisix-control-plane-6cc54dcbf9                        1         1         0       6m40s
provider       replicaset.apps/provider-apisix-data-plane-6bdd5cc596                           1         1         0       6m40s
provider       replicaset.apps/provider-contract-management-66bc798759                         1         1         1       6m40s
provider       replicaset.apps/provider-tm-forum-api-customer-bill-management-64454d8bcd       1         1         1       6m39s
provider       replicaset.apps/provider-tm-forum-api-customer-management-576995b77             1         1         1       6m39s
provider       replicaset.apps/provider-tm-forum-api-envoy-5db4d9cbb6                          1         1         1       6m38s
provider       replicaset.apps/provider-tm-forum-api-party-catalog-8cc87c444                   1         1         1       6m40s
provider       replicaset.apps/provider-tm-forum-api-product-catalog-6c5fd4776                 1         1         1       6m39s
provider       replicaset.apps/provider-tm-forum-api-product-inventory-6c4fbc7c9c              1         1         1       6m39s
provider       replicaset.apps/provider-tm-forum-api-product-ordering-management-ff5bfbb6d     1         1         1       6m39s
provider       replicaset.apps/provider-tm-forum-api-resource-catalog-5fbf79544c               1         1         1       6m39s
provider       replicaset.apps/provider-tm-forum-api-resource-function-activation-777dfd6b9b   1         1         1       6m39s
provider       replicaset.apps/provider-tm-forum-api-resource-inventory-7ffcbd4f86             1         1         1       6m38s
provider       replicaset.apps/provider-tm-forum-api-service-catalog-5b9b9757f6                1         1         1       6m38s
provider       replicaset.apps/trusted-issuers-list-68459d846f                                 1         1         1       6m38s
provider       replicaset.apps/verifier-749d8b7969                                             1         1         0       6m38s
trust-anchor   replicaset.apps/tir-7d7c7958b                                                   1         1         1       6m37s

NAMESPACE      NAME                                    READY   AGE
consumer       statefulset.apps/consumer-keycloak      0/1     63m
consumer       statefulset.apps/postgresql             1/1     63m
provider       statefulset.apps/authentication-mysql   1/1     63m
provider       statefulset.apps/data-service-postgis   1/1     63m
provider       statefulset.apps/postgresql             1/1     63m
provider       statefulset.apps/provider-etcd          0/3     63m
trust-anchor   statefulset.apps/trust-anchor-mysql     1/1     63m

NAMESPACE   NAME                             COMPLETIONS   DURATION   AGE
provider    job.batch/tmf-api-registration   1/1           3m5s       63m

Thank you for your patience and help. It would be great help to me as I am so interested in this project, but my deployment skills frustrate me a lot.

Added progress.

(base) eric@Eric:~/FIWARE/data-space-connector$ docker exec -it k3s-maven-plugin kubectl logs -n consumer consumer-keycloak-0
Defaulted container "keycloak" out of: keycloak, prepare-write-dirs (init), get-did (init), register-at-tir (init), register-at-til (init)
Error from server (BadRequest): container "keycloak" in pod "consumer-keycloak-0" is waiting to start: PodInitializing
(base) eric@Eric:~/FIWARE/data-space-connector$ docker exec -it k3s-maven-plugin kubectl logs -n consumer consumer-keycloak-0 -c prepare-write-dirs
docker exec -it k3s-maven-plugin kubectl logs -n consumer consumer-keycloak-0 -c get-did
docker exec -it k3s-maven-plugin kubectl logs -n consumer consumer-keycloak-0 -c register-at-tir
docker exec -it k3s-maven-plugin kubectl logs -n consumer consumer-keycloak-0 -c register-at-til
 03:49:00.22 INFO  ==> Copying writable dirs to empty dir
 03:49:00.25 INFO  ==> Copy operation completed
Ign:1 http://archive.ubuntu.com/ubuntu noble InRelease
Ign:2 http://archive.ubuntu.com/ubuntu noble-updates InRelease
Ign:3 http://security.ubuntu.com/ubuntu noble-security InRelease
Ign:4 http://archive.ubuntu.com/ubuntu noble-backports InRelease
Ign:1 http://archive.ubuntu.com/ubuntu noble InRelease
Ign:3 http://security.ubuntu.com/ubuntu noble-security InRelease
Ign:2 http://archive.ubuntu.com/ubuntu noble-updates InRelease
Ign:4 http://archive.ubuntu.com/ubuntu noble-backports InRelease
Ign:1 http://archive.ubuntu.com/ubuntu noble InRelease
Ign:2 http://archive.ubuntu.com/ubuntu noble-updates InRelease
Ign:3 http://security.ubuntu.com/ubuntu noble-security InRelease
Ign:4 http://archive.ubuntu.com/ubuntu noble-backports InRelease
Err:1 http://archive.ubuntu.com/ubuntu noble InRelease
  Connection failed [IP: 198.18.0.116 80]
Err:2 http://archive.ubuntu.com/ubuntu noble-updates InRelease
  Connection failed [IP: 198.18.0.116 80]
Err:3 http://security.ubuntu.com/ubuntu noble-security InRelease
  Connection failed [IP: 198.18.0.115 80]
Err:4 http://archive.ubuntu.com/ubuntu noble-backports InRelease
  Connection failed [IP: 198.18.0.116 80]
Reading package lists...
W: Failed to fetch http://archive.ubuntu.com/ubuntu/dists/noble/InRelease  Connection failed [IP: 198.18.0.116 80]
W: Failed to fetch http://archive.ubuntu.com/ubuntu/dists/noble-updates/InRelease  Connection failed [IP: 198.18.0.116 80]
W: Failed to fetch http://archive.ubuntu.com/ubuntu/dists/noble-backports/InRelease  Connection failed [IP: 198.18.0.116 80]
W: Failed to fetch http://security.ubuntu.com/ubuntu/dists/noble-security/InRelease  Connection failed [IP: 198.18.0.115 80]
W: Some index files failed to download. They have been ignored, or old ones used instead.
Reading package lists...
Building dependency tree...
Reading state information...
E: Unable to locate package wget
Error from server (BadRequest): container "register-at-tir" in pod "consumer-keycloak-0" is waiting to start: PodInitializing
Error from server (BadRequest): container "register-at-til" in pod "consumer-keycloak-0" is waiting to start: PodInitializing

It seems that the docker container itself encountered some network issue.

@wistefan
Copy link
Collaborator

wistefan commented Jan 8, 2025

Hi, there actually is a networking issue in k3s fur current ubuntu versions, since "br_netfilter" is not enabled. Try to enable it via modprobe br_netfilter (see https://stackoverflow.com/questions/48148838/kube-dns-error-reply-from-unexpected-source/48151279#48151279)

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