Intermittent KeyError - take two: 'cisco_ha:details' tracebacks in asr1k_routertype_driver unit tests

Bug #1717535 reported by Bob Melander
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
networking-cisco
Fix Released
Undecided
Unassigned

Bug Description

Similar to earlier bug with similar name but occurring at a slightly different place

ft1.1: networking_cisco.tests.unit.cisco.l3.test_asr1k_routertype_driver.L3CfgAgentAsr1kRouterTypeDriverTestCase.test_l3_cfg_agent_query_global_router_info_StringException: pythonlogging:'': {{{
WARNING [neutron.api.extensions] Extension address-scope not supported by any of loaded plugins
 WARNING [neutron.api.extensions] Extension allowed-address-pairs not supported by any of loaded plugins
 WARNING [neutron.api.extensions] Extension auto-allocated-topology not supported by any of loaded plugins
 WARNING [neutron.api.extensions] Extension availability_zone not supported by any of loaded plugins
 WARNING [neutron.api.extensions] Extension default-subnetpools not supported by any of loaded plugins
 WARNING [neutron.api.extensions] Extension dhcp_agent_scheduler not supported by any of loaded plugins
 WARNING [neutron.api.extensions] Extension dns-integration not supported by any of loaded plugins
 WARNING [neutron.api.extensions] Extension dvr not supported by any of loaded plugins
 WARNING [neutron.api.extensions] Extension extra_dhcp_opt not supported by any of loaded plugins
 WARNING [neutron.api.extensions] Extension extraroute not supported by any of loaded plugins
 WARNING [neutron.api.extensions] Extension flavors not supported by any of loaded plugins
 WARNING [neutron.api.extensions] Extension ip_allocation not supported by any of loaded plugins
 WARNING [neutron.api.extensions] Extension l2_adjacency not supported by any of loaded plugins
 WARNING [neutron.api.extensions] Extension ext-gw-mode not supported by any of loaded plugins
 WARNING [neutron.api.extensions] Extension l3-ha not supported by any of loaded plugins
 WARNING [neutron.api.extensions] Extension l3-flavors not supported by any of loaded plugins
 WARNING [neutron.api.extensions] Extension metering not supported by any of loaded plugins
 WARNING [neutron.api.extensions] Extension multi-provider not supported by any of loaded plugins
 WARNING [neutron.api.extensions] Extension net-mtu not supported by any of loaded plugins
 WARNING [neutron.api.extensions] Extension network_availability_zone not supported by any of loaded plugins
 WARNING [neutron.api.extensions] Extension network-ip-availability not supported by any of loaded plugins
 WARNING [neutron.api.extensions] Extension binding not supported by any of loaded plugins
 WARNING [neutron.api.extensions] Extension port-security not supported by any of loaded plugins
 WARNING [neutron.api.extensions] Extension provider not supported by any of loaded plugins
 WARNING [neutron.api.extensions] Extension qos not supported by any of loaded plugins
 WARNING [neutron.api.extensions] Extension quotas not supported by any of loaded plugins
 WARNING [neutron.api.extensions] Extension standard-attr-revisions not supported by any of loaded plugins
 WARNING [neutron.api.extensions] Extension router_availability_zone not supported by any of loaded plugins
 WARNING [neutron.api.extensions] Extension router-service-type not supported by any of loaded plugins
 WARNING [neutron.api.extensions] Extension security-group not supported by any of loaded plugins
 WARNING [neutron.api.extensions] Extension segment not supported by any of loaded plugins
 WARNING [neutron.api.extensions] Extension service-type not supported by any of loaded plugins
 WARNING [neutron.api.extensions] Extension subnet-service-types not supported by any of loaded plugins
 WARNING [neutron.api.extensions] Extension subnet_allocation not supported by any of loaded plugins
 WARNING [neutron.api.extensions] Extension tag not supported by any of loaded plugins
 WARNING [neutron.api.extensions] Extension standard-attr-timestamp not supported by any of loaded plugins
 WARNING [neutron.api.extensions] Extension trunk not supported by any of loaded plugins
 WARNING [neutron.api.extensions] Extension trunk-details not supported by any of loaded plugins
 WARNING [neutron.api.extensions] Extension vlan-transparent not supported by any of loaded plugins
 WARNING [neutron.api.extensions] Extension router_ha not supported by any of loaded plugins
}}}

Traceback (most recent call last):
  File "networking_cisco/tests/unit/cisco/l3/test_asr1k_routertype_driver.py", line 1228, in test_l3_cfg_agent_query_global_router_info
    self._test_l3_cfg_agent_query_global_router_info()
  File "networking_cisco/tests/unit/cisco/l3/test_asr1k_routertype_driver.py", line 1225, in _test_l3_cfg_agent_query_global_router_info
    self._verify_sync_data(r1_after, r_ids, ext_net_ids)
  File "networking_cisco/tests/unit/cisco/l3/test_asr1k_routertype_driver.py", line 1126, in _verify_sync_data
    id_r_ha_backup = router[ha.DETAILS][ha.REDUNDANCY_ROUTERS][0]['id']
KeyError: 'cisco_ha:details'

Tags: asr1k
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to networking-cisco (master)

Reviewed: https://review.openstack.org/504441
Committed: https://git.openstack.org/cgit/openstack/networking-cisco/commit/?id=50acc3d34af19d053b286527a93e5e6d56c98285
Submitter: Jenkins
Branch: master

commit 50acc3d34af19d053b286527a93e5e6d56c98285
Author: Bob Melander <email address hidden>
Date: Fri Sep 15 17:39:55 2017 +0200

    Handle missing ha:details attribute in router type driver unit tests - take 2

    AKA: DE4039

    Change-Id: Iccc37e44f80c065e104b44d7b7bf8dcea5eeee6f
    Closes-Bug: #1717535

Changed in networking-cisco:
status: New → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.