Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update DB2 version for Github Workflow test to. 11.5.9.0 #81

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

martinfanning1
Copy link
Collaborator

Update DB2 version for Github Workflow test now that DB2 Fixpack 11.5.9.0 is available

Move DB2 Github Workflow to latest Version - 11.5.9.0 Fixpack
@martinfanning1
Copy link
Collaborator Author

So to update further on the failing db2 test.. I think i know why and what is happening..

TLDR: Issue is with Rocky and DB2 11.5.9.0 fixpack

There are 2 issues ultimately.

Issue 1 - missing library
The Github Workflow error suggests there is a missing library
DBT3514W The db2prereqcheck utility failed to find the following 32-bit library file: "libstdc++.so.6".

From some research this is a required library for DB2 - https://www.ibm.com/docs/en/db2/11.5?topic=servers-linux
libstdc++.so.6 is required for Db2 database servers and clients.

When the Github Workflow runs i can see these libs installed
defaultworkflow

I had earlier in the week installed DB2 11.5.9.0 on a VM with RHEL and this passed the DB2 installation part- Jenkins Output

So to test out the missing library - i modified the DB2 molecule test to install IIM also - similar to the VM deployment flow.
This looked to have added the required library needed
iimworkflow

However the molecule tested failed albeit with a different error this time.. This leads us onto issue 2

Issue 2 - DB2 11.5.9.0 changes and impact on Rocky|
From googling furter on issues with DB2 11.5.9.0 i found the following issues highlighted for deploying the fixpack on Rocky -
https://dba.stackexchange.com/questions/333207/db2-v11-5-9-0-installation-error-while-loading-shared-libraries-libaws-cpp-sdk

It appears to stem from new changes introduced in the fixpack
Here is a list of these files in 11.5.8.0
1158

And the same in 11.5.9.0
1159

This matches what is explained in the link above..

So to test out this theory - while running the molecule test - i created the symlinks on the fly when the DB2 installer had laid them on the filesystem.

The install passed the point of the previous failure
Screenshot 2024-04-12 at 18 10 09

There are failures further on with the creation of the database - but i also had these locally with DB2 11.5.8.0.. Log attached for this failure.

So ultimately to get the DB2 11.5.9.0 molecule test to pass via Github workflow i think we need to implement the above 2 changes..

1159_molecule.txt

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant