Skip to content
This repository has been archived by the owner on Jun 18, 2021. It is now read-only.

Mapr #108

Merged
merged 6 commits into from
Sep 7, 2016
Merged

Mapr #108

merged 6 commits into from
Sep 7, 2016

Conversation

joshmoore
Copy link
Member

Replaces #104

An example of using Ansible to setup web apps such as Mapr on the IDR. Work in progress, play with it if you want.

@@ -61,6 +62,51 @@
omero_systemd_setup: True
omero_db_create: False

omero_web_app_packages:
- "git+git://github.com/aleksandra-tarkowska/mapannotations.git#egg=mapr"
Copy link
Member

@atarkowska atarkowska Aug 27, 2016

Choose a reason for hiding this comment

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

repo name has been changed, now you can pip install omero-mapr, lets verify pypi release

workaround: set `omero_{db,omero}_host_ansible` explicitly
@joshmoore
Copy link
Member Author

Current run:

...
RUNNING HANDLER [omero-web-apps : restart omero-web] ***************************
Thursday 01 September 2016  09:44:47 +0200 (0:00:07.730)       0:02:37.059 ****
changed: [demo3-omero] => {"changed": true, "name": "omero-web", "state": "started"}

PLAY [proxy-hosts] *************************************************************
skipping: no hosts matched

PLAY RECAP *********************************************************************
demo3-omero                : ok=75   changed=9    unreachable=0    failed=0

Thursday 01 September 2016  09:44:52 +0200 (0:00:04.975)       0:02:42.035 ****
===============================================================================
omero-server : omero | upgrade ----------------------------------------- 13.65s
omero-server : omero | enable and start server systemd ----------------- 11.86s
omero-web-apps : omero web config | add top links ----------------------- 7.73s
python-pydata : system packages | install python data analysis tools ---- 5.65s
nginx : logrotate | configure main file --------------------------------- 5.22s
omero-server : omero | server systemd service --------------------------- 5.14s
omero-server : omero | create common configuration file ----------------- 5.11s
omero-server : omero | web systemd service ------------------------------ 5.04s
omero-web-apps : restart omero-web -------------------------------------- 4.98s
upgrade-distpackages : system packages | upgrade ------------------------ 4.66s
nginx : nginx | remove default config ----------------------------------- 3.29s
omero-server : omero | enable and start web systemd --------------------- 3.27s
omero-web-runtime : omero web | pip install packages -------------------- 3.09s
omero-server : omero | create omero directories ------------------------- 3.08s
postgresql : postgres | setup repository -------------------------------- 2.69s
omero-web-runtime : omero web | remove python packages ------------------ 2.56s
omero-server : system packages | install python virtualenv -------------- 2.54s
omero-web-runtime : omero web | install python packages ----------------- 2.50s
versioncontrol-utils : system packages | install epel repo -------------- 2.48s
redis : system packages | install epel repo ----------------------------- 2.45s

real    2m44.205s
user    0m26.843s
sys     0m11.163s

@joshmoore joshmoore mentioned this pull request Sep 6, 2016
@joshmoore
Copy link
Member Author

As reported yesterday, this still has significant issues trying to get the order of properties correct. Merging as this is the current state of demo3, but it will need significant refactoring before being idempotent.

@joshmoore joshmoore merged commit 78d65aa into ome:master Sep 7, 2016
@joshmoore joshmoore deleted the mapr branch September 7, 2016 11:08
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants