API Connect

 View Only
  • 1.  APIC instalation on Kubernetes

    Posted Thu January 12, 2023 08:45 AM
    Edited by Vid Romac Thu January 12, 2023 08:53 AM


    Hello,

    we are in a process of installing a fresh APIC v10.0.5.1 instance in our k8s cluster, going thru the steps here - Deploying operators in a multi-namespace API Connect cluster

    At the final step of installing the operator, we pushed the updated [the namespace and docker repo info set] yaml via

    kubectl apply -f ibm-apiconnect-distributed.yaml


    The deployment starts and a pod spins up, however it goes into a crashback loop, with only the following logging info

    {"level":"info","ts":"2023-01-12T13:27:24.746Z","logger":"setup","msg":"APIConnect operator version 3.1.0, built 22-09-16T21:13:07, tag op.3.1.0.g.03bfb8d1.b.v1005.n.2248"}
    {"level":"info","ts":"2023-01-12T13:27:24.746Z","logger":"setup","msg":"Go Version: go1.17.13"}
    {"level":"info","ts":"2023-01-12T13:27:24.746Z","logger":"setup","msg":"Go OS/Arch: linux/amd64"}
    {"level":"info","ts":"2023-01-12T13:27:24.746Z","logger":"leader","msg":"Trying to become the leader."}
    I0112 13:27:26.797115       1 request.go:645] Throttling request took 1.045639573s, request: GET:https://10.96.0.1:443/apis/crunchydata.com/v1?timeout=32s
    {"level":"info","ts":"2023-01-12T13:27:28.070Z","logger":"leader","msg":"Found existing lock with my name. I was likely restarted."}
    {"level":"info","ts":"2023-01-12T13:27:28.070Z","logger":"leader","msg":"Continuing as the leader."}
    {"level":"info","ts":"2023-01-12T13:27:31.378Z","logger":"controller-runtime.metrics","msg":"metrics server is starting to listen","addr":":0"}
    {"level":"error","ts":"2023-01-12T13:27:31.379Z","logger":"setup","msg":"failed to cleanup deprecated leader lock","error":"resource name may not be empty","stacktrace":"main.main\n\t/workspace/ibm-apiconnect/main.go:201\nruntime.main\n\t/usr/local/go/src/runtime/proc.go:255"}
    {"level":"error","ts":"2023-01-12T13:27:34.681Z","logger":"setup","msg":"unable to get api support","error":"unable to get Group and Resources: unable to retrieve the complete list of server APIs: packages.operators.coreos.com/v1: the server is currently unable to handle the request","stacktrace":"main.main\n\t/workspace/ibm-apiconnect/main.go:206\nruntime.main\n\t/usr/local/go/src/runtime/proc.go:255"}


    what is it that is blocking the api support attempts,  where could we get more info on the root cause?


    #kubernetes

    ------------------------------
    Vid Romac
    ------------------------------
    ​​


  • 2.  RE: APIC instalation on Kubernetes

    User Group Leader
    Posted Wed January 25, 2023 11:38 AM

    Hello Vid, 

    hope all is well - I just heard back from our team and they suggested that you open a support ticket through the support site as they will be able to help you with the full log. a snippet might not be enough. 

    reach out if you need further help with the support ticket!



    ------------------------------
    Gabriel Marte Blanco
    Austin TX
    ------------------------------



  • 3.  RE: APIC instalation on Kubernetes

    Posted Tue January 31, 2023 08:05 AM
    Hello Vid,

    I have run into the same issue, if this was resolved, do you mind sharing how it was done?

    ------------------------------
    Allan Odera
    ------------------------------



  • 4.  RE: APIC instalation on Kubernetes

    Posted Tue January 31, 2023 09:30 AM
    Due to other issues during ACE installation, we had doubts our K8S cluster had an invalid CNI setup and we are in the process of rebuilding the k8s cluster and reinstalling ACE. We haven't been debugging this issue any further.

    Once we confirm the cluster+ACE is operating as expected, we will be returning to the APIC installation.

    Feel free to provide the IBM team with the info as @Gabriel Marte Blanco said, and update the thread if new information pops up.


    ------------------------------
    Vid Romac
    ------------------------------