You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
There seems to be a Db2 related issue, specifically with apply-db2cfg-settings.sh script
Before hitting this problem, I faced the same issue described in #1077 and I followed the workaround for reruning the command which seems to have worked for that issue.
Environment
MAS Core v8.11.5
Maximo Manage 8.7.3
VPC in IBM Cloud
Steps to reproduce
Install MAS Core with Oneclick Installer
Install Maximo Manage with Oneclick Installer
The installer initially fails due to issue described in 1077. Before rerun installer, trigger the following command: oc exec -n db2u c-db2w-shared-db2u-0 -- su -lc '/tmp/setupdb.sh | tee /tmp/setupdb2.log' db2inst1
Rerun the installer, this time, no issue related to setupdb.sh
In apply-db2cfg-settings.sh steps, getting the following error:
SQL1668N The operation failed because the operation is not supported with
this environment. Reason code: "9".
{"level":"info","result":"stdout: Waiting for up to 180 sec until a change is detected in the relevant configmaps... change detected\n(*) Applying Db2 registry variables\ndb2set DB2AUTH=OSAUTHDB,ALLOW_LOCAL_FALLBACK,PLUGIN_AUTO_RELOAD\ndb2set DB2FODC=DUMPSHM=ON CORESHM=OFF\ndb2set DB2_4K_DEVICE_SUPPORT=ON\ndb2set DB2_ATS_ENABLE=YES\ndb2set DB2_BCKP_PAGE_VERIFICATION=TRUE\ndb2set DB2_CDE_DCC=\"\"\ndb2set DB2_CDE_REDUCED_LOGGING=REDUCED_REDO:NO\ndb2set DB2_DCC_BINARY_FILE=\"\"\ndb2set DB2_DCC_FILE_CHUNKSZ=\"\"\ndb2set DB2_DCC_FILE_DEL_THRES=\"\"\ndb2set DB2_DCC_FILE_INS_THRES=\"\"\ndb2set DB2_DCC_FILE_PATH=\"\"\ndb2set DB2_EVALUNCOMMITTED=YES\ndb2set DB2_FMP_COMM_HEAPSZ=65536\ndb2set DB2_FMP_RUN_AS_CONNECTED_USER=NO\ndb2set DB2_INLIST_TO_NLJN=YES\ndb2set DB2_LOAD_COPY_NO_OVERRIDE=COPY YES TO /mnt/bludata0/db2/copy\ndb2set DB2_MINIMIZE_LISTPREFETCH=Y\ndb2set DB2_OBJECT_STORAGE_LOCAL_STAGING_PATH=/mnt/backup/staging\ndb2set DB2_OBJECT_TABLE_ENTRIES=65532\ndb2set DB2_REMOTE_EXTTAB_PIPE_PATH=/db2u/tmp\ndb2set DB2_RESTORE_GRANT_ADMIN_AUTHORITIES=ON\ndb2set DB2_SKIPDELETED=ON\ndb2set DB2_SKIPINSERTED=ON\ndb2set DB2_USE_ALTERNATE_PAGE_CLEANING=ON\ndb2set DB2_WORKLOAD=ANALYTICS\ndb2set DB2_OVERRIDE_NUM_CPUS=6\ndb2set DB2_OVERRIDE_THREADING_DEGREE=2\ndb2set DB2COMM=TCPIP,SSL\nWolverine HA management state was disabled successfully.\nRunning db2stop force\n01/24/2024 19:43:44 0 0 SQL1064N DB2STOP processing was successful.\nSQL1064N DB2STOP processing was successful.\n \nApplication ipclean: Removing all IPC resources for db2inst1(500)\nc-db2w-shared-db2u-0.c-db2w-shared-db2u-internal: ipclean -a completed ok\nRunning db2start\n01/24/2024 19:43:57 0 0 SQL1063N DB2START processing was successful.\nSQL1063N DB2START processing was successful.\nDb2 was started successfully\nWolverine HA management state was enabled successfully.\n hostname: c-db2w-shared-db2u-0","caller":"[13]:db2.go:306:ApplyCfg()","timestamp":"2024-01-24T19:44:03Z","message":"executed apply Db2 configuration cmd for setting regvar"}
{"level":"error","caller":"[13]:k8s_v2.go:542:cleanUp()","error":"update failed: the server rejected our request due to an error in our request","timestamp":"2024-01-24T19:50:16Z","message":"failed to remove expired locks"}
{"level":"error","component":"server","subComponent":"GetDb2Health","caller":"[13]:db2.go:262:GetDb2Health()","timestamp":"2024-01-24T19:56:11Z","message":"1 MLNs found in MLN dist file, but only 0 db2sysc processes match"}
{"level":"error","caller":"[13]:k8s_v2.go:542:cleanUp()","error":"update failed: the server rejected our request due to an error in our request","timestamp":"2024-01-24T20:10:16Z","message":"failed to remove expired locks"}
{"level":"error","caller":"[13]:k8s_v2.go:542:cleanUp()","error":"update failed: the server rejected our request due to an error in our request","timestamp":"2024-01-24T20:20:16Z","message":"failed to remove expired locks"}
{"level":"error","caller":"[13]:k8s_v2.go:542:cleanUp()","error":"update failed: the server rejected our request due to an error in our request","timestamp":"2024-01-24T21:00:16Z","message":"failed to remove expired locks"}
Preparing DBC's
delserversession.dbc
====================
<?xml version="1.0" encoding="UTF-8"?><!DOCTYPE script SYSTEM "script.dtd"><script author="ManageOperator" scriptname="deleteserversess"><description></description>
<statements><freeform description="get maxvar"><sql target="all">delete from serversession</sql></freeform>
</statements></script>
Reduced downtime type:regularUpgrade
Failure control type:retry
Starting database validation for maxinst or updatedb...
MAXVAR return code = 0
Running querycount utility with where clause: varname = 'MAXUPG' and (varvalue like 'V761%' or varvalue like 'V76010%' or varvalue like 'V8%')
DB check return code = 0 (zero is good)
Query count is 0
Maximo version not supported...
Forcing job to error so deployment initContainer does not release.
Hi @rcarcamogbm
This issue was only present on a VPC ROKS cluster, honestly, I don't know why at that moment it failed, I later rerun the creation of Manage but by using the MAS CLI installer and it worked without issues.
It was strange as both MAS CLI and OneClick installer used the same db2 ansible role.
Summary
Attempting to install Maximo Manage is unsuccessful by using the OneClick AddManage playbook
There seems to be a Db2 related issue, specifically with
apply-db2cfg-settings.sh
scriptBefore hitting this problem, I faced the same issue described in #1077 and I followed the workaround for reruning the command which seems to have worked for that issue.
Environment
MAS Core v8.11.5
Maximo Manage 8.7.3
VPC in IBM Cloud
Steps to reproduce
oc exec -n db2u c-db2w-shared-db2u-0 -- su -lc '/tmp/setupdb.sh | tee /tmp/setupdb2.log' db2inst1
Relevant Logs
DB2 pod log of Maximo Manage:
c-db2w-shared-db2u-0.log
MAS Manage Maxinst pod log:
https://ibm.box.com/s/b5cp5forgrd81tu9rzx3cn2fgp5g18pn
Ansible Playback for Manage OneClick Installer:
Full log: playbook_install.log
Currently the installation is still running but there is no indication it will succeed.
ManageWorkspace:
oc describe ManageWorkspace
The text was updated successfully, but these errors were encountered: