Add ipset package as a dependency to Neutron
authorSergey Kolekonov <skolekonov@mirantis.com>
Tue, 7 Oct 2014 16:01:44 +0000 (20:01 +0400)
committerSergey Kolekonov <skolekonov@mirantis.com>
Wed, 8 Oct 2014 10:43:54 +0000 (14:43 +0400)
The ipset package is required for Neutron security groups implementation
Related-bug: #1371585

Change-Id: Ib3ecb515b75432e7ce35c6234814dcfe03db9508

debian/control
debian/patches/fix-neutron-configuration.patch
rpm/SPECS/openstack-neutron.spec

index 1607af7caacf12e6bb4d94d69204cbed2fb81bb2..73ab255c408d91da66e962ce896c78ab30008742 100644 (file)
@@ -517,6 +517,7 @@ Description: Neutron is a virtual network service for Openstack - ML2 plugin
 Package: neutron-plugin-openvswitch-agent
 Architecture: all
 Depends:
+ ipset,
  neutron-plugin-ml2 (= ${source:Version}),
  openvswitch-switch,
  ${misc:Depends},
index 25456d50ee43f92a3fc3359a2c7ad44a2e42ca87..c306a40397cc4bcdff2356cb3943a360f48cc4da 100644 (file)
@@ -1,8 +1,8 @@
 diff --git a/etc/neutron.conf b/etc/neutron.conf
-index 31977a8..62a0e14 100644
+index 0e61cf7..c5aca0f 100644
 --- a/etc/neutron.conf
 +++ b/etc/neutron.conf
-@@ -50,7 +50,7 @@ lock_path = $state_path/lock
+@@ -60,7 +60,7 @@ lock_path = $state_path/lock
  # previous versions, the class name of a plugin can be specified instead of its
  # entrypoint name.
  #
@@ -11,16 +11,16 @@ index 31977a8..62a0e14 100644
  # Example: core_plugin = ml2
  
  # (ListOpt) List of service plugin entrypoints to be loaded from the
-@@ -389,7 +389,7 @@ notification_driver = neutron.openstack.common.notifier.rpc_notifier
+@@ -548,7 +548,7 @@ lock_path = $state_path/lock
  # Use "sudo neutron-rootwrap /etc/neutron/rootwrap.conf" to use the real
  # root filter facility.
  # Change to "sudo" to skip the filtering and just run the comand directly
 -# root_helper = sudo
 +root_helper = sudo /usr/bin/neutron-rootwrap /etc/neutron/rootwrap.conf
  
- # =========== items for agent management extension =============
- # seconds between nodes reporting state to server; should be less than
-@@ -412,7 +412,7 @@ admin_password = %SERVICE_PASSWORD%
+ # Set to true to add comments to generated iptables rules that describe
+ # each rule's purpose. (System must support the iptables comments module.)
+@@ -575,7 +575,7 @@ admin_password = %SERVICE_PASSWORD%
  # connection = mysql://root:pass@127.0.0.1:3306/neutron
  # Replace 127.0.0.1 above with the IP address of the database used by the
  # main neutron server. (Leave it as is if the database runs on this host.)
@@ -29,6 +29,3 @@ index 31977a8..62a0e14 100644
  # NOTE: In deployment the [database] section and its connection attribute may
  # be set in the corresponding core plugin '.ini' file. However, it is suggested
  # to put the [database] section and its connection attribute in this
--- 
-2.0.0
-
index f6abfe4155e08e81b0cd926a2afd4b39f97812be..2c5260349dd9221175511cdab0c8963df3147fda 100644 (file)
@@ -65,6 +65,7 @@ BuildRequires:        dos2unix
 BuildRequires: python-pbr
 BuildRequires: python-d2to1
 
+Requires:   ipset
 Requires:      dnsmasq-utils
 Requires:      python-neutron = %{version}-%{release}
 Requires:      python-oslo-rootwrap