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

Allow running Deployer on Power #591

Open
fketelaars opened this issue Dec 4, 2023 · 4 comments
Open

Allow running Deployer on Power #591

fketelaars opened this issue Dec 4, 2023 · 4 comments
Assignees
Labels
finished-dev Finished development, waiting to be merged

Comments

@fketelaars
Copy link
Collaborator

fketelaars commented Dec 4, 2023

In CP4D 4.8, broader support for Power is available. Allow deployer to run on Power.

@fketelaars fketelaars self-assigned this Dec 4, 2023
@schabrolles
Copy link
Contributor

schabrolles commented Feb 24, 2024

Hi Frank,

If I could help on this, don't hesitate.
I quickly try to rebuild the container, but some product seems to be hardcoded to x86.
helm and some other are available on ppc64le, but I have some difficulties with openjdk-9.

Can we use openjdk-8 or other version (11,17,21) which are supported and can be easily setup with yum/dnf ?

I can provide remote access to an openshift on Power if needed ;)

@fketelaars fketelaars added the in progress Being worked on label Mar 2, 2024
fketelaars added a commit that referenced this issue Mar 2, 2024
fketelaars added a commit that referenced this issue Mar 2, 2024
fketelaars added a commit that referenced this issue Mar 3, 2024
@fketelaars
Copy link
Collaborator Author

Hi @schabrolles I made some initial changes to remove the Dockerfile x86 dependencies. Java and helm are only needed for CP4BA, hence deployer now only installs them if CP4BA is seelcted. Additionally I have removed olm-utils (v1) image from the Dockerfile as there is no Power version of it.

I would appreciate if you can test the changes in the deployer-power branch on your cluster.

@schabrolles
Copy link
Contributor

Hi @fketelaars

I make it work after some cleaning anf changes:

  1. in the Dockerfile:
  • Use a non-official valut port for Power (hashicorp doesn't provide them)
  • Add gcc and python devel to rebuild missing python dependencies during pip install
  • Workaround to build wheel due to some cython and PyYaml issues
  1. Fixing some hardcoded x86 binary download in shell script and Ansible
  • Create an ARCH variable (using uname -m) in order to automatically set the right arch when downloading files.

a container image is available here: quay.io/schabrolles/cloud-pak-deployer:latest

I've already tested it to deploy CP4D 4.8.3 with DB2 OLTP on Power, but we should share it with others for further testing.

@fketelaars
Copy link
Collaborator Author

Thanks @schabrolles , that is great news! Will pull in other resources who can test as well.

fketelaars added a commit that referenced this issue Apr 6, 2024
@fketelaars fketelaars added finished-dev Finished development, waiting to be merged and removed in progress Being worked on labels Apr 6, 2024
fketelaars added a commit that referenced this issue Apr 23, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
finished-dev Finished development, waiting to be merged
Projects
None yet
Development

No branches or pull requests

2 participants