← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1490594] [NEW] Incorrect neutron-ns-metadata command when watch_log is False

 

Public bug reported:

neutron.agent.metadata.driver uses the option
--metadata_proxy_watch_log=false to disable log watch[1]  in neutron-ns-
metadata-proxy but should use --nometadata_proxy_watch_log[2].

[1] metadata_proxy_watch_log = false
[2] stacktrace:

Command: ['sudo', '/usr/bin/neutron-rootwrap', '/etc/neutron/rootwrap.conf', 'ip', 'netns', 'exec', 'qdhcp-a14d7fd6-7e68-4ab0-96cf-f19d51e18434', 'neutron-ns-metadata-proxy', '--pid_file=/var/lib/neutron/external/pids/a14d7fd6-7e68-4ab0-96cf-f19d51e18434.pid', '--metadata_proxy_socket=/var/lib/neutron/metadata_proxy', '--network_id=a14d7fd6-7e68-4ab0-96cf-f19d51e18434', '--state_path=/var/lib/neutron', '--metadata_port=80', '--metadata_proxy_user=nobody', '--metadata_proxy_group=nogroup', '--debug', '--verbose', '--log-file=neutron-ns-metadata-proxy-a14d7fd6-7e68-4ab0-96cf-f19d51e18434.log', '--log-dir=/var/log/neutron', '--metadata_proxy_watch_log=false']
Exit code: 2
Stdin:
Stdout:
Stderr: usage: neutron-ns-metadata-proxy [-h] [--config-dir DIR] [--config-file PATH]
                                 [--daemonize] [--debug]
                                 [--log-config-append PATH]
                                 [--log-date-format DATE_FORMAT]
                                 [--log-dir LOG_DIR] [--log-file PATH]
                                 [--log-format FORMAT]
                                 [--metadata_port METADATA_PORT]
                                 [--metadata_proxy_group METADATA_PROXY_GROUP]
                                 [--metadata_proxy_socket METADATA_PROXY_SOCKET]
                                 [--metadata_proxy_user METADATA_PROXY_USER]
                                 [--metadata_proxy_watch_log]
                                 [--network_id NETWORK_ID] [--nodaemonize]
                                 [--nodebug] [--nometadata_proxy_watch_log]
                                 [--nouse-syslog] [--nouse-syslog-rfc-format]
                                 [--noverbose] [--pid_file PID_FILE]
                                 [--router_id ROUTER_ID]
                                 [--syslog-log-facility SYSLOG_LOG_FACILITY]
                                 [--use-syslog] [--use-syslog-rfc-format]
                                 [--verbose] [--version]
                                 [--state_path STATE_PATH]
neutron-ns-metadata-proxy: error: argument --metadata_proxy_watch_log: ignored explicit argument 'false'

** Affects: neutron
     Importance: Undecided
     Assignee: Cedric Brandily (cbrandily)
         Status: New


** Tags: l3-ipam-dhcp

-- 
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to neutron.
https://bugs.launchpad.net/bugs/1490594

Title:
  Incorrect neutron-ns-metadata command when watch_log is False

Status in neutron:
  New

Bug description:
  neutron.agent.metadata.driver uses the option
  --metadata_proxy_watch_log=false to disable log watch[1]  in neutron-
  ns-metadata-proxy but should use --nometadata_proxy_watch_log[2].

  [1] metadata_proxy_watch_log = false
  [2] stacktrace:

  Command: ['sudo', '/usr/bin/neutron-rootwrap', '/etc/neutron/rootwrap.conf', 'ip', 'netns', 'exec', 'qdhcp-a14d7fd6-7e68-4ab0-96cf-f19d51e18434', 'neutron-ns-metadata-proxy', '--pid_file=/var/lib/neutron/external/pids/a14d7fd6-7e68-4ab0-96cf-f19d51e18434.pid', '--metadata_proxy_socket=/var/lib/neutron/metadata_proxy', '--network_id=a14d7fd6-7e68-4ab0-96cf-f19d51e18434', '--state_path=/var/lib/neutron', '--metadata_port=80', '--metadata_proxy_user=nobody', '--metadata_proxy_group=nogroup', '--debug', '--verbose', '--log-file=neutron-ns-metadata-proxy-a14d7fd6-7e68-4ab0-96cf-f19d51e18434.log', '--log-dir=/var/log/neutron', '--metadata_proxy_watch_log=false']
  Exit code: 2
  Stdin:
  Stdout:
  Stderr: usage: neutron-ns-metadata-proxy [-h] [--config-dir DIR] [--config-file PATH]
                                   [--daemonize] [--debug]
                                   [--log-config-append PATH]
                                   [--log-date-format DATE_FORMAT]
                                   [--log-dir LOG_DIR] [--log-file PATH]
                                   [--log-format FORMAT]
                                   [--metadata_port METADATA_PORT]
                                   [--metadata_proxy_group METADATA_PROXY_GROUP]
                                   [--metadata_proxy_socket METADATA_PROXY_SOCKET]
                                   [--metadata_proxy_user METADATA_PROXY_USER]
                                   [--metadata_proxy_watch_log]
                                   [--network_id NETWORK_ID] [--nodaemonize]
                                   [--nodebug] [--nometadata_proxy_watch_log]
                                   [--nouse-syslog] [--nouse-syslog-rfc-format]
                                   [--noverbose] [--pid_file PID_FILE]
                                   [--router_id ROUTER_ID]
                                   [--syslog-log-facility SYSLOG_LOG_FACILITY]
                                   [--use-syslog] [--use-syslog-rfc-format]
                                   [--verbose] [--version]
                                   [--state_path STATE_PATH]
  neutron-ns-metadata-proxy: error: argument --metadata_proxy_watch_log: ignored explicit argument 'false'

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


Follow ups