doc: bring AIX steps up to date with reality#4340
Conversation
Signed-off-by: Stewart X Addison <sxa@ibm.com>
richardlau
left a comment
There was a problem hiding this comment.
Since sections have been removed/renamed please also update the links at the top of the file.
| What you do need to install manually is **ccache** | ||
| You may need to set up the AIX toolbox if it is not configured by default by | ||
| your provider, and potentially update python and pip to allow ansible to | ||
| communicate with it properly (`dnf install python3-pip` will often be enough) |
There was a problem hiding this comment.
python3-pip should be being installed via the playbook.
There may be packages such as python3-dnf (needed for the ansible.builtin.dnf/ansible.builtin.package tasks) which should be done as part of the bootstrap role if not already.
There was a problem hiding this comment.
It's installed explicitly via a download/install of pip3 outside the toolbox on AIX 7.2. I've left that as-is (I'm only testing on 7.3 just now) and am pulling down the python3-pip from the AIX Toolbox for 7.3
Co-authored-by: Richard Lau <richard.lau@ibm.com>
Co-authored-by: Richard Lau <richard.lau@ibm.com>
Co-authored-by: Richard Lau <richard.lau@ibm.com>
Co-authored-by: Richard Lau <richard.lau@ibm.com>
|
I'm also thinking that the playbooks should perhaps detect that some of the packages now required have been installed and warn the user explicitly if they're not present - listing them here explicitly: From the runtimes package:
From the utilities package:
|
Signed-off-by: Stewart X Addison <sxa@ibm.com>
|
Various changes in the latest version including:
|
| # Appears to be some issue with the Ansible dnf task on AIX and gcc10-c++, so handle separately. | ||
| aix73: [ | ||
| 'gcc8-c++,gcc12-c++' | ||
| 'gcc8-c++,gcc12-c++,python3-pip' |
There was a problem hiding this comment.
We could install python3-pip in ansible/roles/jenkins-worker/tasks/partials/tap2junit/aix73.yml as it'd be nearer to where it is actually needed.
And on that subject, it's probably my fault (or necessary when we supported older versions of AIX) but ansible/roles/jenkins-worker/tasks/partials/tap2junit/aix.yml and ansible/roles/jenkins-worker/tasks/partials/tap2junit/aix73.yml could likely be unified.
There was a problem hiding this comment.
Yeah I was a bit torn as to whether to leave that in the tap2junt role but I erred on the side of putting it next to some of the existing setup commands to keep those roles just for their intended installation. A philosophical question really, happy to move it if you'd prefer.
Yeah I agree that those could likely be unified into a common aix.yml but did it this way for now as i was only playing with 7.3 boxed and I wouldn't want to unify without verifying that it definitely worked on 7.2 (and also whether running the playbooks with it being pulled from the repos on 7.2 would conflict with machines already set up by the "outside dnf" setup)
|
@richardlau Are you ok with the Utilities install being in the |
I think its fine for now. We can move later if necessary. |
Signed-off-by: Stewart X Addison <sxa@ibm.com>
Signed-off-by: Stewart X Addison <sxa@ibm.com>
Signed-off-by: Stewart X Addison <sxa@ibm.com>
Signed-off-by: Stewart X Addison <sxa@ibm.com>
Signed-off-by: Stewart X Addison <sxa@ibm.com>
I've collapsed a few sections into twisties to make this a bit more digestible for people who want an overview of what's needed for setting up AIX systems from our providers.
Some additions, some removals of obsolete things/references to things that are no longer manual (e.g. cmake)
Preview at https://github.com/sxa/nodebuild/blob/aix73doc/ansible/MANUAL_STEPS.md#aix
Still in draft for now as I'm still experimenting:
ansible_python_interpretercan be configured properly as I haven't made it work other than from theansible-playbookcommand line yet. TBC - after the setup is complete this no longer seems to be required ...python3-pipis required to be installed manually (likely alsodnf-python)