Add 'python-neutron-lib' package

neutron-lib 0.0.1 breaks Neutron NSX security group functionality.
Package available with Fuel 9 is too old (0.0.1) for Neutron NSX plugin,
we need version higher than 0.0.1.

We need to raise plugins package priority using APT preferences file,
because by default plugin repository on the master node has lower
priority than default repositories.

Closes-bug: #1632233
Change-Id: Ib5e19729a6ae456100fefd4a5cf8a1d1b9160cbc
This commit is contained in:
Igor Zinovik 2016-10-11 18:14:37 +03:00
parent 38df137d22
commit 1a39ecce98
3 changed files with 12 additions and 1 deletions

View File

@ -2,6 +2,17 @@ notice('fuel-plugin-nsx-t: install-nsx-plugin.pp')
include ::nsxt::params
apt::pin { 'nsx-t':
ensure => present,
priority => 2000,
label => 'nsx-t',
before => Package['python-neutron-lib'],
}
package { $::nsxt::params::plugin_package:
ensure => present,
}
package { 'python-neutron-lib':
ensure => latest,
}

View File

@ -110,7 +110,7 @@
- openstack-network-server-config
parameters:
puppet_manifest: puppet/manifests/install-nsx-plugin.pp
puppet_modules: puppet/modules
puppet_modules: puppet/modules:/etc/puppet/modules
timeout: 60
- id: nsx-t-configure-plugin