Update devstack plugin for dependent packages

Recent changes to the gate base images [1] removed a package
neutron-lbaas requires (software-properties-common).
This patch loads it before running 'add-apt-repository'.

[1] https://review.openstack.org/#/c/292573

This is not a cherry-pick from master as there were issues
getting "System Packages" to work correctly in the gate
in stable/liberty.

Change-Id: Id16da90e195ede8a7565b3265374cb603b6eb898
Closes-Bug: #1558289
This commit is contained in:
Michael Johnson 2016-03-16 22:32:58 +00:00 committed by Brian Haley
parent 3aeb1cf87b
commit 94ffa50d8a
1 changed files with 1 additions and 0 deletions

View File

@ -7,6 +7,7 @@ function neutron_lbaas_install {
function neutron_agent_lbaas_install_agent_packages {
if is_ubuntu; then
sudo apt-get -y install software-properties-common
sudo add-apt-repository "deb http://archive.ubuntu.com/ubuntu trusty-backports main restricted universe multiverse" -y
sudo apt-get update
sudo apt-get install haproxy -t trusty-backports