[Bug 1242780] Re: neutron-openvswitch-agent: mistake on upstart script

Roslyakov Andrey mixermsk at yandex.ru
Mon Oct 21 17:09:16 UTC 2013


** Description changed:

- Hello. It looks like there is a mistake in the upstart-script of
- neutron-plugin-openvswitch-agent: in the last line there is an extra
- "--". Due to this neutron-openvswitch-agent reports that there is an
- unrecognized argument. Removing excess "-" solves the problem.
+ Hello. Apologize in advance for my bad English. It looks like there is a
+ mistake in the upstart-script of neutron-plugin-openvswitch-agent: in
+ the last line there is an extra "--". Due to this neutron-openvswitch-
+ agent reports that there is an unrecognized argument. Removing excess
+ "-" solves the problem.
  
  root at openstack02:~# service neutron-plugin-openvswitch-agent start
  neutron-plugin-openvswitch-agent start/running, process 3208
  root at openstack02:~# ps auxf|grep neutron|grep -v grep
- root at openstack02:~# cat /etc/init/neutron-plugin-openvswitch-agent.conf 
+ root at openstack02:~# cat /etc/init/neutron-plugin-openvswitch-agent.conf
  # vim:set ft=upstart ts=2 et:
  description "Neutron OpenvSwitch Plugin Agent"
  author "Chuck Short <zulcss at ubuntu.com>"
  
  start on runlevel [2345]
  stop on runlevel [!2345]
  
  respawn
  
  chdir /var/run
  
  pre-start script
-   mkdir -p /var/run/neutron
-   chown neutron:root /var/run/neutron
+   mkdir -p /var/run/neutron
+   chown neutron:root /var/run/neutron
  end script
  
  exec start-stop-daemon --start --chuid neutron --exec /usr/bin/neutron-openvswitch-agent -- --config-file=/etc/neutron/neutron.conf --config-file=/etc/neutron/plugins/openvswitch/ovs_neutron_plugin.ini --log-file=/var/log/neutron/openvswitch-agent.log
  root at openstack02:~# /usr/bin/neutron-openvswitch-agent -- --config-file=/etc/neutron/neutron.conf --config-file=/etc/neutron/plugins/openvswitch/ovs_neutron_plugin.ini --log-file=/var/log/neutron/openvswitch-agent.log
  usage: neutron-openvswitch-agent [-h] [--config-dir DIR] [--config-file PATH]
-                                  [--debug] [--log-config PATH]
-                                  [--log-date-format DATE_FORMAT]
-                                  [--log-dir LOG_DIR] [--log-file PATH]
-                                  [--log-format FORMAT] [--nodebug]
-                                  [--nouse-syslog] [--noverbose]
-                                  [--state_path STATE_PATH]
-                                  [--syslog-log-facility SYSLOG_LOG_FACILITY]
-                                  [--use-syslog] [--verbose] [--version]
+                                  [--debug] [--log-config PATH]
+                                  [--log-date-format DATE_FORMAT]
+                                  [--log-dir LOG_DIR] [--log-file PATH]
+                                  [--log-format FORMAT] [--nodebug]
+                                  [--nouse-syslog] [--noverbose]
+                                  [--state_path STATE_PATH]
+                                  [--syslog-log-facility SYSLOG_LOG_FACILITY]
+                                  [--use-syslog] [--verbose] [--version]
  neutron-openvswitch-agent: error: unrecognized arguments: -- --config-file=/etc/neutron/neutron.conf --config-file=/etc/neutron/plugins/openvswitch/ovs_neutron_plugin.ini --log-file=/var/log/neutron/openvswitch-agent.log
  root at openstack02:~# apt-cache policy neutron-plugin-openvswitch-agent
  neutron-plugin-openvswitch-agent:
-   Installed: 1:2013.2~rc3-0ubuntu1~cloud0
-   Candidate: 1:2013.2~rc3-0ubuntu1~cloud0
-   Version table:
-  *** 1:2013.2~rc3-0ubuntu1~cloud0 0
-         500 http://ubuntu-cloud.archive.canonical.com/ubuntu/ precise-updates/havana/main amd64 Packages
-         100 /var/lib/dpkg/status
+   Installed: 1:2013.2~rc3-0ubuntu1~cloud0
+   Candidate: 1:2013.2~rc3-0ubuntu1~cloud0
+   Version table:
+  *** 1:2013.2~rc3-0ubuntu1~cloud0 0
+         500 http://ubuntu-cloud.archive.canonical.com/ubuntu/ precise-updates/havana/main amd64 Packages
+         100 /var/lib/dpkg/status

-- 
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to neutron in Ubuntu.
https://bugs.launchpad.net/bugs/1242780

Title:
  neutron-openvswitch-agent: mistake on upstart script

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/neutron/+bug/1242780/+subscriptions



More information about the Ubuntu-server-bugs mailing list