From 992463503e844fe40f3bb2a56df5db0cb715942e Mon Sep 17 00:00:00 2001 From: Mark Asselstine Date: Wed, 17 Jan 2018 10:12:28 -0500 Subject: python-neutron: uprev to latest stable/pike Following along with other recent openstack component uprevs the configuration has been changed to match the installation/setup configuration documented by the openstack community. We have also made the switch to using systemd. The initial configuration file (neutron.conf) was generated by getting things mostly updated and running, then copying/cloning the source repo on the target and running the setup scripts (see ./tools/generate_config_file_samples.sh) With these updates neutron is running and available but is yet to be fully tested, this must be done once we have a running compute node and guests. Required updates/uprevs/introduction to: python-ryu, python-neutron-lib, python-os-xenapi, python-oslo.privsep, python-ovs, python-weakrefmethod, and more Signed-off-by: Mark Asselstine Signed-off-by: Bruce Ashfield --- .../python/python-neutron/neutron-server.service | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 meta-openstack/recipes-devtools/python/python-neutron/neutron-server.service (limited to 'meta-openstack/recipes-devtools/python/python-neutron/neutron-server.service') diff --git a/meta-openstack/recipes-devtools/python/python-neutron/neutron-server.service b/meta-openstack/recipes-devtools/python/python-neutron/neutron-server.service new file mode 100644 index 0000000..d4666fb --- /dev/null +++ b/meta-openstack/recipes-devtools/python/python-neutron/neutron-server.service @@ -0,0 +1,15 @@ +[Unit] +Description=OpenStack Neutron Server +After=syslog.target network.target + +[Service] +Type=simple +User=neutron +PermissionsStartOnly=true +ExecStartPre=/bin/mkdir -p %LOCALSTATEDIR%/log/neutron +ExecStartPre=/bin/chown neutron:adm %LOCALSTATEDIR%/log/neutron +ExecStart=/usr/bin/neutron-server --config-file %SYSCONFDIR%/neutron/neutron.conf --config-file %SYSCONFDIR%/neutron/plugins/ml2/ml2_conf.ini --log-file %LOCALSTATEDIR%/log/neutron/server.log +PrivateTmp=true + +[Install] +WantedBy=multi-user.target -- cgit v1.2.3-54-g00ecf