Troubleshooting
Problem
For Trial deployments, when Postgres is pulled from the latest IBM catalog source during an install or upgrade to 1.6.9 or higher, the deployment fails.
Symptom
An error is displayed on install or upgrade:
Invalid value: \"500Mi\": Memory request is lower than PostgreSQL
shared_buffers value"
For example:
"error":"admission webhook \"vcluster.k8s.enterprisedb.io\" denied the request: Cluster.postgresql.k8s.enterprisedb.io \"noi-1610-noi-postgres-cluster\" is invalid: spec.resources.requests.memory: Invalid value: \"500Mi\": Memory request is lower than PostgreSQL `shared_buffers` value",
This error stops the noi instance from being installed at version 1.6.9, or higher, or being upgraded to 1.6.9 or higher.
Cause
When postgres is installed from the latest IBM operator catalog, the very latest version will be used. And for Trial deployments, the memory settings may not be compatible for Postgres.
Environment
This issue may occur on Trial deployments via OLM UI.
The issue does not occur on a production deployment, due to different memory buffer settings.
The issue also does not occur with CASE installs.
Diagnosing The Problem
The deployment error can be seen by looking at the logs for the noi-operator pod.
Resolving The Problem
To resolve the issue, modify the CR for NOI and add the following to the resources parameters under postgresql.
Note: this should only be required for a Trial size deployment.
spec:
postgresql:
resources:
limitsCPU: "1"
limitsMemory: 1Gi
requestsMemory: 1Gi
requestsCPU: 500m
Document Location
Worldwide
[{"Type":"MASTER","Line of Business":{"code":"LOB67","label":"IT Automation \u0026 App Modernization"},"Business Unit":{"code":"BU048","label":"IBM Software"},"Product":{"code":"SSTPTP","label":"Netcool Operations Insight"},"ARM Category":[{"code":"a8m500000008a8JAAQ","label":"NOI Netcool Operations Insights-\u003EInstall and configuration"}],"ARM Case Number":"","Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"1.6.9"}]
Was this topic helpful?
Document Information
Modified date:
27 June 2024
UID
ibm17090383