← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1430320] Re: DuplicateOptError: duplicate option: rpc_backend

 

** No longer affects: oslo.messaging

** Project changed: devstack => oslo.messaging

** Also affects: devstack
   Importance: Undecided
       Status: New

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

Title:
  DuplicateOptError: duplicate option: rpc_backend

Status in devstack - openstack dev environments:
  New
Status in OpenStack Neutron (virtual network service):
  New
Status in Messaging API for OpenStack:
  New

Bug description:
  I'm trying to run devstack compute node (nova-compute + neutron-agt)
  using stable/juno version of openstack components.

  Unfortunately, I cannot start neutron-agent because of this error:
  python /usr/local/bin/neutron-ofagent-agent --config-file 
  Traceback (most recent call last):
    File "/usr/local/bin/neutron-ofagent-agent", line 10, in <module>
      sys.exit(main())
    File "/opt/stack/neutron/neutron/plugins/ofagent/agent/main.py", line 31, in main
      common_config.init(sys.argv[1:])
    File "/opt/stack/neutron/neutron/common/config.py", line 150, in init
      n_rpc.init(cfg.CONF)
    File "/opt/stack/neutron/neutron/common/rpc.py", line 57, in init
      aliases=TRANSPORT_ALIASES)
    File "/usr/local/lib/python2.7/dist-packages/oslo/messaging/transport.py", line 168, in get_transport
      conf.register_opts(_transport_opts)
    File "/usr/local/lib/python2.7/dist-packages/oslo_config/cfg.py", line 1679, in __inner
      result = f(self, *args, **kwargs)
    File "/usr/local/lib/python2.7/dist-packages/oslo_config/cfg.py", line 1836, in register_opts
      self.register_opt(opt, group, clear_cache=False)
    File "/usr/local/lib/python2.7/dist-packages/oslo_config/cfg.py", line 1683, in __inner
      return f(self, *args, **kwargs)
    File "/usr/local/lib/python2.7/dist-packages/oslo_config/cfg.py", line 1825, in register_opt
      if _is_opt_registered(self._opts, opt):
    File "/usr/local/lib/python2.7/dist-packages/oslo_config/cfg.py", line 572, in _is_opt_registered
      raise DuplicateOptError(opt.name)
  oslo_config.cfg.DuplicateOptError: duplicate option: rpc_backend
  q-agt failed to start

  I had inspected both configuration files and found no duplications of
  "rpc_backend" parameter.

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