)]}'
{
  "commit": "efc04eec00bef94059a0e5b6f457263fc84876c1",
  "tree": "d345ee1393fef91ab77506ecb8877f2ab4a66f14",
  "parents": [
    "47f76acbbac350ea18df6a9463876d38c3a13539"
  ],
  "author": {
    "name": "Nate Johnston",
    "email": "nate.johnston@redhat.com",
    "time": "Tue Nov 03 10:04:26 2020 -0500"
  },
  "committer": {
    "name": "Nate Johnston",
    "email": "nate.johnston@redhat.com",
    "time": "Mon Nov 09 17:05:38 2020 -0500"
  },
  "message": "Look for ipv6 routes so ipv6-only jobs will not fail\n\nFor change 739139 [1] PS 12, the\nneutron-tempest-plugin-scenario-linuxbridge died in devstack with\n\"/opt/stack/devstack/functions-common:237 Failure retrieving default\nroute device\", which comes from\n\"/opt/stack/devstack/lib/neutron-legacy:237:die_if_not_set\".\n\nLooking at the worlddump.txt for that job [2] I see that there is a\ndefault ipv6 route; the vm was not configured with ipv4 networking.\n\n    ip route\n    --------\n\n    ip -6 route\n    -----------\n\n    ::1 dev lo proto kernel metric 256 pref medium\n    2607:ff68:100:54::/64 dev ens3 proto kernel metric 256 expires 86380sec pref medium\n    fe80::/64 dev ens3 proto kernel metric 256 pref medium\n    default via fe80::f816:3eff:fe77:b05c dev ens3 proto ra metric 1024 expires 280sec hoplimit 64 pref medium\n\nLooking at the devstack code that throws the error [3] it looks like\nit only looks for a default route in the output of `ip route`, which\ndoes not include ipv6 information.  This change should look in both\nthe ipv4 and ipv6 route table.  A similar check in the L3 setup code\nis also updated.\n\n[1] https://review.opendev.org/#/c/739139/\n[2] https://d4eb7e3efe98cba79a4b-f4d168cdb20f40841821e4b213645c0f.ssl.cf2.rackcdn.com/739139/12/gate/neutron-tempest-plugin-scenario-linuxbridge/9a6b4f7/controller/logs/worlddump-latest.txt\n[3] https://opendev.org/openstack/devstack/src/branch/master/lib/neutron-legacy#L236\n\nCloses-Bug: #1902002\nChange-Id: I839e8c222368df98fec308cf41248a9dd0a8c187\n",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "436b0e3364b3f2275c64fe7545dc43c2d0eb4bc6",
      "old_mode": 33188,
      "old_path": "lib/neutron-legacy",
      "new_id": "791ff18b10cfda08acc9a24dc5056be3bde94c42",
      "new_mode": 33188,
      "new_path": "lib/neutron-legacy"
    },
    {
      "type": "modify",
      "old_id": "69536bbe589a99b05b5d59a32ab2f6b8d482d297",
      "old_mode": 33188,
      "old_path": "lib/neutron_plugins/services/l3",
      "new_id": "75a356709674d304e09198aa39503e59b7e804d5",
      "new_mode": 33188,
      "new_path": "lib/neutron_plugins/services/l3"
    }
  ]
}
