[hopem,r=]
No more trusty-backports for haproxy >= Liberty Closes-Bug: 1499435
This commit is contained in:
parent
308b86eeb4
commit
0bc90edd3c
@ -1056,10 +1056,9 @@ def setup_ipv6():
|
|||||||
raise Exception("IPv6 is not supported in the charms for Ubuntu "
|
raise Exception("IPv6 is not supported in the charms for Ubuntu "
|
||||||
"versions less than Trusty 14.04")
|
"versions less than Trusty 14.04")
|
||||||
|
|
||||||
# NOTE(xianghui): Need to install haproxy(1.5.3) from trusty-backports
|
# Need haproxy >= 1.5.3 for ipv6 so for Trusty if we are <= Kilo we need to
|
||||||
# to support ipv6 address, so check is required to make sure not
|
# use trusty-backports otherwise we can use the UCA.
|
||||||
# breaking other versions, IPv6 only support for >= Trusty
|
if ubuntu_rel == 'trusty' and os_release('nova-api') < 'liberty':
|
||||||
if ubuntu_rel == 'trusty':
|
|
||||||
add_source('deb http://archive.ubuntu.com/ubuntu trusty-backports '
|
add_source('deb http://archive.ubuntu.com/ubuntu trusty-backports '
|
||||||
'main')
|
'main')
|
||||||
apt_update()
|
apt_update()
|
||||||
|
Loading…
Reference in New Issue
Block a user