neutron-lbaasv2-agent: TypeError: argument of type 'LoadBalancer' is not iterable
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
octavia |
Invalid
|
Undecided
|
brenda | ||
neutron-lbaas (Ubuntu) |
Invalid
|
Low
|
Unassigned |
Bug Description
Is somebody actually running neutron LBaaSv2 with haproxy on Ubuntu 16.04?
root@controller1:~# dpkg -l neutron-
ii neutron-
root@controller1:~# lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description: Ubuntu 16.04.2 LTS
Release: 16.04
Codename: xenial
root@controller1:~#
From /var/log/
2017-03-19 20:39:06.694 4528 INFO neutron.
2017-03-19 20:39:06.694 4528 INFO neutron.
2017-03-19 20:39:06.702 4528 WARNING oslo_config.cfg [req-9a6a669c-
2017-03-19 20:39:07.033 4528 ERROR neutron_
2017-03-19 20:39:07.034 4528 ERROR neutron_
2017-03-19 20:39:07.034 4528 ERROR neutron_
2017-03-19 20:39:07.034 4528 ERROR neutron_
2017-03-19 20:39:07.034 4528 ERROR neutron_
2017-03-19 20:39:07.034 4528 ERROR neutron_
2017-03-19 20:39:07.034 4528 ERROR neutron_
2017-03-19 20:39:07.034 4528 ERROR neutron_
2017-03-19 20:39:07.034 4528 ERROR neutron_
2017-03-19 20:39:07.034 4528 ERROR neutron_
2017-03-19 20:39:07.034 4528 ERROR neutron_
2017-03-19 20:39:07.034 4528 ERROR neutron_
2017-03-19 20:39:07.034 4528 ERROR neutron_
/etc/neutron/
[service_providers]
service_
service_provider = LOADBALANCERV2:
Looking at the code, I don't see how this can actually works.
/usr/lib/
def _is_active(self, logical_config):
# haproxy wil be unable to start without any active vip
==> if ('vip' not in logical_config or
not logical_
return False
/usr/lib/
class LoadBalancer(
fields = ['id', 'tenant_id', 'name', 'description', 'vip_subnet_id',
def __init__(self, id=None, tenant_id=None, name=None, description=None,
self.id = id
self.name = name
self.stats = stats
self.pools = pools or []
affects: | neutron-lbaas (Ubuntu) → neutron |
Changed in neutron-lbaas (Ubuntu): | |
status: | New → Triaged |
importance: | Undecided → Low |
Changed in octavia: | |
assignee: | nobody → brenda (tian-mingming) |
Changed in neutron-lbaas (Ubuntu): | |
status: | Triaged → Invalid |
neutron-lbaas is now a separate project "octavia". octavia is in charge of neutron-lbaas project as well.