[Bug 1242780] Re: neutron-openvswitch-agent: mistake on upstart script
** Changed in: neutron (Ubuntu) Status: New = Invalid -- 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 -- Ubuntu-server-bugs mailing list Ubuntu-server-bugs@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs
[Bug 1242780] [NEW] neutron-openvswitch-agent: mistake on upstart script
Public bug reported: 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. root@openstack02:~# service neutron-plugin-openvswitch-agent start neutron-plugin-openvswitch-agent start/running, process 3208 root@openstack02:~# ps auxf|grep neutron|grep -v grep root@openstack02:~# cat /etc/init/neutron-plugin-openvswitch-agent.conf # vim:set ft=upstart ts=2 et: description Neutron OpenvSwitch Plugin Agent author Chuck Short zul...@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 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@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] 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@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 ** Affects: neutron (Ubuntu) Importance: Undecided Status: New -- 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 -- Ubuntu-server-bugs mailing list Ubuntu-server-bugs@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs
[Bug 1242780] Re: neutron-openvswitch-agent: mistake on upstart script
** 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@openstack02:~# service neutron-plugin-openvswitch-agent start neutron-plugin-openvswitch-agent start/running, process 3208 root@openstack02:~# ps auxf|grep neutron|grep -v grep - root@openstack02:~# cat /etc/init/neutron-plugin-openvswitch-agent.conf + root@openstack02:~# cat /etc/init/neutron-plugin-openvswitch-agent.conf # vim:set ft=upstart ts=2 et: description Neutron OpenvSwitch Plugin Agent author Chuck Short zul...@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@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@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 -- Ubuntu-server-bugs mailing list Ubuntu-server-bugs@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs