Layer 7 API Management

Expand all | Collapse all

Installing Portal 4.4 in EKS AWS

  • 1.  Installing Portal 4.4 in EKS AWS

    Posted 01-16-2020 08:15 AM

    Hi,
    have any one try to install Portal 4.4 in AWS EKS.

    I am using

    Kubernetes version : 1.14
    helm version: 3
    Source of  portal: https://github.com/CAAPIM/portal-helm-charts
    Platform: AWS

    but I even found error running a --dry-run.. 

    Error: unable to build kubernetes objects from release manifest: error validating "": error validating data: [unknown object type "nil" in ConfigMap.data.TELEMETRY_CHARGEBACK_ID, unknown object type "nil" in ConfigMap.data.TELEMETRY_DOMAIN_NAME, unknown object type "nil" in ConfigMap.data.TELEMETRY_PROXY_URL, unknown object type "nil" in ConfigMap.data.TELEMETRY_SITE_ID]
    exit status 1

    but looking in the values file,, it is set to false, so It should not Complain or take in account this values.

    telemetry:
    telemetry_pla_enabled: false
    telemetry_usage_type: PRODUCTION
    telemetry_domain_name
    telemetry_site_id
    telemetry_chargeback_id
    telemetry_proxy_url
    telemetry_proxy_username
    telemetry_proxy_password
    I will appreciate any help


    ------------------------------
    Carlos PImentel
    ------------------------------


  • 2.  RE: Installing Portal 4.4 in EKS AWS

    Posted 01-16-2020 10:11 AM

    I would like to add to this as I am currently helping Carlos with this issue.

    I got past the Telemetry part, but it seems that the format of the strategy is not compatible with the apps/v1 API.

    I have raised this with BC Support, but we MUST have this built in the next 3 working days, so any help would be appreciated.

    Vince-Baker-Apiida:portal-helm-charts vbaker$ whhelm install apiida_portal1 . --namespace wh-api-gw2
    Error: unable to build kubernetes objects from release manifest: error validating "": error validating data: ValidationError(StatefulSet.spec): unknown field "strategy" in io.k8s.api.apps.v1.StatefulSetSpec
    exit status 1


    ------------------------------
    Senior Architect
    Apiida AG
    Https://www.apiida.com
    ------------------------------



  • 3.  RE: Installing Portal 4.4 in EKS AWS

    Posted 01-17-2020 08:03 AM
    Hello!

    I installed Portal4.4 with single Developer Portal 4.4 and single MySQL (not cluster)
    After executing
    ./config.sh

    I got ./conf/portal.conf as below.

    PORTAL_DOMAIN=mydomain
    PORTAL_LICENSE_FILENAME=/opt/apim-portal-4.4-final/LICENSE.xml
    PORTAL_ENROLL_NOTIFICATION_EMAIL=no-replay@aaa.com
    PORTAL_ENABLE_ANALYTICS=y

    And I add database setting to portal.conf, the lines shown as below,

    PORTAL_DATABASE_TYPE=mysql
    PORTAL_DATABASE_HOST=192.168.101.20
    PORTAL_DATABASE_PORT=3306
    PORTAL_DATABASE_USERNAME=managerA
    PORTAL_DATABASE_PASSWORD="XXXXXXXXX"
    PORTAL_SSO_DEBUG=false

    and run
    ./portal.sh

    It looks like OK and I run,
    ./status.sh

    Checking for CA API Developer services
    portal_historical ----------------------- RUNNING
    portal_rabbitmq ------------------------- RUNNING
    portal_portal-enterprise ---------------- RUNNING
    portal_analytics-server ----------------- RUNNING
    portal_portal-data ---------------------- RUNNING
    portal_kafka ---------------------------- RUNNING
    portal_dispatcher ----------------------- RUNNING
    portal_authenticator -------------------- RUNNING
    portal_broker --------------------------- RUNNING
    portal_solr ----------------------------- RUNNING
    portal_minio ---------------------------- [|]

    I waited and waited, but nothing happend.

    docker service logs -f portal_minio
    portal_minio.1.gnhqebr7e35n@gcpdpct102 |
    portal_minio.1.gnhqebr7e35n@gcpdpct102 | You are running an older version of MinIO released 5 months ago
    portal_minio.1.gnhqebr7e35n@gcpdpct102 | Update: docker pull minio/minio:RELEASE.2020-01-16T03-05-44Z
    portal_minio.1.gnhqebr7e35n@gcpdpct102 |
    portal_minio.1.gnhqebr7e35n@gcpdpct102 |
    portal_minio.1.gnhqebr7e35n@gcpdpct102 | Endpoint: http://10.0.2.36:9000 http://172.18.0.5:9000 http://127.0.0.1:9000
    portal_minio.1.gnhqebr7e35n@gcpdpct102 |
    portal_minio.1.gnhqebr7e35n@gcpdpct102 | Browser Access:
    portal_minio.1.gnhqebr7e35n@gcpdpct102 | http://10.0.2.36:9000 http://172.18.0.5:9000 http://127.0.0.1:9000
    portal_minio.1.gnhqebr7e35n@gcpdpct102 |
    portal_minio.1.gnhqebr7e35n@gcpdpct102 | Object API (Amazon S3 compatible):
    portal_minio.1.gnhqebr7e35n@gcpdpct102 | Go: https://docs.min.io/docs/golang-client-quickstart-guide
    portal_minio.1.gnhqebr7e35n@gcpdpct102 | Java: https://docs.min.io/docs/java-client-quickstart-guide
    portal_minio.1.gnhqebr7e35n@gcpdpct102 | Python: https://docs.min.io/docs/python-client-quickstart-guide
    portal_minio.1.gnhqebr7e35n@gcpdpct102 | JavaScript: https://docs.min.io/docs/javascript-client-quickstart-guide
    portal_minio.1.gnhqebr7e35n@gcpdpct102 | .NET: https://docs.min.io/docs/dotnet-client-quickstart-guide
    portal_minio.1.gnhqebr7e35n@gcpdpct102 | Exiting on signal: TERMINATED

    What should I do for the issue?

    p.s.
    I'm beginer for the communities.
    It's the first time to post my message here.
    I failed to find out how can I post my question.
    So I post it by replying the message concerned to Developer Portal 4.4's installation.

    ​​