[ome-users] Ansible playbook for installing OMERO 5.1 on CentOS 7

Tjelvar Olsson (JIC) Tjelvar.Olsson at jic.ac.uk
Thu Apr 16 13:58:03 BST 2015


Dear all,

I have created an Ansible script for installing OMERO 5.1 on a CentOS 7 machine.

You can access it from GitHub:

https://github.com/JIC-CSB/omero-ansible

The repository includes a Vagrant file for creating a CentOS 7 virtual machine,
which can be used for testing the Ansible playbook.

There are some outstanding issues in that errors are reported in the logs.

Log files:  Blitz-0.log                    38.0 KB       errors=1    warnings=1   
Log files:  DropBox.log                    3.0 KB        errors=4    warnings=2   
Log files:  FileServer.log                 0.0 KB       
Log files:  Indexer-0.log                  19.0 KB       errors=1    warnings=1   
Log files:  MonitorServer.log              0.0 KB       
Log files:  OMEROweb.log                   n/a
Log files:  PixelData-0.log                20.0 KB       errors=1    warnings=0   
Log files:  Processor-0.log                4.0 KB        errors=2    warnings=1   
Log files:  Tables-0.log                   4.0 KB        errors=2    warnings=1   
Log files:  TestDropBox.log                n/a
Log files:  master.err                     0.0 KB        errors=0    warnings=2   
Log files:  master.out                     0.0 KB       
Log files:  Total size                     0.09 MB

I’m not too worried about the DropBox errors as it has not been configured.

The Blitz, Index and PixelData errors seem to have something to do with the hostname.

2015-04-16 08:44:37,716 ERROR [                    net.sf.ehcache.Cache] (      main) Unable to set localhost. This prevents creation of a GUID. Cause was: vagrant-centos7: vagrant-centos7: Name or service not known
java.net.UnknownHostException: vagrant-centos7: vagrant-centos7: Name or service not known
        at java.net.InetAddress.getLocalHost(InetAddress.java:1473) ~[na:1.7.0_79]
        at net.sf.ehcache.Cache.<clinit>(Cache.java:166) ~[ehcache-core.jar:na]
        at net.sf.ehcache.config.ConfigurationHelper.createCache(ConfigurationHelper.java:303) [ehcache-core.jar:na]
        at net.sf.ehcache.config.ConfigurationHelper.createDefaultCache(ConfigurationHelper.java:218) [ehcache-core.jar:na]
        at net.sf.ehcache.CacheManager.configure(CacheManager.java:551) [ehcache-core.jar:na]
        at net.sf.ehcache.CacheManager.init(CacheManager.java:323) [ehcache-core.jar:na]
        at net.sf.ehcache.CacheManager.<init>(CacheManager.java:280) [ehcache-core.jar:na]
        at org.springframework.cache.ehcache.EhCacheManagerFactoryBean.afterPropertiesSet(EhCacheManagerFactoryBean.java:115) [org.springframework.context.support.jar:3.0.1.RELEASE-A]

Whereas the Processor and Tables errors seems to be in the Python layer.

2015-04-16 08:45:42,204 ERROR [                       omero.util.Server] (MainThread) Failed initialization
Traceback (most recent call last):
  File "/home/omero/OMERO.server-5.1.0-ice35-b40/lib/python/omero/util/__init__.py", line 493, in run
    self.impl = self.impl_class(ctx)
  File "/home/omero/OMERO.server-5.1.0-ice35-b40/lib/python/omero/processor.py", line 753, in __init__
    omero.util.Servant.__init__(self, ctx, needs_session=needs_session)
  File "/home/omero/OMERO.server-5.1.0-ice35-b40/lib/python/omero/util/__init__.py", line 579, in __init__
    self.ctx.newSession()
  File "/home/omero/OMERO.server-5.1.0-ice35-b40/lib/python/omero/util/__init__.py", line 340, in newSession
    self.communicator, stop_event=self.stop_event)
  File "/home/omero/OMERO.server-5.1.0-ice35-b40/lib/python/omero/util/__init__.py", line 217, in internal_service_factory
    raise excpt
NoEndpointException: exception ::Ice::NoEndpointException
{
    proxy = BlitzManager -t -e 1.1 @ BlitzAdapters
}

Any suggestions on how I can make these errors disappear would be gratefully received.

Kind regards,

Tjelvar


More information about the ome-users mailing list