Maximo

Maximo

Come for answers, stay for best practices. All we're missing is you.

 View Only
Expand all | Collapse all

UDS instance creation fails during MAS installation

  • 1.  UDS instance creation fails during MAS installation

    Posted Tue July 25, 2023 09:38 AM

    When I try to install MAS v8.10 (SNO on AWS), I get an error creating an instance of IBM User Data Services.
    I tried with the latest version of UDS v2.0.10 and the previous version v2.0.9, but neither worked.
    Has anyone faced similar error?
    If you know how to deal with it, please let me know.

    Log of task execution

    =========================================

    TASK [ibm.mas_devops.uds : Wait for the AnalyticsProxy to be ready] ************
    Tuesday 25 July 2023 13:08:54 +0000 (0:00:00.719) 0:00:06.747 **********
    FAILED - RETRYING: [localhost]: Wait for the AnalyticsProxy to be ready (30 retries left).
    FAILED - RETRYING: [localhost]: Wait for the AnalyticsProxy to be ready (29 retries left).
    FAILED - RETRYING: [localhost]: Wait for the AnalyticsProxy to be ready (28 retries left).
    FAILED - RETRYING: [localhost]: Wait for the AnalyticsProxy to be ready (27 retries left).



    ------------------------------
    Yuji Ohashi
    ------------------------------


  • 2.  RE: UDS instance creation fails during MAS installation

    Posted Wed July 26, 2023 02:44 AM

    Hi Yuji,
    the development team is addressing the issue. In the meantime, issue this patching command to make the installation continue:

    oc patch PostgresCluster -n ibm-common-services instrumentationdb --type='merge' -p='{"spec": {"backups": {"pgbackrest": {"image": "registry.connect.redhat.com/crunchydata/crunchy-pgbackrest@sha256:efe775d3208befb2b7f026ef5fee3b03b306a9ba773709ec5c4c3391880ee60b"}}, "image": "registry.connect.redhat.com/crunchydata/crunchy-postgres@sha256:6b570ee2922281eedc5c267c50ad30a895fbb4e8a132c3e2c3a38e29fe3d6f6a"}}'


    ------------------------------
    Alex Donatelli
    IBM
    ------------------------------



  • 3.  RE: UDS instance creation fails during MAS installation

    Posted Wed July 26, 2023 01:55 PM

    Hi Alex,

    I had exactly the same problem today and your workaround fixed it. I hope IBM includes a permanent fix in next catalog.



    ------------------------------
    Alexander Goryachev
    ------------------------------



  • 4.  RE: UDS instance creation fails during MAS installation

    Posted Thu July 27, 2023 03:04 PM

    Hello,

    At what point in the installation should the patch be applied? While it is FAILED - RETRYING? Should I wait until its the only task running?

    Thanks



    ------------------------------
    Andrew Meuse
    ------------------------------



  • 5.  RE: UDS instance creation fails during MAS installation

    Posted Thu July 27, 2023 09:52 PM
    Hi Andrew,
     
    In my case, I applied the patch after mas-install pipeline failed.
    Then I restarted the pipeline and it was fine.


    ------------------------------
    Yuji Ohashi
    ------------------------------



  • 6.  RE: UDS instance creation fails during MAS installation

    Posted Fri July 28, 2023 09:41 AM

    Thanks. I ended up keeping an eye on the Crunchy Postgres install and patched as soon as that was done and was successful. 



    ------------------------------
    Andrew Meuse
    ------------------------------



  • 7.  RE: UDS instance creation fails during MAS installation

    Posted Fri July 28, 2023 02:07 AM

    After apply this patch, in my case it fixed the issue and I could continue. Thanks Alex Donatelli!!!



    ------------------------------
    Flores Gallegos Romero
    ------------------------------



  • 8.  RE: UDS instance creation fails during MAS installation

    Posted Fri July 28, 2023 01:52 AM

    I have a similar error after install MAS:

    FAILED - RETRYING: [localhost]: Wait for the AnalyticsProxy to be ready (1 retries left).
    fatal: [localhost]: FAILED! => {"api_found": true, "attempts": 30, "changed": false, "resources": [{"apiVersion": "uds.ibm.com/v1", "kind": "AnalyticsProxy", "metadata": {"creationTimestamp": "2023-07-21T10:57:06Z", "generation": 1, "managedFields": [{"apiVersion": "uds.ibm.com/v1", "fieldsType": "FieldsV1", "fieldsV1": {"f:spec": {".": {}, "f:airgappeddeployment": {".": {}, "f:enabled": {}}, "f:allowed_domains": {}, "f:db_archive": {".": {}, "f:frequency": {}, "f:persistent_storage": {".": {}, "f:storage_size": {}}, "f:retention_age": {}}, "f:db_type": {}, "f:env_type": {}, "f:event_scheduler_frequency": {}, "f:ibmproxyurl": {}, "f:image_pull_secret": {}, "f:kafka": {".": {}, "f:storage_size": {}, "f:zookeeper_storage_size": {}}, "f:license": {".": {}, "f:accept": {}}, "f:postgres": {".": {}, "f:backup_frequency": {}, "f:backup_type": {}, "f:storage_size": {}}, "f:proxy_settings": {".": {}, "f:http_proxy": {}, "f:https_proxy": {}, "f:no_proxy": {}}, "f:storage_class": {}, "f:tls": {".": {}, "f:airgap_host": {}, "f:uds_host": {}}}}, "manager": "OpenAPI-Generator", "operation": "Update", "time": "2023-07-21T10:57:06Z"}, {"apiVersion": "uds.ibm.com/v1", "fieldsType": "FieldsV1", "fieldsV1": {"f:status": {".": {}, "f:conditions": {}}}, "manager": "ansible-operator", "operation": "Update", "subresource": "status", "time": "2023-07-21T10:57:07Z"}, {"apiVersion": "uds.ibm.com/v1", "fieldsType": "FieldsV1", "fieldsV1": {"f:status": {"f:phase": {}}}, "manager": "OpenAPI-Generator", "operation": "Update", "subresource": "status", "time": "2023-07-21T10:57:22Z"}], "name": "analyticsproxy", "namespace": "ibm-common-services", "resourceVersion": "410004", "uid": "e019a3c8-72d3-45d7-b087-9492769d61e0"}, "spec": {"airgappeddeployment": {"enabled": false}, "allowed_domains": "*", "db_archive": {"frequency": "@monthly", "persistent_storage": {"storage_size": "10G"}, "retention_age": 6}, "db_type": "internal", "env_type": "lite", "event_scheduler_frequency": "@daily", "ibmproxyurl": "https://iaps.ibm.com", "image_pull_secret": "uds-images-pull-secret", "kafka": {"storage_size": "5G", "zookeeper_storage_size": "5G"}, "license": {"accept": true}, "postgres": {"backup_frequency": "@daily", "backup_type": "incremental", "storage_size": "10G"}, "proxy_settings": {"http_proxy": "", "https_proxy": "", "no_proxy": ""}, "storage_class": "ibmc-block-gold", "tls": {"airgap_host": "", "uds_host": ""}}, "status": {"conditions": [{"lastTransitionTime": "2023-07-21T10:57:07Z", "message": "Running reconciliation", "reason": "Running", "status": "True", "type": "Running"}], "phase": "Installing"}}]}

    In my case I think the problem is Crunchy Postgres for Kubernetes 5.4.0. In this link explain any more: https://github.com/ibm-mas/ansible-devops/issues/589



    ------------------------------
    Flores Gallegos Romero
    ------------------------------



  • 9.  RE: UDS instance creation fails during MAS installation

    Posted Fri July 28, 2023 02:13 AM

    FYI, this issue should be fixed in the just released MAS 8.10.3



    ------------------------------
    Alex Donatelli
    IBM
    ------------------------------



  • 10.  RE: UDS instance creation fails during MAS installation

    Posted Wed September 13, 2023 10:08 AM

    We are in the same step, we have used the command that you suggested but didn't work. These is the error message we are getting: 



    ------------------------------
    David González
    ------------------------------



  • 11.  RE: UDS instance creation fails during MAS installation

    Posted Wed September 13, 2023 10:48 AM

    What is your OCP release? Are you sure you are not running on 4.13?



    ------------------------------
    Alex Donatelli
    IBM
    ------------------------------



  • 12.  RE: UDS instance creation fails during MAS installation

    Posted Mon September 25, 2023 10:26 AM

    I also encountered this message, someone knows how to fix this? I'm using the following version.

    OpenShift 4.13.11

    UDS 2.0.11

    Thanks in advance.



    ------------------------------
    John Paul Degala
    ------------------------------



  • 13.  RE: UDS instance creation fails during MAS installation

    Posted Mon September 25, 2023 10:31 AM

    You should not use OpenShift 4.13. It is not supported. You should use OCP 4.12



    ------------------------------
    Alex Donatelli
    IBM
    ------------------------------



  • 14.  RE: UDS instance creation fails during MAS installation

    Posted Wed March 20, 2024 02:52 PM

    Hi Alex,

    I am using OpenShift 4.14 and facing the same error, any fix available for OpenShift 4.14 and UDS 2.0.11?

    Thanks



    ------------------------------
    Amina Waqar
    ------------------------------



  • 15.  RE: UDS instance creation fails during MAS installation

    Posted Thu March 21, 2024 03:16 AM

    Hi Amina,

    OCP 4.14 is still to be supported. The current supported version by MAS 8.11 is OCP 4.12 as you can from here: https://www.ibm.com/software/reports/compatibility/clarity/softwareReqsForProduct.html
    Moreover, you should stop deploying UDS. Pls note this early announcement: https://community.ibm.com/community/user/asset-facilities/blogs/kim-woodbury1/2024/03/07/attention-valued-customers-its-time-to-upgrade-fro
    In any case, in the future, a little more info is needed to be able to help you to resolve any errors.



    ------------------------------
    Alex Donatelli
    IBM
    ------------------------------