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

🐛 [BUG]: Should the install_container_service playbook pass when the status is down? #63

Closed
paddyroddy opened this issue Jan 25, 2024 · 1 comment
Labels
problem Something isn't working

Comments

@paddyroddy
Copy link
Member

paddyroddy commented Jan 25, 2024

Bug Description

In https://github.com/UCL-MIRSG/UCLH-MPBE-SRR-XNAT, I have run install_xnat playbook, followed by install_container_service playbook. The playbook ends with

PLAY RECAP ************************************************************************************************************
xnat_cserv                 : ok=47   changed=3    unreachable=0    failed=0    skipped=7    rescued=0    ignored=0
xnat_web                   : ok=6    changed=0    unreachable=0    failed=0    skipped=0    rescued=0    ignored=0

I would interpret this as passing. However, when I go to the portal I can see
image
which clearly indicates that it did not work.

From looking at xnat-cserv /storage/xnat/data/xnat/home/logs I can see an error along the lines of

2024-01-25 12:04:09,874 [http-nio-8080-exec-9] ERROR org.nrg.containers.api.DockerControlApi - Failed to list images. jakarta.ws.rs.ProcessingException: java.net.UnknownHostException: xnat-cserv
org.mandas.docker.client.exceptions.DockerException: jakarta.ws.rs.ProcessingException: java.net.UnknownHostException: xnat-cserv

Error aside, it begs the question whether the playbook should have some kind of check to see it actually worked. By the time I got install_xnat to finish, the portal worked. So naively, I would expect the same here.

Steps to Reproduce

Acceptance Criteria

Related Work Items

No tasks being tracked yet.

Tasks

No tasks being tracked yet.
@paddyroddy paddyroddy added the problem Something isn't working label Jan 25, 2024
@p-j-smith
Copy link
Contributor

closing as a duplicate of #70

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
problem Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants