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

tackle-ui failed to run on minikube 1.24 #291

Open
lautou opened this issue Feb 3, 2022 · 1 comment
Open

tackle-ui failed to run on minikube 1.24 #291

lautou opened this issue Feb 3, 2022 · 1 comment

Comments

@lautou
Copy link

lautou commented Feb 3, 2022

Environment: RHEL 8.5 / Minikube 1.24 / Kernel 4.18.0-348.7.1.el8_5.x86_64

Switching the DISABLE_IPV6 environment variable true / false does not change anything.

[ltourrea@ltourrea ~]$ kubectl logs pod/tackle-sample-ui-56776464bd-46xpn -n my-tackle-operator
---> Processing nginx.conf.template configuration file...
'./nginx.conf' -> '/etc/nginx/nginx.conf'
---> Processing keycloak.json.template configuration file...
Container started
2022/02/03 17:52:48 [emerg] 1#0: socket() [::]:8080 failed (97: Address family not supported by protocol)
nginx: [emerg] socket() [::]:8080 failed (97: Address family not supported by protocol)
[ltourrea@ltourrea ~]$ kubectl describe pod/tackle-sample-ui-56776464bd-46xpn -n my-tackle-operator
Name:         tackle-sample-ui-56776464bd-46xpn
Namespace:    my-tackle-operator
Priority:     0
Node:         minikube/192.168.58.2
Start Time:   Thu, 03 Feb 2022 18:51:06 +0100
Labels:       app.kubernetes.io/name=tackle-sample-ui
              app.kubernetes.io/part-of=tackle
              pod-template-hash=56776464bd
Annotations:  <none>
Status:       Running
IP:           172.17.0.9
IPs:
  IP:           172.17.0.9
Controlled By:  ReplicaSet/tackle-sample-ui-56776464bd
Containers:
  tackle-sample-ui:
    Container ID:   docker://5e3aaae7b61584af51f3172a7094e7ed14aeb7677ff2f9dac5c2aed22f1a7b8b
    Image:          quay.io/konveyor/tackle-ui:1.2.0
    Image ID:       docker-pullable://quay.io/konveyor/tackle-ui@sha256:2ed0e7b66a491d3689c1fdcdd048794f3e35a2ff6b83bccc1737c60eac1e8a07
    Ports:          8080/TCP, 8443/TCP
    Host Ports:     0/TCP, 0/TCP
    State:          Waiting
      Reason:       CrashLoopBackOff
    Last State:     Terminated
      Reason:       Error
      Exit Code:    1
      Started:      Thu, 03 Feb 2022 18:52:01 +0100
      Finished:     Thu, 03 Feb 2022 18:52:01 +0100
    Ready:          False
    Restart Count:  3
    Limits:
      cpu:     500m
      memory:  512Mi
    Requests:
      cpu:      10m
      memory:   64Mi
    Liveness:   exec [/bin/sh -c [ -f /run/nginx.pid ] && ps -A | grep nginx] delay=10s timeout=1s period=5s #success=1 #failure=3
    Readiness:  http-get http://:8080/ delay=10s timeout=1s period=5s #success=1 #failure=3
    Environment:
      CONTROLS_API_URL:               http://tackle-sample-controls-rest:8080/
      APPLICATION_INVENTORY_API_URL:  http://tackle-sample-application-inventory-rest:8080/
      PATHFINDER_API_URL:             http://tackle-sample-pathfinder-rest:8080/
      SSO_REALM:                      tackle
      SSO_CLIENT_ID:                  tackle-ui
      SSO_SERVER_URL:                 http://tackle-sample-keycloak:8080/
      DISABLE_IPV6:                   true
    Mounts:
      /var/run/secrets/kubernetes.io/serviceaccount from kube-api-access-bzkh4 (ro)
Conditions:
  Type              Status
  Initialized       True 
  Ready             False 
  ContainersReady   False 
  PodScheduled      True 
Volumes:
  kube-api-access-bzkh4:
    Type:                    Projected (a volume that contains injected data from multiple sources)
    TokenExpirationSeconds:  3607
    ConfigMapName:           kube-root-ca.crt
    ConfigMapOptional:       <nil>
    DownwardAPI:             true
QoS Class:                   Burstable
Node-Selectors:              <none>
Tolerations:                 node.kubernetes.io/not-ready:NoExecute op=Exists for 300s
                             node.kubernetes.io/unreachable:NoExecute op=Exists for 300s
Events:
  Type     Reason     Age                From               Message
  ----     ------     ----               ----               -------
  Normal   Scheduled  63s                default-scheduler  Successfully assigned my-tackle-operator/tackle-sample-ui-56776464bd-46xpn to minikube
  Normal   Pulled     61s                kubelet            Successfully pulled image "quay.io/konveyor/tackle-ui:1.2.0" in 1.374791712s
  Normal   Pulled     59s                kubelet            Successfully pulled image "quay.io/konveyor/tackle-ui:1.2.0" in 1.34762332s
  Normal   Pulled     37s                kubelet            Successfully pulled image "quay.io/konveyor/tackle-ui:1.2.0" in 1.452041533s
  Warning  BackOff    21s (x9 over 58s)  kubelet            Back-off restarting failed container
  Normal   Pulling    9s (x4 over 62s)   kubelet            Pulling image "quay.io/konveyor/tackle-ui:1.2.0"
  Normal   Created    8s (x4 over 61s)   kubelet            Created container tackle-sample-ui
  Normal   Started    8s (x4 over 60s)   kubelet            Started container tackle-sample-ui
  Normal   Pulled     8s                 kubelet            Successfully pulled image "quay.io/konveyor/tackle-ui:1.2.0" in 1.33613152s
@lautou
Copy link
Author

lautou commented Jul 7, 2022

Hi any update of this??

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

1 participant