Maximo

Maximo

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

 View Only
  • 1.  MAS 9 core installation issue

    Posted Tue January 07, 2025 12:32 AM

    Hello All,

    We are Installing MAS on ROSA cluster, during MAS core Installation we used the docker command to pull the lastest image:

    docker run -ti --rm -v ~:/mnt/home --pull always quay.io/ibmmas/cli

    Project mas-xxxx-pipelines is created and pipeline mas-install is created but during mas-install pipeline we are getting an error

    In logs it's showing below error

    fatal: [localhost]: FAILED! =>

    • openshift-migration/mtc-operator = UpgradePending
      * openshift-migration/redhat-oadp-operator-stable-1.0-redhat-operators-openshift-marketplace = UpgradePending
      * openshift-monitoring/configure-alertmanager-operator = AtLatestKnown
      * openshift-must-gather-operator/must-gather-operator = AtLatestKnown
      * openshift-observability-operator/observability-operator = AtLatestKnown
      * openshift-ocm-agent-operator/ocm-agent-operator = AtLatestKnown
      * openshift-operators/devspaces = AtLatestKnown
      * openshift-operators/devworkspace-operator-fast-redhat-operators-openshift-marketplace = AtLatestKnown
      * openshift-operators/external-secrets-operator = None
      * openshift-operators/openshift-gitops-operator = None
      * openshift-operators/openshift-pipelines-operator-rh = AtLatestKnown
      * openshift-operators/quay-bridge-operator = None
      * openshift-operators/runtime-fabric-operator = None
      * openshift-osd-metrics/osd-metrics-exporter = AtLatestKnown
      * openshift-rbac-permissions/rbac-permissions-operator = AtLatestKnown
      * openshift-route-monitor-operator/route-monitor-operator = None
      * openshift-splunk-forwarder-operator/openshift-splunk-forwarder-operator = AtLatestKnown
      * rhacs-operator/rhacs-operator = None
    • Delaying 300 seconds before next check
      fatal: [localhost]: FAILED! =>
      msg: 'Error: One or more subscriptions did not update to the latest known operator version'

      NO MORE HOSTS LEFT *************************************************************

      PLAY RECAP *********************************************************************
      localhost : ok=4 changed=0 unreachable=0 failed=1 skipped=0 rescued=0 ignored=0


    ------------------------------
    Siva Kumar
    ------------------------------


  • 2.  RE: MAS 9 core installation issue

    Posted Tue January 07, 2025 01:30 AM

    In Pipeline, under which stage it fails?  Are you able to see the operators in operator hub? is it private or public cluster?



    ------------------------------
    Ritesh Ranjan
    ------------------------------



  • 3.  RE: MAS 9 core installation issue

    Posted Tue January 07, 2025 01:39 AM

    Hi Ritesh,

    it is a private RoSA cluster.At the initial stage of MAS install (OCP Verify)

    Yes , I can see the installed operators 



    ------------------------------
    Siva Kumar
    ------------------------------



  • 4.  RE: MAS 9 core installation issue

    Posted Wed January 08, 2025 02:34 AM

    Hi Siva,

    I have used mascli image recently on Azure but I did not face this issue.

    And also, with Ansible scripts on ROSA, I have not faced this issue.

    Since it is private cluster, I hope you also have proper network connectivity to internet as in outbound.

    Could you try OCP verify role ansible scripts directly instead of mas cli image?



    ------------------------------
    Ritesh Ranjan
    ------------------------------



  • 5.  RE: MAS 9 core installation issue

    Posted Wed January 08, 2025 02:22 AM

    Hi Siva,

    i've installed multiple MAS instances on ROSA HCP and it worked without issues, but i've used the Ansible scripts directly in the MAS CLI and not the Tekton pipeline. 

    Also please check the cluster health - are all of the COs in Available state or some are degraded or updating?



    ------------------------------
    Witold Wierzchowski
    Solution Architect
    Cohesive Poland
    ------------------------------



  • 6.  RE: MAS 9 core installation issue

    Posted Wed January 08, 2025 09:51 AM

    Hi Siva,

    Please check the status of the following operators in the Installed Operators section of OCP:

    • mtc-operator
    • redhat-oadp-operator

    If there are no errors, check whether the subscription is set to manual or automatic. If it is manual, change it to automatic and try again.



    ------------------------------
    Ramakrishnudu Kayala
    ------------------------------



  • 7.  RE: MAS 9 core installation issue

    Posted Wed January 08, 2025 02:26 PM

    Hi Ramakrishnudu Kayala,

    I have asked the ROSA team to look at both operators as they have the cluster admin rights.

    Thank you!



    ------------------------------
    Siva Kumar
    ------------------------------



  • 8.  RE: MAS 9 core installation issue

    Posted Tue January 28, 2025 12:57 AM

    Siva, as I can see there are still some operators in the status "UpgradePending":

    * openshift-migration/redhat-oadp-operator-stable-1.0-redhat-operators-openshift-marketplace = UpgradePending

    If some other the operators remain in this status and are not fully installed then by default the pipeline will failed after a number of attempts. There are multiple root causes why the operator isn't fully installed:

    -  The package manifest is not enabled or installed
    -  The operator shows install error (e.g. there is an older or conflicting install plan that prohibits the installation
    -  There are errors found in the OLM (Operators Lifecycle Management) pod

    Possible steps to avoid this error:

    -  remove the deployment yaml file for this specific operator (can be found in the namespace where the operator is installed.
    -  remove the operator itself (it will re-install when you re-run the pipeline)
    -  Disable and re-enable the package manifest (there are multiple "how to's" available via Redhet OpenShift portal or via IBM

    https://www.ibm.com/docs/en/cloud-paks/cp-management/2.2.x?topic=tcsiu-operator-shows-upgradepending-status-olm-known-issue




    ------------------------------
    Jan-Willem Steur
    Manager Business Development
    ZNAPZ b.v.
    Breda
    +31 6 25639950
    Jan-Willem
    ------------------------------



  • 9.  RE: MAS 9 core installation issue

    Posted Tue March 25, 2025 09:31 AM

    At which stage does the pipeline fail?
    Can you see the operators in the Operator Hub?
    Is it a private or public cluster?



    ------------------------------
    Zohaib Arshad
    ------------------------------