API Connect

  • 1.  Install IBM API Connect to Openshift 4.7

    Posted Fri September 10, 2021 10:27 AM
    Hi everyone, 
    I am installing IBM API Connect 10.0.1.4 (with case version 2.1.6) to Openshift 4.7 follow the link of IBM: Installing on OpenShift in an air-gapped environment using a bastion host

    But when I run step 10.c with command: cloudctl case launch \ --case $CASE_LOCAL_PATH \ --namespace $NAMESPACE \ --inventory $CASE_INVENTORY_SETUP \ --action configure-cluster-airgap \ --args "--registry $LOCAL_DOCKER_REGISTRY --inputDir $OFFLINEDIR"

    I get an error like this: 

    [root@bidc-services ~]# cloudctl case launch --case $CASE_LOCAL_PATH --namespace $NAMESPACE --inventory $CASE_INVENTORY_SETUP --action configure-cluster-airgap --args "--registry $LOCAL_DOCKER_REGISTRY --inputDir $OFFLINEDIR"

    Welcome to the CASE launcher

    Attempting to retrieve and extract the CASE from the specified location

    [✓] CASE has been retrieved and extracted

    Attempting to validate the CASE

    [✓] CASE has been successfully validated

    Attempting to locate the launch inventory item, script, and action in the specified CASE

    [✓] Found the specified launch inventory item, action, and script for the CASE

    Attempting to check the cluster and machine for required prerequisites for launching the item

    Checking for required prereqs...

    Prerequisite                                   Result

    Kubernetes node resource must match a set of expressions defined in prereqs.yaml true

    OpenShift Container Platform Kubernetes version is 1.16 or greater        false

    Client has cloudctl version v3.4.1-1786 or greater                true

    Client has oc version 4.4.0 or greater                      true

    Required prereqs result: FAILED

    error: Parsing the actions prereqs failed

    I checked my k8s version on openshift and It is ok:

    [root@bidc-services ~]# oc version 

    Client Version: 4.7.0-0.okd-2021-08-07-063045

    Server Version: 4.7.0-0.okd-2021-08-07-063045

    Kubernetes Version: v1.20.0-1089+558d959332b3f1-dirty

    I don't know why I get this error? 
    Is there anyone installed Ibm api connect to openshift, please help me
    Thanks, 



    ------------------------------
    Nguyen Minh Phuong
    ------------------------------


  • 2.  RE: Install IBM API Connect to Openshift 4.7

    Posted Tue September 14, 2021 02:13 AM
    Hi , 
    as  what I can say  as the pre-request failed. " OpenShift Container Platform Kubernetes version is 1.16 or greater  false"

    check below  and compare , likely Open case with IBM support will help to get IBM OCP support 

    oc get nodes
    oc version


    ------------------------------
    JP
    Technical Solution Consultant
    Integration and Cybersecurity Platform
    ------------------------------



  • 3.  RE: Install IBM API Connect to Openshift 4.7

    Posted Thu September 16, 2021 01:04 PM
    Hi,
    I checked k8s version, it's 1.20 > 1.16. I don't know why I get error. I opened case with IBM support but I still don't have answer.

    Did you install apiconnect v10 to Openshift ? Which version of Openshift did you use?

    Thanks,
    ----

    [root@bidc-services ~]# oc version 

    Client Version: 4.7.0-0.okd-2021-08-07-063045

    Server Version: 4.7.0-0.okd-2021-08-07-063045

    Kubernetes Version: v1.20.0-1089+558d959332b3f1-dirty



    ------------------------------
    Nguyen Minh Phuong
    ------------------------------