Upgrade haproxy package to a version superior or equal to 1.5.0

Bug #1346365 reported by guillaume thouvenin
20
This bug affects 2 people
Affects Status Importance Assigned to Milestone
Fuel for OpenStack
Fix Released
Medium
Aleksander Mogylchenko

Bug Description

According to the following specification review (https://review.openstack.org/#/c/102273/) I need to use a version of HAProxy that supports SSL natively. That means a version of HAProxy that is more or equal to 1.5.0. This package is needed for both, CentOS and Debian.

For centos, openssl-devel is required, for debian it is libssl-dev.
For testing I did it manually as follow:

$ cd /tmp
$ wget http://www.haproxy.org/download/1.5/src/haproxy-1.5.2.tar.gz
$ tar xvf haproxy-1.5.2.tar.gz
$ cd haproxy-1.5.2
$ make TARGET=generic USE_OPENSSL=1
$ make install

NOTE: It needs to be confirmed but the support for SSL will be in fuel 6.0 and not in 5.1. So I targeted 5.1 but it needs to be verified.

Revision history for this message
Dmitry Burmistrov (dburmistrov) wrote :

Targeted to 6.0 due to feature-freeze status for 5.1

Changed in fuel:
milestone: 5.1 → 6.0
Roman Vyalov (r0mikiam)
Changed in fuel:
importance: Undecided → Medium
status: New → Confirmed
Revision history for this message
guillaume thouvenin (guillaume-thouvenin) wrote :

And just to be sure because I'm not convince that my initial report was clear, I need to have SSL enabled. By default it seems that HAProxy is not compiled with SSL support so the option USE_OPENSSL=1 needs to be added for both, deb and rpm.

Changed in fuel:
assignee: Fuel OSCI Team (fuel-osci) → Dmitry Burmistrov (dburmistrov)
status: Confirmed → In Progress
Revision history for this message
OSCI Robot (oscirobot) wrote :

Package haproxy has been built from changeset: http://gerrit.mirantis.com/20749
RPM Repository URL: http:///osci-obs.vm.mirantis.net:82/centos-fuel-master-20749/centos

Revision history for this message
OSCI Robot (oscirobot) wrote :

Package haproxy has been built from changeset: http://gerrit.mirantis.com/20750
DEB Repository URL: http:///osci-obs.vm.mirantis.net:82/ubuntu-fuel-master-20750/ubuntu

Revision history for this message
Dmitry Burmistrov (dburmistrov) wrote :

Need to apply attached patch to the CRs above. This patch refers to https://bugs.launchpad.net/fuel/+bug/1264388 and was initally applied to haproxy v.1.4.24.

Changed in fuel:
assignee: Dmitry Burmistrov (dburmistrov) → MOS Linux (mos-linux)
status: In Progress → Confirmed
Changed in fuel:
assignee: MOS Linux (mos-linux) → Aleksander Mogylchenko (amogylchenko)
Revision history for this message
Aleksander Mogylchenko (amogylchenko) wrote :

I had to modify the patch a little to make it work with new haproxy.

OpenSSL support is enabled in both Debian and CentOS.

Changed in fuel:
status: Confirmed → Fix Committed
Changed in fuel:
status: Fix Committed → In Progress
Revision history for this message
Aleksander Mogylchenko (amogylchenko) wrote :

Previous patch was incorrect - please ignore it.

I'm attaching new one, which works.

Revision history for this message
OSCI Robot (oscirobot) wrote :

Package haproxy has been built from changeset: http://gerrit.mirantis.com/21448
DEB Repository URL: http:///osci-obs.vm.mirantis.net:82/ubuntu-fuel-master-21448/ubuntu

Revision history for this message
OSCI Robot (oscirobot) wrote :

Package less.js has been built from changeset: http://gerrit.mirantis.com/29005
DEB Repository URL: http:///osci-obs.vm.mirantis.net:82/ubuntu-fuel-master-29005/ubuntu

Revision history for this message
OSCI Robot (oscirobot) wrote :

Package less.js has been built from changeset: http://gerrit.mirantis.com/29005
DEB Repository URL: http:///osci-obs.vm.mirantis.net:82/ubuntu-fuel-master/ubuntu

Revision history for this message
OSCI Robot (oscirobot) wrote :

Package twitter-bootstrap has been built from changeset: http://gerrit.mirantis.com/29001
DEB Repository URL: http:///osci-obs.vm.mirantis.net:82/ubuntu-fuel-master-29001/ubuntu

Revision history for this message
OSCI Robot (oscirobot) wrote :

Package twitter-bootstrap has been built from changeset: http://gerrit.mirantis.com/29001
DEB Repository URL: http:///osci-obs.vm.mirantis.net:82/ubuntu-fuel-master/ubuntu

Revision history for this message
OSCI Robot (oscirobot) wrote :

Package haproxy has been built from changeset: http://gerrit.mirantis.com/20750
DEB Repository URL: http:///osci-obs.vm.mirantis.net:82/ubuntu-fuel-master/ubuntu

Revision history for this message
OSCI Robot (oscirobot) wrote :

Package haproxy has been built from changeset: http://gerrit.mirantis.com/21448
DEB Repository URL: http:///osci-obs.vm.mirantis.net:82/ubuntu-fuel-master/ubuntu

Changed in fuel:
status: In Progress → Fix Committed
Revision history for this message
OSCI Robot (oscirobot) wrote :
Revision history for this message
OSCI Robot (oscirobot) wrote :
Revision history for this message
OSCI Robot (oscirobot) wrote :
Revision history for this message
Anastasia Palkina (apalkina) wrote :

Verified on custom ISO with Juno #27

"build_id": "2014-10-13_16-21-11", "ostf_sha": "1795445bcd30ae26111e760b284078e5688f322f", "build_number": "27", "auth_required": true, "api": "1.0", "nailgun_sha": "e02c2356dc4912b56c0a95651c404dfdb6fa3eae", "production": "docker", "fuelmain_sha": "c50f4d4963ee08cf85055b8ea6cc5ac575f6c1d0", "astute_sha": "980456ba80b49a7e3f237a299e52d4ab214f6f72", "feature_groups": ["mirantis"], "release": "6.0", "release_versions": {"2014.2-6.0": {"VERSION": {"build_id": "2014-10-13_16-21-11", "ostf_sha": "1795445bcd30ae26111e760b284078e5688f322f", "build_number": "27", "api": "1.0", "nailgun_sha": "e02c2356dc4912b56c0a95651c404dfdb6fa3eae", "production": "docker", "fuelmain_sha": "c50f4d4963ee08cf85055b8ea6cc5ac575f6c1d0", "astute_sha": "980456ba80b49a7e3f237a299e52d4ab214f6f72", "feature_groups": ["mirantis"], "release": "6.0", "fuellib_sha": "0a805160d25b8074f0969dd6b70e29d6b3e93928"}}}, "fuellib_sha": "0a805160d25b8074f0969dd6b70e29d6b3e93928"

/var/www/nailgun/2014.2-6.0/centos/fuelweb/x86_64/Packages/haproxy-1.5.3-3.mira3.x86_64.rpm
/var/www/nailgun/2014.2-6.0/ubuntu/fuelweb/x86_64/pool/main/haproxy_1.5.3-ubuntu3_amd64.deb

Changed in fuel:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.