[Yahoo-eng-team] [Bug 1523716] Re: oslo.utils upgrade breaks unit tests

2015-12-08 Thread Kai Qiang Wu(Kennan)
** Also affects: magnum
   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/1523716

Title:
  oslo.utils upgrade breaks unit tests

Status in Ceilometer:
  New
Status in Magnum:
  New
Status in networking-odl:
  New
Status in neutron:
  New
Status in oslo.utils:
  Fix Released

Bug description:
  Upgraded oslo.utils (3.1.0) is breaking ceilometer unit tests:

  https://jenkins07.openstack.org/job/gate-ceilometer-
  python34/897/console

  Stack Trace:

  2015-12-07 20:17:19.296 | __import__(module_str)
  2015-12-07 20:17:19.296 |   File "ceilometer/notification.py", line 24, in 

  2015-12-07 20:17:19.296 | from ceilometer import coordination
  2015-12-07 20:17:19.296 |   File "ceilometer/coordination.py", line 20, in 

  2015-12-07 20:17:19.297 | import tooz.coordination
  2015-12-07 20:17:19.297 |   File 
"/home/jenkins/workspace/gate-ceilometer-python27/.tox/py27/local/lib/python2.7/site-packages/tooz/coordination.py",
 line 21, in 
  2015-12-07 20:17:19.297 | from oslo_utils import netutils
  2015-12-07 20:17:19.297 |   File 
"/home/jenkins/workspace/gate-ceilometer-python27/.tox/py27/local/lib/python2.7/site-packages/oslo_utils/netutils.py",
 line 25, in 
  2015-12-07 20:17:19.297 | import netifaces
  2015-12-07 20:17:19.297 | ImportError: No module named netifaces

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

-- 
Mailing list: https://launchpad.net/~yahoo-eng-team
Post to : yahoo-eng-team@lists.launchpad.net
Unsubscribe : https://launchpad.net/~yahoo-eng-team
More help   : https://help.launchpad.net/ListHelp


[Yahoo-eng-team] [Bug 1513313] [NEW] create vip failed for unbound method get_device_name() must be called with OVSInterfaceDriver instance as first argument

2015-11-04 Thread Kai Qiang Wu(Kennan)
Public bug reported:

We found our gate failed with following information

3:42.778 ERROR neutron_lbaas.services.loadbalancer.agent.agent_manager 
[req-ebb92ee8-2998-4a50-baf1-8123ce76b071 admin admin] Create vip 
e3152b05-2c41-40ac-9729-1756664f437e failed on device driver haproxy_ns
2015-11-05 03:23:42.778 30474 ERROR 
neutron_lbaas.services.loadbalancer.agent.agent_manager Traceback (most recent 
call last):
2015-11-05 03:23:42.778 30474 ERROR 
neutron_lbaas.services.loadbalancer.agent.agent_manager   File 
"/opt/stack/new/neutron-lbaas/neutron_lbaas/services/loadbalancer/agent/agent_manager.py",
 line 221, in create_vip
2015-11-05 03:23:42.778 30474 ERROR 
neutron_lbaas.services.loadbalancer.agent.agent_manager 
driver.create_vip(vip)
2015-11-05 03:23:42.778 30474 ERROR 
neutron_lbaas.services.loadbalancer.agent.agent_manager   File 
"/opt/stack/new/neutron-lbaas/neutron_lbaas/services/loadbalancer/drivers/haproxy/namespace_driver.py",
 line 348, in create_vip
2015-11-05 03:23:42.778 30474 ERROR 
neutron_lbaas.services.loadbalancer.agent.agent_manager 
self._refresh_device(vip['pool_id'])
2015-11-05 03:23:42.778 30474 ERROR 
neutron_lbaas.services.loadbalancer.agent.agent_manager   File 
"/opt/stack/new/neutron-lbaas/neutron_lbaas/services/loadbalancer/drivers/haproxy/namespace_driver.py",
 line 344, in _refresh_device
2015-11-05 03:23:42.778 30474 ERROR 
neutron_lbaas.services.loadbalancer.agent.agent_manager if not 
self.deploy_instance(logical_config) and self.exists(pool_id):
2015-11-05 03:23:42.778 30474 ERROR 
neutron_lbaas.services.loadbalancer.agent.agent_manager   File 
"/usr/local/lib/python2.7/dist-packages/oslo_concurrency/lockutils.py", line 
254, in inner
2015-11-05 03:23:42.778 30474 ERROR 
neutron_lbaas.services.loadbalancer.agent.agent_manager return f(*args, 
**kwargs)
2015-11-05 03:23:42.778 30474 ERROR 
neutron_lbaas.services.loadbalancer.agent.agent_manager   File 
"/opt/stack/new/neutron-lbaas/neutron_lbaas/services/loadbalancer/drivers/haproxy/namespace_driver.py",
 line 337, in deploy_instance
2015-11-05 03:23:42.778 30474 ERROR 
neutron_lbaas.services.loadbalancer.agent.agent_manager 
self.create(logical_config)
2015-11-05 03:23:42.778 30474 ERROR 
neutron_lbaas.services.loadbalancer.agent.agent_manager   File 
"/opt/stack/new/neutron-lbaas/neutron_lbaas/services/loadbalancer/drivers/haproxy/namespace_driver.py",
 line 92, in create
2015-11-05 03:23:42.778 30474 ERROR 
neutron_lbaas.services.loadbalancer.agent.agent_manager 
logical_config['vip']['address'])
2015-11-05 03:23:42.778 30474 ERROR 
neutron_lbaas.services.loadbalancer.agent.agent_manager   File 
"/opt/stack/new/neutron-lbaas/neutron_lbaas/services/loadbalancer/drivers/haproxy/namespace_driver.py",
 line 248, in _plug
2015-11-05 03:23:42.778 30474 ERROR 
neutron_lbaas.services.loadbalancer.agent.agent_manager interface_name = 
self.vif_driver.get_device_name(Wrap(port))
2015-11-05 03:23:42.778 30474 ERROR 
neutron_lbaas.services.loadbalancer.agent.agent_manager TypeError: unbound 
method get_device_name() must be called with OVSInterfaceDriver instance as 
first argument (got Wrap instance instead)
2015-11-05 03:23:42.778 30474 ERROR 
neutron_lbaas.services.loadbalancer.agent.agent_manager

** Affects: neutron
 Importance: Undecided
 Assignee: Kai Qiang Wu(Kennan) (wkqwu)
 Status: New

** Project changed: nova-loadbalancer => neutron

** Changed in: neutron
 Assignee: (unassigned) => Kai Qiang Wu(Kennan) (wkqwu)

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

Title:
  create vip failed for unbound method get_device_name() must be called
  with OVSInterfaceDriver instance as first argument

Status in neutron:
  New

Bug description:
  We found our gate failed with following information

  3:42.778 ERROR neutron_lbaas.services.loadbalancer.agent.agent_manager 
[req-ebb92ee8-2998-4a50-baf1-8123ce76b071 admin admin] Create vip 
e3152b05-2c41-40ac-9729-1756664f437e failed on device driver haproxy_ns
  2015-11-05 03:23:42.778 30474 ERROR 
neutron_lbaas.services.loadbalancer.agent.agent_manager Traceback (most recent 
call last):
  2015-11-05 03:23:42.778 30474 ERROR 
neutron_lbaas.services.loadbalancer.agent.agent_manager   File 
"/opt/stack/new/neutron-lbaas/neutron_lbaas/services/loadbalancer/agent/agent_manager.py",
 line 221, in create_vip
  2015-11-05 03:23:42.778 30474 ERROR 
neutron_lbaas.services.loadbalancer.agent.agent_manager 
driver.create_vip(vip)
  2015-11-05 03:23:42.778 30474 ERROR 
neutron_lbaas.services.loadbalancer.agent.agent_manager   File 
"/opt/stack/new/neutron-lbaas/neutron_lbaas/services/loadbalancer/drivers/haproxy/namespace_driver.py",
 line 348, in create_vip
  2015-11-05 03:23:42.778 30474 ERROR 
neutron_lbaas.services.loadbalanc

[Yahoo-eng-team] [Bug 1455102] Re: some test jobs broken by tox 2.0 not passing env variables

2015-05-18 Thread Kai Qiang Wu(Kennan)
** Also affects: magnum
   Importance: Undecided
   Status: New

** Changed in: magnum
 Assignee: (unassigned) = Kai Qiang Wu(Kennan) (wkqwu)

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

Title:
  some test jobs broken by tox 2.0 not passing env variables

Status in Magnum - Containers for OpenStack:
  New
Status in OpenStack Neutron (virtual network service):
  New
Status in OpenStack Gate Infrastructure:
  Confirmed
Status in Python client library for Glance:
  In Progress
Status in python-manilaclient:
  Fix Committed
Status in Python client library for Nova:
  In Progress

Bug description:
  Tox 2.0 brings environment isolation, which is good. Except a lot of
  test jobs assume passing critical variables via environment (like
  credentials).

  There are multiple ways to fix this:

  1. stop using environment to pass things, instead use a config file of
  some sort

  2. allow explicit pass through via -
  http://tox.readthedocs.org/en/latest/config.html#confval-passenv
  =SPACE-SEPARATED-GLOBNAMES

  This bug mostly exists for tracking patches, and ensuring that people
  realize there is a larger change here.

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

-- 
Mailing list: https://launchpad.net/~yahoo-eng-team
Post to : yahoo-eng-team@lists.launchpad.net
Unsubscribe : https://launchpad.net/~yahoo-eng-team
More help   : https://help.launchpad.net/ListHelp