Skip to content

Add WebLogic support for RHEL 9#123

Merged
salob merged 1 commit intomainfrom
mf_WeblogicOnRHEL9
Feb 27, 2025
Merged

Add WebLogic support for RHEL 9#123
salob merged 1 commit intomainfrom
mf_WeblogicOnRHEL9

Conversation

@martinfanning1
Copy link
Collaborator

@martinfanning1 martinfanning1 commented Feb 27, 2025

With RHEL 9 being supported in 8.2.0.0 - we need to ensure that it can deploy correctly.

An initial test on a RHEL9 VM with Weblogic failed due to

TASK [merative.spm_middleware.weblogic : Include based on OS version variables] *** fatal: [mfwlsorarhel9]: FAILED! => {"ansible_facts": {}, "ansible_included_var_files": [], "changed": false, "message": "Could not find or access 'os_9.yml'\nSearched in:\n\t/home/jenkins/remoting/workspace/DevOps-Jenkins-ProvisionerWrapper/playbooks/install_middleware/ansible_collections/merative/spm_middleware/roles/weblogic/vars/os_9.yml\n\t/home/jenkins/remoting/workspace/DevOps-Jenkins-ProvisionerWrapper/playbooks/install_middleware/ansible_collections/merative/spm_middleware/roles/weblogic/os_9.yml\n\t/home/jenkins/remoting/workspace/DevOps-Jenkins-ProvisionerWrapper/playbooks/install_middleware/ansible_collections/merative/spm_middleware/roles/weblogic/tasks/vars/os_9.yml\n\t/home/jenkins/remoting/workspace/DevOps-Jenkins-ProvisionerWrapper/playbooks/install_middleware/ansible_collections/merative/spm_middleware/roles/weblogic/tasks/os_9.yml\n\t/home/jenkins/remoting/workspace/DevOps-Jenkins-ProvisionerWrapper/ansible/playbooks/install_middleware/vars/os_9.yml\n\t/home/jenkins/remoting/workspace/DevOps-Jenkins-ProvisionerWrapper/ansible/playbooks/install_middleware/os_9.yml on the Ansible Controller.\nIf you are using a module and expect the file to exist on the remote, see the remote_src option"}

This PR covers updates required to support this.

  • New os_9 vars file for WLS
  • New Molecule test for WLS on Rocky9
  • New Github workflow for this test

With support for RHEL9 coming we should possibly start to add in Rocky9 molecule tests alongside the Rocky 8 tests.
Ultimately we will remove support for Rocky8 once we no longer support RHEL8 for customers.

With RHEL 9 being supported in 8.2.0.0 - we need to ensure that it can deploy correctly.

An initial test on a RHEL9 VM failed due to

`TASK [merative.spm_middleware.weblogic : Include based on OS version variables] ***
fatal: [mfwlsorarhel9]: FAILED! => {"ansible_facts": {}, "ansible_included_var_files": [], "changed": false, "message": "Could not find or access 'os_9.yml'\nSearched in:\n\t/home/jenkins/remoting/workspace/DevOps-Jenkins-ProvisionerWrapper/playbooks/install_middleware/ansible_collections/merative/spm_middleware/roles/weblogic/vars/os_9.yml\n\t/home/jenkins/remoting/workspace/DevOps-Jenkins-ProvisionerWrapper/playbooks/install_middleware/ansible_collections/merative/spm_middleware/roles/weblogic/os_9.yml\n\t/home/jenkins/remoting/workspace/DevOps-Jenkins-ProvisionerWrapper/playbooks/install_middleware/ansible_collections/merative/spm_middleware/roles/weblogic/tasks/vars/os_9.yml\n\t/home/jenkins/remoting/workspace/DevOps-Jenkins-ProvisionerWrapper/playbooks/install_middleware/ansible_collections/merative/spm_middleware/roles/weblogic/tasks/os_9.yml\n\t/home/jenkins/remoting/workspace/DevOps-Jenkins-ProvisionerWrapper/ansible/playbooks/install_middleware/vars/os_9.yml\n\t/home/jenkins/remoting/workspace/DevOps-Jenkins-ProvisionerWrapper/ansible/playbooks/install_middleware/os_9.yml on the Ansible Controller.\nIf you are using a module and expect the file to exist on the remote, see the remote_src option"}`

This PR covers updates required to support this.

os_9 vars file for WLS
new Molecule test for WLS on Rocky9
new Github workflow for this test
@salob salob merged commit 9d84f9f into main Feb 27, 2025
12 checks passed
@salob salob deleted the mf_WeblogicOnRHEL9 branch February 27, 2025 16:43
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.

2 participants