← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1580631] [NEW] AttributeError: 'module' object has no attribute 'DEVICE_OWNER_HA_REPLICATED_INT'

 

Public bug reported:

solumuser@ubuntu14044:/opt/stack/neutron$ oslo-config-generator --config-file=etc/oslo-config-generator/dhcp_agent.ini
Traceback (most recent call last):
  File "/usr/local/bin/oslo-config-generator", line 11, in <module>
    sys.exit(main())
  File "/usr/local/lib/python2.7/dist-packages/oslo_config/generator.py", line 419, in main
    generate(conf)
  File "/usr/local/lib/python2.7/dist-packages/oslo_config/generator.py", line 401, in generate
    groups = _get_groups(_list_opts(conf.namespace))
  File "/usr/local/lib/python2.7/dist-packages/oslo_config/generator.py", line 333, in _list_opts
    loaders = _get_raw_opts_loaders(namespaces)
  File "/usr/local/lib/python2.7/dist-packages/oslo_config/generator.py", line 305, in _get_raw_opts_loaders
    invoke_on_load=False)
  File "/usr/local/lib/python2.7/dist-packages/stevedore/named.py", line 55, in __init__
    verify_requirements)
  File "/usr/local/lib/python2.7/dist-packages/stevedore/extension.py", line 171, in _load_plugins
    self._on_load_failure_callback(self, ep, err)
  File "/usr/local/lib/python2.7/dist-packages/stevedore/extension.py", line 163, in _load_plugins
    verify_requirements,
  File "/usr/local/lib/python2.7/dist-packages/stevedore/named.py", line 123, in _load_one_plugin
    verify_requirements,
  File "/usr/local/lib/python2.7/dist-packages/stevedore/extension.py", line 184, in _load_one_plugin
    plugin = ep.resolve()
  File "/usr/local/lib/python2.7/dist-packages/pkg_resources/__init__.py", line 2235, in resolve
    module = __import__(self.module_name, fromlist=['__name__'], level=0)
  File "/opt/stack/neutron/neutron/opts.py", line 35, in <module>
    import neutron.db.extraroute_db
  File "/opt/stack/neutron/neutron/db/extraroute_db.py", line 25, in <module>
    from neutron.db import l3_db
  File "/opt/stack/neutron/neutron/db/l3_db.py", line 52, in <module>
    DEVICE_OWNER_HA_REPLICATED_INT = l3_constants.DEVICE_OWNER_HA_REPLICATED_INT
AttributeError: 'module' object has no attribute 'DEVICE_OWNER_HA_REPLICATED_INT'

** Affects: neutron
     Importance: Undecided
         Status: Incomplete

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

Title:
  AttributeError: 'module' object has no attribute
  'DEVICE_OWNER_HA_REPLICATED_INT'

Status in neutron:
  Incomplete

Bug description:
  solumuser@ubuntu14044:/opt/stack/neutron$ oslo-config-generator --config-file=etc/oslo-config-generator/dhcp_agent.ini
  Traceback (most recent call last):
    File "/usr/local/bin/oslo-config-generator", line 11, in <module>
      sys.exit(main())
    File "/usr/local/lib/python2.7/dist-packages/oslo_config/generator.py", line 419, in main
      generate(conf)
    File "/usr/local/lib/python2.7/dist-packages/oslo_config/generator.py", line 401, in generate
      groups = _get_groups(_list_opts(conf.namespace))
    File "/usr/local/lib/python2.7/dist-packages/oslo_config/generator.py", line 333, in _list_opts
      loaders = _get_raw_opts_loaders(namespaces)
    File "/usr/local/lib/python2.7/dist-packages/oslo_config/generator.py", line 305, in _get_raw_opts_loaders
      invoke_on_load=False)
    File "/usr/local/lib/python2.7/dist-packages/stevedore/named.py", line 55, in __init__
      verify_requirements)
    File "/usr/local/lib/python2.7/dist-packages/stevedore/extension.py", line 171, in _load_plugins
      self._on_load_failure_callback(self, ep, err)
    File "/usr/local/lib/python2.7/dist-packages/stevedore/extension.py", line 163, in _load_plugins
      verify_requirements,
    File "/usr/local/lib/python2.7/dist-packages/stevedore/named.py", line 123, in _load_one_plugin
      verify_requirements,
    File "/usr/local/lib/python2.7/dist-packages/stevedore/extension.py", line 184, in _load_one_plugin
      plugin = ep.resolve()
    File "/usr/local/lib/python2.7/dist-packages/pkg_resources/__init__.py", line 2235, in resolve
      module = __import__(self.module_name, fromlist=['__name__'], level=0)
    File "/opt/stack/neutron/neutron/opts.py", line 35, in <module>
      import neutron.db.extraroute_db
    File "/opt/stack/neutron/neutron/db/extraroute_db.py", line 25, in <module>
      from neutron.db import l3_db
    File "/opt/stack/neutron/neutron/db/l3_db.py", line 52, in <module>
      DEVICE_OWNER_HA_REPLICATED_INT = l3_constants.DEVICE_OWNER_HA_REPLICATED_INT
  AttributeError: 'module' object has no attribute 'DEVICE_OWNER_HA_REPLICATED_INT'

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


Follow ups