Update Nginx Configuration to use Microservice after updating OMERO-Web #438
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This PR fixes the issue #436 .
I have added a check on the
idr-omero-web
playbook for Micros-services user existence, i.e.,omero-server.
If so, it runs theomero_ms_image_region
role to update the Nginx configuration file for MS.The MS deployment cannot be moved to this playbook as the MS user is created after running this playbook.
The molecule test failed without modification due to the failure of starting
iptables
servicehttps://github.com/khaledk2/deployment/actions/runs/11316428331/job/31468697284#step:5:1497
I have checked this issue and found out that it failed due to this error:
/sbin/iptables does not exist
I have checked the
iptables_raw
role and successfully ran the molecule test. I compared the installation packages on the role molecule test and the installation package on the deployment playbook, and they are not identical; more packages are installed on the role which are related toiptables-nft.
I have changed the installation package on the iptables_raw from
iptables-services
toiptables-nft-services
and updated the deployment requirements to point to this modified branch (https://github.com/khaledk2/ansible-role-iptables-raw/tree/refs/heads/upgrade_package_name).Then I ran the molecule tests in the deployment repo and it passed.
I will open PR for the
iptables_raw
role shortly