Error when i try to edit a load balancer
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Neutron LBaaS Dashboard |
Invalid
|
Medium
|
Unassigned |
Bug Description
Using newton rc2 versions of packages from RDO and current master HEAD of neutron-
I've created a LB using CLI:
nova boot --image cirros --flavor m1.tiny test1
nova boot --image cirros --flavor m1.tiny test2
neutron lbaas-loadbalan
sleep 10
neutron lbaas-loadbalan
neutron lbaas-listener-
sleep 10 # Sleep since LBaaS actions can take a few seconds depending on the environment.
neutron lbaas-pool-create --lb-algorithm ROUND_ROBIN --listener listener1 --protocol TCP --name pool1
sleep 10
neutron lbaas-healthmon
neutron lbaas-member-create --subnet private_subnet --address 10.0.0.3 --protocol-port 22 pool1
sleep 10
neutron lbaas-member-create --subnet private_subnet --address 10.0.0.4 --protocol-port 22 pool1
When i go to lbaas dashboard i can see the LB but when i click on "Edit Load Balancer" button y get error:
Danger: An error occurred. Please try again later.
And in horizon log i see following trace:
2016-09-30 10:09:34,759 22116 ERROR horizon.
Traceback (most recent call last):
File "/usr/lib/
context)
File "/usr/lib/
self.
KeyError: 'address'
2016-09-30 10:09:34,760 22116 ERROR django.request Internal Server Error: /dashboard/
Traceback (most recent call last):
File "/usr/lib/
response = response.render()
File "/usr/lib/
self.content = self.rendered_
File "/usr/lib/
content = template.
File "/usr/lib/
return self.template.
File "/usr/lib/
return self._render(
File "/usr/lib/
return self.nodelist.
File "/usr/lib/
bit = self.render_
File "/usr/lib/
return node.render(
File "/usr/lib/
six.
File "/usr/lib/
values = {key: val.resolve(
File "/usr/lib/
obj = self.var.
File "/usr/lib/
value = self._resolve_
File "/usr/lib/
current = current()
File "/usr/lib/
step.
File "/usr/lib/
field = self.action.
File "/usr/lib/
context)
File "/usr/lib/
self.
KeyError: 'address'
I am running upstream newton OpenStack with the 1.0.0 version of the neutron- lbaas-dashboard from pypi.
I followed your steps and then clicked the edit button on the load balancer, which brought up the dialog and I added a description to the load balancer. It completed successfully. Can you test again with the newton release a report back if this is still an issue?