Maximo

Maximo

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

 View Only
  • 1.  Manage - Unable to Ping OpenShift Internal Image Registry – DNS Lookup Failure

    Posted Tue May 20, 2025 07:25 AM

    Hi,

    I'm encountering an issue during the installation of Maximo Manage. Inside the pod dev-mas-masdev-manage-maxinst, I see the following error:

    pinging container registry image-registry.openshift-image-registry.svc:5000: Get "https://image-registry.openshift-image-registry.svc:5000/v2/": dial tcp: lookup image-registry.openshift-image-registry.svc: no such host

    Could you please advise if there is any configuration needed to change or add an external IP for OpenShift so that the pod can correctly resolve and access image-registry.openshift-image-registry.svc:5000?


    Thanks



    ------------------------------
    Hariprasad R
    ------------------------------


  • 2.  RE: Manage - Unable to Ping OpenShift Internal Image Registry – DNS Lookup Failure

    Posted Wed May 21, 2025 02:02 AM

    That is an internal OpenShift registry URL. It should be resolvable by any pod running in OCP. On the other hand, maxinst has no business trying to access internal image registry. 

    Can You share a bit wider output from the logs?



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



  • 3.  RE: Manage - Unable to Ping OpenShift Internal Image Registry – DNS Lookup Failure

    Posted Wed May 21, 2025 02:24 AM

    Hi Witold Wierzchowski,

    The following error appears in the logs:
    [root@mas-dev core]# oc logs dev-mas-masdev-manage-maxinst-5dcf4c594d-bfc4h
    Error from server (BadRequest): container "manage-maxinst-maxinst" in pod "dev-mas-masdev-manage-maxinst-5dcf4c594d-bfc4h" is waiting to start: trying and failing to pull image.

    The Maxinst pod is attempting to pull the image from the internal registry, but it is failing to do so, as shown in the attached image.




    ------------------------------
    Hariprasad R
    ------------------------------



  • 4.  RE: Manage - Unable to Ping OpenShift Internal Image Registry – DNS Lookup Failure

    Posted Thu May 22, 2025 02:22 AM

    Are Your Manage builds in order? In Openshift go to Builds > Builds and change project to mas-dev-mas-manage. Check for failed builds.
    Also check if the internal image registry pods are running. These pods are in the openshift-image-registry project



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



  • 5.  RE: Manage - Unable to Ping OpenShift Internal Image Registry – DNS Lookup Failure

    Posted Thu May 22, 2025 07:29 AM

    Hi, 

    The image registry pod is running and also i checked the builds all are completed. 

    Thanks,



    ------------------------------
    Hariprasad R
    ------------------------------



  • 6.  RE: Manage - Unable to Ping OpenShift Internal Image Registry – DNS Lookup Failure

    Posted Sun May 25, 2025 01:41 PM

    Hi, I've been working through an internal registry issue and have made some progress in resolving it. Now, I need some help understanding the next part of the process.

    I'm trying to locate where the source files for MAS Manage are copied before the image is built. I want to verify and modify something before the build process completes, but I'm not sure which directory or container path holds these files.

    Has anyone knows the correct location or documentation that outlines this step?

    Thanks



    ------------------------------
    Hariprasad R
    ------------------------------



  • 7.  RE: Manage - Unable to Ping OpenShift Internal Image Registry – DNS Lookup Failure

    Posted Mon May 26, 2025 07:29 AM

    Hi Hariprasad,

    in general all Maximo core, product extensions and customization files are brought together during the MAXINST image build process. 
    If you need to add or overwrite something before Maximo EAR is built then you simply add it to your customization archive as this one is brought in as the last one (NOTE: If you have multiple customization archives they are copied over in order of occurrence in the ManageWorkspace CR).

    If you need to have finer control over the MAXINST build process (e.g. you would wish to run a shell script), then you may use similar technique as one described in the IBM MAS Manage - Automatic Root Context Redirect article (ref. postpreprocessor.sh).



    ------------------------------
    If this post helps, please consider accepting it as a solution to help other members find it more quickly.

    Andrzej Więcław
    Maximo Technical SME
    ZNAPZ B.V.
    Wrocław, Poland
    ------------------------------



  • 8.  RE: Manage - Unable to Ping OpenShift Internal Image Registry – DNS Lookup Failure

    Posted Tue May 27, 2025 01:34 PM

    Hey,

    Manage final images are build using images pulled from IBM servers (cp.icr.io to be specific). Depending on the version and the add-ons You have chosen there are different images being pulled. You can check the list in the BuildConfig called admin-build-config in the mas-xxx-manage project (xxx is Your MAS instance id).



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



  • 9.  RE: Manage - Unable to Ping OpenShift Internal Image Registry – DNS Lookup Failure

    Posted Fri June 06, 2025 12:52 AM

    Hi guys,

    Thanks for the clarification.

    I'll refer to the postpreprocessor.sh approach from the Automatic Root Context Redirect article and work on implementing it, appreciate you for sharing that.

    I had reviewed the admin-build-config in the mas-xxx-manage project and added my customizations accordingly.

    Thanks again for the helpful info!

    Thanks,



    ------------------------------
    Hariprasad R
    ------------------------------