Browse Source

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
changes/57/385057/3
Igor Zinovik 2 years ago
parent
commit
1a39ecce98

+ 11
- 0
deployment_scripts/puppet/manifests/install-nsx-plugin.pp View File

@@ -2,6 +2,17 @@ notice('fuel-plugin-nsx-t: install-nsx-plugin.pp')
2 2
 
3 3
 include ::nsxt::params
4 4
 
5
+apt::pin { 'nsx-t':
6
+  ensure   => present,
7
+  priority => 2000,
8
+  label    => 'nsx-t',
9
+  before   => Package['python-neutron-lib'],
10
+}
11
+
5 12
 package { $::nsxt::params::plugin_package:
6 13
   ensure => present,
7 14
 }
15
+
16
+package { 'python-neutron-lib':
17
+  ensure  => latest,
18
+}

+ 1
- 1
deployment_tasks.yaml View File

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

BIN
repositories/ubuntu/python-neutron-lib_0.0.3-2+mos3_all.deb View File


Loading…
Cancel
Save