-
Notifications
You must be signed in to change notification settings - Fork 17
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
Provision #619
Provision #619
Conversation
You should be good to test this. Let me know how it goes. |
@abessiari I'm excited to start testing :)
I'm guessing that you are self-testing on this branch? Changing
to
seems to have helped. Using:
Which seems to cause a little trouble as root permissions there prevent downloading an index to that location after the fact. I'm not sure what can be done about that given that docker is docker, but it seems that the amigo directory was created as the running user.
Okay, with that, skipping stage and moving on.
I get the error:
I get the feeling that some of the variable may not have been correctly set during my setup/build. |
Can you please zip and send me docker-compose.yaml and the other yaml files under stage_dir? |
Uploaded to the same place as the wiki data as: |
Okay, starting fresh on this, I think I have a better idea what might have gone wrong. This is now the -stage_dir: "{{ lookup('env', 'PWD') }}/stage_dir"
-branch: master
+stage_dir: "/tmp/stage"
+branch: provision
tag: latest
-repo: https://github.com/geneontology/amigo.git
+repo: https://github.com/abessiari/amigo.git
repo_dir: '{{ stage_dir }}/amigo' Continuing: I'm now able to get to this point okay. I'll continue on with testing from here. |
@abessiari Okay, I've tested as far as I currently can. I basically am able to run everything without incident now up until
|
Port 80 should be exposed. The others 8080 and 9999 no. |
Ah, okay, docker-compose is apparently its own thing: |
Okay, continuing some general testing, I think I have found a wrinkle. Going to http://amigo.example.com/amigo/term/GO:0045939, I get an internally generated (safe) 404 error. You can compare how it should look at http://noctua-amigo.berkeleybop.org/amigo/term/GO:0045939. To generate that page the perl script running through apache CGI attempts to contact Solr on both the While in the running amigo docker image (i.e.
I'm unsure, but these may be due to the named host proxy (and possibly some of the forwarding) running outside this container? |
Ok I will take a look. Thanks. |
Poking around a little, the AmiGO configuration that contains forward of / -> /amigo is in amigo/conf/amigo2-apache.conf . |
Thanks.
aes
…On Thu, Sep 16, 2021 at 4:25 PM kltm ***@***.***> wrote:
Poking around a little, the AmiGO configuration that contains forward of /
-> /amigo is in amigo/conf/amigo2-apache.conf .
The Ansible-ized version--the thing that you'd likely be interested in--is
found in the geneontology/operations repo in
operations/ansible/roles/amigo-golr/templates/amigo2-apache.conf; it is
part of the amigo-golr-up-production.yml playbook, for example.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#619 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/ALQOQSEJLO7AX342V4SSWVTUCJ4IBANCNFSM5DWPKMEQ>
.
Triage notifications on the go with GitHub Mobile for iOS
<https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675>
or Android
<https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub>.
|
Local Testing: I have updated the PROVISION_README file. The correct entries for /etc/hosts should have the ip address of host machine and not 127.0.0.1. :-( On mac I did ipconfig getifaddr en0 .... |
… simplifying debugging. fixed redeirect. turned off port 80 in amigo container as not needed
Starting from scratch, things are looking good so far and I have yet to run into any issues. I'll test a bit more and start in on the AWS deployment/testing. |
@kltm 192.168.1.208 amigo.example.com 192.168.1.208 is the ip address of the host machine. My mac. |
Testing has been going really well. I did find one thing that we should probably add, so far detailed here: https://github.com/berkeleybop/bbops/issues/8#issuecomment-947993831 |
@abessiari Merging to clear the deck. |
Added local provisionning and aws provisionning. of the amigo stack.
see docker/
see provision/
The readmes are in provision.