Project

General

Profile

Fix #8029

Package and include zeromq >= [3.2.5, 4.1.0, 4.0.2] for minions

Added by John Spray over 7 years ago. Updated over 7 years ago.

Status:
Resolved
Priority:
Normal
Assignee:
Sandon Van Ness
Category:
Backend (packaging/deployment)
Target version:
% Done:

100%

Source:
Development
Tags:
Backport:
Reviewed:
Affected Versions:
ceph-qa-suite:
Crash signature (v1):
Crash signature (v2):

Description

We need the fix for https://zeromq.jira.com/browse/LIBZMQ-39, because our use case hits it and causes a sudden silent death of salt-minion daemons (#7955).

The 3.x branch doesn't yet have a release with the fix (3.2.5 doesn't exist yet), but the main stable release 4.0.4 should be good.

Note that ubuntu precise ships a version of python-zmq that includes a bundled libzmq, so to get the fix we have to replace python-zmq. On RHEL it is cleaner and uses the libzmq3 package, but the version of python-zmq provided is older and probably won't work with zmq 4.x, so we probably have to update it anyway.

The painful part of this is going to be covering all four supported distros, RHEL6.5, CentOS6.5, Ubuntu 12.04 and Debian 7.

Associated revisions

Revision 6545349f (diff)
Added by Dan Mick over 7 years ago

Bump pyzmq version to 14.2.0 for newer libzmq

References: #8029
Signed-off-by: Dan Mick <>

History

#1 Updated by Ian Colle over 7 years ago

  • Assignee set to Dan Mick

#3 Updated by Dan Mick over 7 years ago

Seems like we probably want a copy of https://github.com/zeromq/zeromq4-x; I've made a fork in the calamari space. Sadly, it appears not to include any packaging at all. :(

#4 Updated by John Spray over 7 years ago

There's a specfile in there at least:
https://github.com/zeromq/zeromq4-x/blob/master/builds/redhat/zeromq.spec.in

For the debian case, it may be a case of modify the python-zmq build to use a different libzmq source (in the 'bundled' dir of what you get from "apt-get source python-zmq")

#5 Updated by Dan Mick over 7 years ago

I was able to update python-zmq to 14.2.0 for the -server venv version update. As it uses 4.0.4, I'll see if I can't build that version for packages for the minions.

#6 Updated by Ian Colle over 7 years ago

  • Target version changed from v1.2-dev8 to v1.2-dev9

#7 Updated by Ian Colle over 7 years ago

  • Status changed from New to In Progress

#8 Updated by Dan Mick over 7 years ago

  • Status changed from In Progress to New

Built 4.0.5 as an RPM on centos64; pushed spec changes for that to the inktankstorage clone. Perhaps this will serve for rhel?

libzmq3 is findable with 4.0.x for:

ubuntu/trusty: http://packages.ubuntu.com/trusty/libzmq3
debian/sid: https://packages.debian.org/sid/libzmq3

because I believe in both, python-zmq doesn't bundle libzmq3, but rather depends on the system package

#9 Updated by Dan Mick over 7 years ago

  • Status changed from New to In Progress
  • Source changed from other to Development

#10 Updated by Ian Colle over 7 years ago

  • Assignee changed from Dan Mick to Sandon Van Ness
  • Target version changed from v1.2-dev9 to v1.2-dev10

#11 Updated by Ian Colle over 7 years ago

  • Target version changed from v1.2-dev10 to v1.2-dev11

#12 Updated by Sandon Van Ness over 7 years ago

  • Status changed from In Progress to Resolved
  • % Done changed from 0 to 100

Marking this as closed. We have a job setup in jenkins for building the RPMs and we are pulling the RPM's from the official debian/ubuntu mirror for newer releases for the .debs.

Also available in: Atom PDF