Task #12178 (closed)
Opened 10 years ago
Closed 10 years ago
Test ice33/python>2.4 for 5.0.2
Reported by: | jamoore | Owned by: | jamoore |
---|---|---|---|
Priority: | critical | Milestone: | 5.0.2 |
Component: | Deployment | Version: | 5.0.1 |
Keywords: | n.a. | Cc: | cmacleod-x, khgillen, rleigh, spli, sbesson |
Resources: | n.a. | Referenced By: | n.a. |
References: | n.a. | Remaining Time: | n.a. |
Sprint: | n.a. |
Description
While testing https://trello.com/c/wN7c6yvq/47-linux-server for 5.0.1, it would have been necessary to recompile ice for a python version greater than 2.4. Instead, I made the necessary changes by hand to lib/python to allow python 2.4 to work, but this is not a safe thing to be doing generally.
Change History (6)
comment:1 Changed 10 years ago by jamoore
- https://www.centos.org/forums/viewtopic.php?t=22179
- http://www.zeroc.com/download_3_3_1.html
- https://index.docker.io/search?q=centos5
comment:2 Changed 10 years ago by jamoore
- Priority changed from major to critical
Moving to critical to at least try to look into this.
comment:3 Changed 10 years ago by jamoore
- Cc cmacleod-x khgillen rleigh spli added
With stick's help, I now have a Docker image for performing this testing. Once the release builds are ready, I can try it out.
comment:4 Changed 10 years ago by rleigh
While I can understand testing with Ice 3.3, I don't think it's useful or appropriate to test with the ZeroC Ice packages. They are too old to work on anything supported, and are linked against ancient versions of everything, obviously you've found python at issue here, but all the other libraries are also affected. It also misses all the bugfixes made for the 3.3 releases by the Linux distributors. If you're using Ice on Linux, you'll want those patches.
I'd suggest that you would be better using http://snapshot.debian.org/package/zeroc-ice/3.3.1-12/ as a starting point, which was the last supported and patched Ice release before 3.4 obsoleted it back in 2010 (it's that old). In particular, the patches in the diff.gz fix a number of problems building it and contain a whole set of bugfixes. Of course, it still won't build on a modern system even with the patches since it's so old and buggy, but it's a better starting point than the ZeroC stuff.
Regards,
Roger
comment:5 Changed 10 years ago by jamoore
The RPMS I'm using are built by Stick. Can certainly look at rebuilding them based on the Debian patchset, but for just getting a server up and running, I think what I have will work ok.
comment:6 Changed 10 years ago by jamoore
- Cc sbesson added
- Resolution set to fixed
- Status changed from new to closed
Steps taken:
- Configured local postgres to accept connections from docker:
sudo grep 172 /etc/postgresql/9.1/main/* /etc/postgresql/9.1/main/pg_hba.conf:host all omero 172.17.0.2/32 md5 /etc/postgresql/9.1/main/postgresql.conf:listen_addresses = 'localhost,172.17.42.1' #IP address(es) to listen on;
- sudo docker.io run -i -t -v /tmp/OMERO.server...rc2:/opt/omero centos6-ice33 /bin/bash
- adduser --uid 1000 omero
- sudo -u omero -s
- cd /opt/omero
- mkdir /tmp/data
- bin/omero config set omero.data.dir /tmp/data
- bin/omero config set omero.db.host 172.17.42.1
- bin/omero config set omero.db.name ome2
- bin/omero config set omero.web.application_server development
- bin/omero config set omero.web.debug true
- bin/omero admin start
- bin/omero script list - ok
- bin/omero script launch 19 - ok
- bin/omero web start
- Browse to http://172.17.0.2:4080/webclient/ ok
- Success!
Can do something similar with the final build, but for the moment this seems good to go.