5 Commits

Author SHA1 Message Date
Akihiro Motoki
8e8f721f6f Add libffi-dev to bindep.txt
libffi-dev is required to install cffi and PyNaCL from tarballs.
cffi is installed from requirements.txt, so 'test' profile is not
specified.

We usual use wheel packages when installing python packages,
but tarball is sometimes used, for example, when a new version
is uploaded. I think it is worth adding it to bindep.txt
to avoid accidental gate failure.

Closes-Bug: #1697613
Change-Id: I4800c9f213fa5c8f28c8603e022264e6aa139090
2017-06-13 19:26:49 +00:00
Matt Riedemann
1e98b0a83e Add libssl packages to bindep
The pep8 images in infra no longer have ssl installed by
default so we have to specify them in bindep.

Change-Id: Icbdb5d442935438f01031f745157a8b39cd672a4
2017-06-06 19:19:38 -04:00
Daniel Alvarez
3b22541a2a Switch ns-metadata-proxy to haproxy
Due to the high memory footprint of current Python ns-metadata-proxy,
it has to be replaced with a lighter process to avoid OOM conditions in
large environments.

This patch spawns haproxy through a process monitor using a pidfile.
This allows tracking the process and respawn it if necessary as it was
done before. Also, it implements an upgrade path which consists of
detecting any running Python instance of ns-metadata-proxy and
replacing them by haproxy. Therefore, upgrades will take place by
simply restarting neutron-l3-agent and neutron-dhcp-agent.

According to /proc/<pid>/smaps, memory footprint goes down from ~50MB
to ~1.5MB.

Also, haproxy is added to bindep in order to ensure that it's installed.

UpgradeImpact

Depends-On: I36a5531cacc21c0d4bb7f20d4bec6da65d04c262
Depends-On: Ia37368a7ff38ea48c683a7bad76f87697e194b04

Closes-Bug: #1524916
Change-Id: I5a75cc582dca48defafb440207d10e2f7b4f218b
2017-03-08 15:20:50 +00:00
Andreas Jaeger
6d7586e0d1 Fix periodic jobs: Add databases to bindep.txt
Periodic tests are failing like:
http://logs.openstack.org/periodic/periodic-neutron-py27-with-oslo-master/2eea2ff/
http://logs.openstack.org/periodic/periodic-neutron-py35-with-oslo-master/b62e14e/
http://logs.openstack.org/periodic/periodic-neutron-py35-with-neutron-lib-master/e9956ae/

These tests need expect the MySQL and PostgreSQL databases to be
available in their infra setup.

Add the needed files to bindep.txt.

Change-Id: Ic90b5d136228e1157c38b50a8c2bfa34ddf0f9b4
2016-10-09 06:31:00 +02:00
Ihar Hrachyshka
a9585c7237 Added bindep.txt to the project
This allows to avoid installing unneeded packages when in gate, saving
some time when preparing environment for unit and other non-dsvm tests.

Change-Id: I09aa9c7ebebf12d0c0cce7457fef57f8451fcffa
2016-09-26 10:35:50 +00:00