Maximo Open Forum

 View Only
  • 1.  rhm-data-service pod error on mas install - single node

    Posted 11 days ago

    Hello,

    I'm installing MAS (tried 9.1 and 9.2) on a SNO (4.18.43) server in Azure via mas cli and running into an error when the rhn-data-service-0 pod starts which makes the install fail.

    2026-07-02T20:31:21.919Z ERROR server/main.go:101 failed to initialize db connection {"error": "write info.yaml: chmod /data/airgap/.info.yaml3832525635: operation not permitted"}
    main.main.func1
    /src/airgap/v2/cmd/server/main.go:101
    github.com/spf13/cobra.(*Command).execute
    /opt/app-root/src/go/pkg/mod/github.com/spf13/cobra@v1.10.2/command.go:1015
    github.com/spf13/cobra.(*Command).ExecuteC
    /opt/app-root/src/go/pkg/mod/github.com/spf13/cobra@v1.10.2/command.go:1148
    github.com/spf13/cobra.(*Command).Execute
    /opt/app-root/src/go/pkg/mod/github.com/spf13/cobra@v1.10.2/command.go:1071
    main.main
    /src/airgap/v2/cmd/server/main.go:182
    runtime.main
    /usr/lib/golang/src/runtime/proc.go:290
    Error: write info.yaml: chmod /data/airgap/.info.yaml3832525635: operation not permitted
    I've tried when I have seen from searching online. New entitlement key, setting the replicas to 1, etc. I'm not sure what DB its trying to initialize. My next step would be to bring a full cluster and see if I still get the error but I was hoping to avoid that.
    Any ideas?
    Thanks
    Andy

    #MaximoApplicationSuite

    ------------------------------
    Thanks,
    Andy
    ------------------------------


  • 2.  RE: rhm-data-service pod error on mas install - single node

    Posted 9 days ago

    Andy,

    I have seen something similar previously and in most cases it has to do with the Entitlement Key. The issue sometimes has been when copy/pasting the key for example if using the MASCLI an extra space may get added or I had a scenario when the user provided the key they added a carriage return in the text file versus enabling word wrap. I forget which exact secret you need to look at but in OpenShift Workload --> Secrets look for ibm-entitlement and check that the key has not extra space between the quotes or a carriage return. When viewing use the "Reveal Value" as the YAML is encrypted.



    ------------------------------
    Michael Marsonet
    MRM-EAM Consulting Inc.
    ------------------------------



  • 3.  RE: rhm-data-service pod error on mas install - single node

    Posted 8 days ago
    Hi Andy,
    This is actually an Azure storage infrastructure constraint rather than a traditional external database connectivity issue (like Db2 or SQL Server).
    The rhm-data-service pod (Red Hat Marketplace data service) utilizes a local, file-backed SQLite/embedded metadata store (.info.yaml) to cache license entitlement keys and airgap state data. During the pod's initialization lifecycle, the internal Go binary attempts to execute a standard Linux chmod operation to secure permissions on that folder structure. [2]
    If your Single Node OpenShift (SNO) cluster is dynamically provisioning persistent volumes using the azurefile-csi (Azure Files via SMB/CIFS) storage class, this execution fails. By default, SMB layers mounted into unprivileged, non-root containers do not support standard POSIX chmod/chown semantics, throwing the exact operation not permitted crash loop you are experiencing.
    Depending on whether you are running a manual install or using an automated framework, here are the paths to clear the error:

    Solution Path A: If Using Automated Helper Utilities (mas-cli)

    If you are leveraging the automated IBM Maximo Application Suite CLI utility (mas-cli engine) to dynamically spin up your deployment components, the automated installer attempts to match workloads with appropriate defaults. [3, 4]
    You can explicitly override storage providers globally during non-interactive installations by supplying flags to separate file systems from block devices. Instead of feeding azurefile-csi universally, explicitly target the block layer for read-write-once (RWO) operator caches: [1, 3, 5]
    # Force operational metrics to rely strictly on Azure Disk Block Storage 
    --storage-rwo managed-csi \
    --storage-rwx azurefile-csi
    
    This maps the data service pods to an underlying block architecture that natively permits file modifications.

    Solution Path B: Direct azurefile-csi StorageClass Customization

    If you prefer to continue backing your operators with Azure Files, you must configure the storage provisioner to mask and bypass remote container permission enforcement.
    ⚠️ Disclaimer: Please validate this modification in a sandbox or staging context before applying it universally to standard multi-node production storage manifests. Bypassing volume permission validations entirely (noperm) can alter security expectations depending on tenant multi-occupancy structures.
    To speed up execution, you can run this single-line patch script to inject the required noperm parameter into your dynamic cluster configuration:
    # 1. Patch the storage class with required CIFS execution overrides
    oc patch storageclass azurefile-csi --type='json' -p='[{"op": "add", "path": "/mountOptions", "value": ["noperm", "mfsymlinks", "actimeo=30"]}]'
    
    # 2. Cycle the crashing metrics collector pod to bind with new mount policies
    oc delete pod -l app=rhm-data-service -n ibm-software-central
    

    What this script alters under the hood:

    The JSON patch modifies your standard azurefile-csi manifest definition directly:
    apiVersion: storage.k8s.io/v1
    kind: StorageClass
    metadata:
      name: azurefile-csi
    provisioner: ://azure.com
    mountOptions:
      - noperm      # Tells the mount layer to skip remote client chmod/chown verification
      - mfsymlinks  # Retains support for Unix symbolic links on the file share
      - actimeo=30  # Adjusts attribute caching timers for optimized cluster communication
    
    Once the pod recycles with the noperm mount rule, the Go application will complete its internal file check operations successfully and allow the rest of your MAS operator platform chain to deploy seamlessly.
    Let us know if dropping in the automation flags or running the storage class patch clears the block on your Azure SNO node!

    Let me know if you would like to expand on specific namespace contexts for the metrics operator or require additional scripts for verification!
    Please see the sources used to answer your question


    ------------------------------
    [Fredrick] [Ndwaru]
    [Perpetual Ignition]
    ------------------------------



  • 4.  RE: rhm-data-service pod error on mas install - single node

    Posted 7 days ago

    Hi Frederick,

    Thanks for the great reply. I tried modifying the storageclass but openshift wouldn't let me. I installed a new SNO and tried with the same results. I then tried deleting the storageclass to then recreate it but it wouldn't let me do that either. Using the interactive install with MAS CLI I chose those storage classes for RWO and RWX and that worked. I had tried both with managed-csi previously but it doesn't like that for the RWX. 

    Also, thanks for including those links at the bottom. They were very helpful in learning more about the install process.



    ------------------------------
    Thanks,
    Andy
    ------------------------------



Newest Episode
Ep. 2 | Adding a QR Code to a BIRT Report

Watch Steven Shull walk through how to add a QR code to a BIRT report and make Maximo reporting more scannable, connected, and useful in the field.

MORE by Naviam Episode 2 cover
Watch Episode 2
Also available: Ep. 1 | IBM Maximo Application Suite 9.2