When astara-orchestrator attempts to create allocation config for a LB appliance, it fails with the following trace:
2016-04-07 00:45:35.753 24733 ERROR ak-router-23ab25ef-0a70-435d-a282-9c78197a2940 [req-475724e1-69dd-4951-97b4-3447266770af - - - - -] ConfigureInstance.execute() failed for action: update
2016-04-07 00:45:35.753 24733 ERROR ak-router-23ab25ef-0a70-435d-a282-9c78197a2940 Traceback (most recent call last):
2016-04-07 00:45:35.753 24733 ERROR ak-router-23ab25ef-0a70-435d-a282-9c78197a2940 File "/var/lib/neutron/master-runtime/local/lib/python2.7/site-packages/astara/state.py", line 462, in update
2016-04-07 00:45:35.753 24733 ERROR ak-router-23ab25ef-0a70-435d-a282-9c78197a2940 worker_context,
2016-04-07 00:45:35.753 24733 ERROR ak-router-23ab25ef-0a70-435d-a282-9c78197a2940 File "/var/lib/neutron/master-runtime/local/lib/python2.7/site-packages/astara/state.py", line 347, in execute
2016-04-07 00:45:35.753 24733 ERROR ak-router-23ab25ef-0a70-435d-a282-9c78197a2940 self.instance.configure(worker_context)
2016-04-07 00:45:35.753 24733 ERROR ak-router-23ab25ef-0a70-435d-a282-9c78197a2940 File "/var/lib/neutron/master-runtime/local/lib/python2.7/site-packages/astara/instance_manager.py", line 69, in wrapper
2016-04-07 00:45:35.753 24733 ERROR ak-router-23ab25ef-0a70-435d-a282-9c78197a2940 state = f(self, *args, **kw)
2016-04-07 00:45:35.753 24733 ERROR ak-router-23ab25ef-0a70-435d-a282-9c78197a2940 File "/var/lib/neutron/master-runtime/local/lib/python2.7/site-packages/astara/instance_manager.py", line 95, in wrapper
2016-04-07 00:45:35.753 24733 ERROR ak-router-23ab25ef-0a70-435d-a282-9c78197a2940 return f(self, worker_context, *args, **kw)
2016-04-07 00:45:35.753 24733 ERROR ak-router-23ab25ef-0a70-435d-a282-9c78197a2940 File "/var/lib/neutron/master-runtime/local/lib/python2.7/site-packages/astara/instance_manager.py", line 671, in configure
2016-04-07 00:45:35.753 24733 ERROR ak-router-23ab25ef-0a70-435d-a282-9c78197a2940 self.state = self.instances.configure(worker_context)
2016-04-07 00:45:35.753 24733 ERROR ak-router-23ab25ef-0a70-435d-a282-9c78197a2940 File "/var/lib/neutron/master-runtime/local/lib/python2.7/site-packages/astara/instance_manager.py", line 314, in configure
2016-04-07 00:45:35.753 24733 ERROR ak-router-23ab25ef-0a70-435d-a282-9c78197a2940 _generate_interface_map(inst, interfaces)
2016-04-07 00:45:35.753 24733 ERROR ak-router-23ab25ef-0a70-435d-a282-9c78197a2940 File "/var/lib/neutron/master-runtime/local/lib/python2.7/site-packages/astara/drivers/router.py", line 166, in build_config
2016-04-07 00:45:35.753 24733 ERROR ak-router-23ab25ef-0a70-435d-a282-9c78197a2940 iface_map
2016-04-07 00:45:35.753 24733 ERROR ak-router-23ab25ef-0a70-435d-a282-9c78197a2940 File "/var/lib/neutron/master-runtime/local/lib/python2.7/site-packages/astara/api/config/router.py", line 55, in build_config
2016-04-07 00:45:35.753 24733 ERROR ak-router-23ab25ef-0a70-435d-a282-9c78197a2940 interfaces
2016-04-07 00:45:35.753 24733 ERROR ak-router-23ab25ef-0a70-435d-a282-9c78197a2940 File "/var/lib/neutron/master-runtime/local/lib/python2.7/site-packages/astara/api/config/router.py", line 151, in generate_network_config
2016-04-07 00:45:35.753 24733 ERROR ak-router-23ab25ef-0a70-435d-a282-9c78197a2940 for p in router.internal_ports)
2016-04-07 00:45:35.753 24733 ERROR ak-router-23ab25ef-0a70-435d-a282-9c78197a2940 File "/var/lib/neutron/master-runtime/local/lib/python2.7/site-packages/astara/api/config/router.py", line 151, in <genexpr>
2016-04-07 00:45:35.753 24733 ERROR ak-router-23ab25ef-0a70-435d-a282-9c78197a2940 for p in router.internal_ports)
2016-04-07 00:45:35.753 24733 ERROR ak-router-23ab25ef-0a70-435d-a282-9c78197a2940 File "/var/lib/neutron/master-runtime/local/lib/python2.7/site-packages/astara/api/config/common.py", line 33, in network_config
2016-04-07 00:45:35.753 24733 ERROR ak-router-23ab25ef-0a70-435d-a282-9c78197a2940 network_ports=network_ports)
2016-04-07 00:45:35.753 24733 ERROR ak-router-23ab25ef-0a70-435d-a282-9c78197a2940 File "/var/lib/neutron/master-runtime/local/lib/python2.7/site-packages/astara/api/config/common.py", line 46, in _make_network_config_dict
2016-04-07 00:45:35.753 24733 ERROR ak-router-23ab25ef-0a70-435d-a282-9c78197a2940 'allocations': _allocation_config(network_ports, subnets_dict)}
2016-04-07 00:45:35.753 24733 ERROR ak-router-23ab25ef-0a70-435d-a282-9c78197a2940 File "/var/lib/neutron/master-runtime/local/lib/python2.7/site-packages/astara/api/config/common.py", line 85, in _allocation_config
2016-04-07 00:45:35.753 24733 ERROR ak-router-23ab25ef-0a70-435d-a282-9c78197a2940 for fixed in port.fixed_ips
2016-04-07 00:45:35.753 24733 ERROR ak-router-23ab25ef-0a70-435d-a282-9c78197a2940 File "/var/lib/neutron/master-runtime/local/lib/python2.7/site-packages/astara/api/config/common.py", line 85, in <dictcomp>
2016-04-07 00:45:35.753 24733 ERROR ak-router-23ab25ef-0a70-435d-a282-9c78197a2940 for fixed in port.fixed_ips
2016-04-07 00:45:35.753 24733 ERROR ak-router-23ab25ef-0a70-435d-a282-9c78197a2940 KeyError: u'00000000-0000-0000-0000-000000000000'
Fix proposed to branch: master /review. openstack. org/302489
Review: https:/