← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1513000] [NEW] neutron q-lbaas cannot start - ValueError: Empty module name

 

Public bug reported:

When trying to start neutron q-lbaas on ubuntu devstack we receive this
error and was unable to track it to source:

ubuntu@nov-dvs-241480-1:~/devstack$ /usr/local/bin/neutron-lbaas-agent --config- 
file /etc/neutron/neutron.conf --config-file=/etc/neutron/services/loadbalancer/ 
haproxy/lbaas_agent.ini & echo $! >/opt/stack/status/stack/q-lbaas.pid; fg || ec 
ho "q-lbaas failed to start" | tee "/opt/stack/status/stack/q-lbaas.failure"
[1] 6390
/usr/local/bin/neutron-lbaas-agent --config-file /etc/neutron/neutron.conf --config-file=/etc/neutron/services/loadbalancer/haproxy/lbaas_agent.ini
No handlers could be found for logger "oslo_config.cfg"
2015-11-04 07:53:37.026 6390 INFO neutron.common.config [-] Logging enabled!
2015-11-04 07:53:37.027 6390 INFO neutron.common.config [-] /usr/local/bin/neutron-lbaas-agent version 8.0.0.dev226
2015-11-04 07:53:37.027 6390 DEBUG neutron.common.config [-] command line: /usr/local/bin/neutron-lbaas-agent --config-file /etc/neutron/neutron.conf --config-file=/etc/neutron/services/loadbalancer/haproxy/lbaas_agent.ini setup_logging /opt/stack/neutron/neutron/common/config.py:191
2015-11-04 07:53:37.031 CRITICAL neutron [req-0c93d2b0-c58e-47cf-ad94-836d71a21e81 None None] ValueError: Empty module name
2015-11-04 07:53:37.031 6390 ERROR neutron Traceback (most recent call last):
2015-11-04 07:53:37.031 6390 ERROR neutron   File "/usr/local/bin/neutron-lbaas-agent", line 10, in <module>
2015-11-04 07:53:37.031 6390 ERROR neutron     sys.exit(main())
2015-11-04 07:53:37.031 6390 ERROR neutron   File "/opt/stack/neutron-lbaas/neutron_lbaas/services/loadbalancer/agent/agent.py", line 61, in main
2015-11-04 07:53:37.031 6390 ERROR neutron     mgr = manager.LbaasAgentManager(cfg.CONF)
2015-11-04 07:53:37.031 6390 ERROR neutron   File "/opt/stack/neutron-lbaas/neutron_lbaas/services/loadbalancer/agent/agent_manager.py", line 70, in __init__
2015-11-04 07:53:37.031 6390 ERROR neutron     self._load_drivers()
2015-11-04 07:53:37.031 6390 ERROR neutron   File "/opt/stack/neutron-lbaas/neutron_lbaas/services/loadbalancer/agent/agent_manager.py", line 95, in _load_drivers
2015-11-04 07:53:37.031 6390 ERROR neutron     self.plugin_rpc
2015-11-04 07:53:37.031 6390 ERROR neutron   File "/usr/local/lib/python2.7/dist-packages/oslo_utils/importutils.py", line 38, in import_object
2015-11-04 07:53:37.031 6390 ERROR neutron     return import_class(import_str)(*args, **kwargs)
2015-11-04 07:53:37.031 6390 ERROR neutron   File "/opt/stack/neutron-lbaas/neutron_lbaas/services/loadbalancer/drivers/haproxy/namespace_driver.py", line 71, in __init__
2015-11-04 07:53:37.031 6390 ERROR neutron     vif_driver = importutils.import_object(conf.interface_driver, conf)
2015-11-04 07:53:37.031 6390 ERROR neutron   File "/usr/local/lib/python2.7/dist-packages/oslo_utils/importutils.py", line 38, in import_object
2015-11-04 07:53:37.031 6390 ERROR neutron     return import_class(import_str)(*args, **kwargs)
2015-11-04 07:53:37.031 6390 ERROR neutron   File "/usr/local/lib/python2.7/dist-packages/oslo_utils/importutils.py", line 27, in import_class
2015-11-04 07:53:37.031 6390 ERROR neutron     __import__(mod_str)
2015-11-04 07:53:37.031 6390 ERROR neutron ValueError: Empty module name
2015-11-04 07:53:37.031 6390 ERROR neutron 
q-lbaas failed to start
ubuntu@nov-dvs-241480-1:~/devstack$

** Affects: neutron
     Importance: Undecided
         Status: New


** Tags: devstack ubuntu

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

Title:
  neutron q-lbaas cannot start - ValueError: Empty module name

Status in neutron:
  New

Bug description:
  When trying to start neutron q-lbaas on ubuntu devstack we receive
  this error and was unable to track it to source:

  ubuntu@nov-dvs-241480-1:~/devstack$ /usr/local/bin/neutron-lbaas-agent --config- 
  file /etc/neutron/neutron.conf --config-file=/etc/neutron/services/loadbalancer/ 
  haproxy/lbaas_agent.ini & echo $! >/opt/stack/status/stack/q-lbaas.pid; fg || ec 
  ho "q-lbaas failed to start" | tee "/opt/stack/status/stack/q-lbaas.failure"
  [1] 6390
  /usr/local/bin/neutron-lbaas-agent --config-file /etc/neutron/neutron.conf --config-file=/etc/neutron/services/loadbalancer/haproxy/lbaas_agent.ini
  No handlers could be found for logger "oslo_config.cfg"
  2015-11-04 07:53:37.026 6390 INFO neutron.common.config [-] Logging enabled!
  2015-11-04 07:53:37.027 6390 INFO neutron.common.config [-] /usr/local/bin/neutron-lbaas-agent version 8.0.0.dev226
  2015-11-04 07:53:37.027 6390 DEBUG neutron.common.config [-] command line: /usr/local/bin/neutron-lbaas-agent --config-file /etc/neutron/neutron.conf --config-file=/etc/neutron/services/loadbalancer/haproxy/lbaas_agent.ini setup_logging /opt/stack/neutron/neutron/common/config.py:191
  2015-11-04 07:53:37.031 CRITICAL neutron [req-0c93d2b0-c58e-47cf-ad94-836d71a21e81 None None] ValueError: Empty module name
  2015-11-04 07:53:37.031 6390 ERROR neutron Traceback (most recent call last):
  2015-11-04 07:53:37.031 6390 ERROR neutron   File "/usr/local/bin/neutron-lbaas-agent", line 10, in <module>
  2015-11-04 07:53:37.031 6390 ERROR neutron     sys.exit(main())
  2015-11-04 07:53:37.031 6390 ERROR neutron   File "/opt/stack/neutron-lbaas/neutron_lbaas/services/loadbalancer/agent/agent.py", line 61, in main
  2015-11-04 07:53:37.031 6390 ERROR neutron     mgr = manager.LbaasAgentManager(cfg.CONF)
  2015-11-04 07:53:37.031 6390 ERROR neutron   File "/opt/stack/neutron-lbaas/neutron_lbaas/services/loadbalancer/agent/agent_manager.py", line 70, in __init__
  2015-11-04 07:53:37.031 6390 ERROR neutron     self._load_drivers()
  2015-11-04 07:53:37.031 6390 ERROR neutron   File "/opt/stack/neutron-lbaas/neutron_lbaas/services/loadbalancer/agent/agent_manager.py", line 95, in _load_drivers
  2015-11-04 07:53:37.031 6390 ERROR neutron     self.plugin_rpc
  2015-11-04 07:53:37.031 6390 ERROR neutron   File "/usr/local/lib/python2.7/dist-packages/oslo_utils/importutils.py", line 38, in import_object
  2015-11-04 07:53:37.031 6390 ERROR neutron     return import_class(import_str)(*args, **kwargs)
  2015-11-04 07:53:37.031 6390 ERROR neutron   File "/opt/stack/neutron-lbaas/neutron_lbaas/services/loadbalancer/drivers/haproxy/namespace_driver.py", line 71, in __init__
  2015-11-04 07:53:37.031 6390 ERROR neutron     vif_driver = importutils.import_object(conf.interface_driver, conf)
  2015-11-04 07:53:37.031 6390 ERROR neutron   File "/usr/local/lib/python2.7/dist-packages/oslo_utils/importutils.py", line 38, in import_object
  2015-11-04 07:53:37.031 6390 ERROR neutron     return import_class(import_str)(*args, **kwargs)
  2015-11-04 07:53:37.031 6390 ERROR neutron   File "/usr/local/lib/python2.7/dist-packages/oslo_utils/importutils.py", line 27, in import_class
  2015-11-04 07:53:37.031 6390 ERROR neutron     __import__(mod_str)
  2015-11-04 07:53:37.031 6390 ERROR neutron ValueError: Empty module name
  2015-11-04 07:53:37.031 6390 ERROR neutron 
  q-lbaas failed to start
  ubuntu@nov-dvs-241480-1:~/devstack$

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


Follow ups