← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1454372] Re: ImportError: neutron.hooks.setup_hook

 

** Changed in: networking-odl
       Status: Fix Committed => Fix Released

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

Title:
  ImportError: neutron.hooks.setup_hook

Status in networking-6wind:
  Fix Committed
Status in networking-brocade:
  Fix Committed
Status in networking-odl:
  Fix Released
Status in networking-ovn:
  Fix Released
Status in neutron:
  Fix Released

Bug description:
  Attempting to pip install master gets "ImportError:
  neutron.hooks.setup_hook":

  2015-05-12 17:28:14 INFO unit.nova-compute/0.install logger.go:40     ERROR:root:Error parsing
  2015-05-12 17:28:14 INFO unit.nova-compute/0.install logger.go:40     Traceback (most recent call last):
  2015-05-12 17:28:14 INFO unit.nova-compute/0.install logger.go:40       File "/tmp/pip-akMy3T-build/pbr-0.11.0-py2.7.egg/pbr/core.py", line 109, in pbr
  2015-05-12 17:28:14 INFO unit.nova-compute/0.install logger.go:40         attrs = util.cfg_to_args(path)
  2015-05-12 17:28:14 INFO unit.nova-compute/0.install logger.go:40       File "/tmp/pip-akMy3T-build/pbr-0.11.0-py2.7.egg/pbr/util.py", line 230, in cfg_to_args
  2015-05-12 17:28:14 INFO unit.nova-compute/0.install logger.go:40         hook_fn = resolve_name(hook)
  2015-05-12 17:28:14 INFO unit.nova-compute/0.install logger.go:40       File "/tmp/pip-akMy3T-build/pbr-0.11.0-py2.7.egg/pbr/util.py", line 185, in resolve_name
  2015-05-12 17:28:14 INFO unit.nova-compute/0.install logger.go:40         raise ImportError(name)
  2015-05-12 17:28:14 INFO unit.nova-compute/0.install logger.go:40     ImportError: neutron.hooks.setup_hook
  2015-05-12 17:28:14 INFO unit.nova-compute/0.install logger.go:40     error in setup command: Error parsing /tmp/pip-akMy3T-build/setup.cfg: ImportError: neutron.hooks.setup_hook
  2015-05-12 17:28:14 INFO unit.nova-compute/0.install logger.go:40     Complete output from command python setup.py egg_info:

  If I revert commit 8db41f04d54526104920f3a160203ecf7ef453b0, the error
  goes away.

To manage notifications about this bug go to:
https://bugs.launchpad.net/networking-6wind/+bug/1454372/+subscriptions


References