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

Add ansible and docker install doc - former "install.rst" #2291

Open
wants to merge 4 commits into
base: develop
Choose a base branch
from

Conversation

pwalczysko
Copy link
Member

@pwalczysko pwalczysko commented Jan 25, 2023

As discussed with @joshmoore and @jburel , this moves the install.rst doc from ome/omero-guides#236 to this repo.

The discussion points with regards to the installation attempted on Mac (MacBookPro and M1) using Docker:

The attempted OS-es listed in https://docs.google.com/document/d/1z-bwbXKztHOZTLICP7x0kzstRJ_krYzMfid1JLR90UI/edit?usp=sharing - in summary:

  • CentOS 7 (python 3.6) - success
  • CentOS 7 (python 3.8) - crash on zeroice [1]. Edit: J-M. require scl Python. Not supported
  • Ubuntu (18.04, 20.04, 22.04 (not supported yet in ansible role), python 3.8) - crash on zeroice [1]

See also the discussion on the previous PR:

[1] - crash on zeroice (this example is CentOS 7 python 3.8, but as stated in the gdoc, similar crashes happen on Ubuntu too.

pip3 install --upgrade pip
pip install ansible
ansible --version
ansible [core 2.13.7]
python3 --version
Python 3.8.12
pip --version
pip 22.3.1 from /usr/local/lib/python3.8/site-packages/pip (python 3.8)

...
ansible-playbook --become --connection=local -i hosts.yml playbook.yml
....
TASK [ome.omero_server : omero server | install requirements] ******************
fatal: [localhost]: FAILED! => {"changed": false, "cmd": ["/opt/omero/server/venv3/bin/pip", "install", "omego==0.7.0", "https://github.com/ome/zeroc-ice-py-centos7/releases/download/0.2.1/zeroc_ice-3.6.5-cp36-cp36m-linux_x86_64.whl", "omero-py>=5.6.0", "omero-dropbox>=5.6.1", "jinja2", "omero-server[default]==0.1.0"], "msg": "\n:stderr: ERROR: zeroc_ice-3.6.5-cp36-cp36m-linux_x86_64.whl is not a supported wheel on this platform.\nWARNING: You are using pip version 21.1.1; however, version 22.3.1 is available.\nYou should consider upgrading via the '/opt/omero/server/venv3/bin/python3 -m pip install --upgrade pip' command.\n"}

@joshmoore
Copy link
Member

This is great, @pwalczysko. Thanks for kicking this off! ❤️

@jburel
Copy link
Member

jburel commented Feb 3, 2023

Looking at the file
https://github.com/ome/ansible-role-omero-server/blob/master/defaults/main.yml#L85 It should work on Ubuntu20.04 with Python 3.8

@jburel
Copy link
Member

jburel commented Feb 6, 2023

18.04 is EOL at the end of April so I don't think we need to consider it

Assuming that Docker is installed, clone the deployment examples repository (if not already cloned)::

$ git clone https://github.com/ome/omero-deployment-examples.git
$ cd omero-deployment-examples
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Do you need to clone omero-deployment-examples at all? I think I've just used docker-example-omero on it's own before.

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.

4 participants