-
-
Notifications
You must be signed in to change notification settings - Fork 102
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
aixPb: Add steps to install dnf and deprecate yum for AIX 7.2 and higher #3271
Conversation
As per @aixtools's comments in #3149 (comment) I am also in favour of using dnf only and deprecating yum @sxa What do you think? |
@aixtools I am not too familiar with infrastructure/ansible/playbooks/AdoptOpenJDK_AIX_Playbook/roles/yum/tasks/main.yml Line 15 in 1e3dfa0
Do you think it needs to be included in the dnf install? |
Given that we no longer build on AIX 71 and therefore cannot run on it, that sounds reasonable to me. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
These removals make me shudder a little, but if we can add a checksum into the toolbox download that would be good t avoid potential tampering ... Not sure how often that script gets updated though, so we may have to keep updating it.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
Going to test this on https://ci.adoptium.net/computer/test-osuosl-aix72-ppc64-5/, its yum will be upgraded to dnf |
Despite the docs saying it needs openssl 1.0.2.2001 and higher (which test-osuosl-aix72-ppc64-5 has)
the script is demanding openssl 1.1.x or higher
The openssl role ensures 1.0.2 is on the machine, do we have anything that depends on this version or could this be bumped to 1.1.x? @sxa @aixtools On our only 7.3 machine, on which dnf is installed, its openssl version is 3.0.7
|
OK so the important part here is thius message: Since this is an official IBM AIX download I would expect that it should be safe to install this, so I would suggest trying it on one of the AIX 7.2 machines if we haven't done so on any of the machines already. But good to know it shouldn't be a problem on the new AIX 7.3 machine. |
Installed openssl3 on test-osuosl-aix72-ppc64-5. Doesnt look like there was a problem
|
Its having trouble installing ca-certificates-2023.2.60-0.aix7.1.ppc.rpm which is included in the dnf bundle. A lot of conflicting files between ca-certificates-2023.2.60-0.aix7.1.ppc.rpm and the ca certs thats already installed, ca-certificates-2021.2.52-1.ppc. For example
(without posting the whole log) |
Updating ca-certificates to ca-certificates-2021.2.52-3 I was able to fix the above error. Dnf successfully installed |
Need to specify a python 3 interpreter
|
The package |
Changing the python interpreter to more info here https://community.ibm.com/community/user/power/discussion/dnf-works-but-unable-to-import-dnf-python-module |
Its having trouble installing some packages
Both of these packages are on the "exclude" list, that is they are not to be updated because we want to maintain a particular version. But I dont know why this would cause an error for ansible
|
Lets see what adding a |
Looks good, seems to have only updated some dependencies. Plus installing the packages as a list instead of using |
Same problem with the cmake install
Should be made more idempotent |
Added this to the cmake install. Should be fine if theres no cmake-3.14.3 present. Should do nothing if it is present |
Id say this is good to merge |
ref #3142 (comment)