Error in 'ip route add 0.0.0.0/0 via 2001:db8:fd00:1000::1 dev br-ex'

Bug #1822951 reported by Harald Jensås
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
tripleo
Fix Released
High
Harald Jensås

Bug Description

https://logs.rdoproject.org/94/647494/3/openstack-check/tripleo-ci-centos-7-ovb-3ctlr_1comp-featureset035/9d4ada8/logs/undercloud/home/zuul/overcloud_deploy.log.txt.gz

'{"network_config": [{"addresses": [{"ip_netmask": "192.168.24.29/24"}], "mtu": 1350, "name": "nic1", "routes": [{"default": true, "ip_netmask": "0.0.0.0/0", "next_hop": "192.168.24.1"}, {"ip_netmask": "169.254.169.254/32", "next_hop": "192.168.24.1"}], "type": "interface", "use_dhcp": false}, {"addresses": [{"ip_netmask": "fd00:fd00:fd00:2000::3c1/64"}], "mtu": 1350, "name": "nic3", "type": "interface", "use_dhcp": false}, {"addresses": [{"ip_netmask": "fd00:fd00:fd00:3000::1ad/64"}], "mtu": 1350, "name": "nic4", "type": "interface", "use_dhcp": false}, {"addresses": [{"ip_netmask": "172.16.0.32/24"}], "dns_servers": ["1.1.1.1", "1.0.0.1", "38.145.33.91"], "members": [{"mtu": 1350, "name": "nic6", "primary": true, "type": "interface"}], "name": "br-tenant", "type": "ovs_bridge", "use_dhcp": false}, {"dns_servers": ["1.1.1.1", "1.0.0.1", "38.145.33.91"], "members": [{"mtu": 1350, "name": "nic2", "primary": true, "type": "interface"}], "name": "br-ex", "routes": [{"ip_netmask": "0.0.0.0/0", "next_hop": "2001:db8:fd00:1000::1"}], "type": "ovs_bridge", "use_dhcp": false}]}'

 /usr/share/openstack-tripleo-heat-templates/ci/environments/network/multiple-nics-ipv6/network-environment.yaml

 ## * Deploy the overcloud!
## ::
openstack overcloud deploy --override-ansible-cfg /home/zuul/custom_ansible.cfg \
    --templates /usr/share/openstack-tripleo-heat-templates \
    --libvirt-type qemu --timeout 90 --ntp-server 0.pool.ntp.org,1.pool.ntp.org,2.pool.ntp.org,3.pool.ntp.org -e /home/zuul/cloud-names.yaml -e /usr/share/openstack-tripleo-heat-templates/environments/docker-ha.yaml -e /home/zuul/containers-prepare-parameter.yaml -e /usr/share/openstack-tripleo-heat-templates/environments/docker.yaml -e /usr/share/openstack-tripleo-heat-templates/environments/network-isolation-v6.yaml -e /usr/share/openstack-tripleo-heat-templates/ci/environments/network/multiple-nics-ipv6/network-environment.yaml -e /home/zuul/network-environment.yaml -e /home/zuul/overcloud_network_params.yaml -e /usr/share/openstack-tripleo-heat-templates/environments/low-memory-usage.yaml -e /home/zuul/src/git.openstack.org/openstack/tripleo-ci/test-environments/worker-config.yaml -e /usr/share/openstack-tripleo-heat-templates/environments/debug.yaml -e /home/zuul/enable-tls.yaml -e /usr/share/openstack-tripleo-heat-templates/environments/ssl/tls-endpoints-public-ip.yaml -e /home/zuul/inject-trust-anchor.yaml --validation-errors-nonfatal --compute-scale 1 --control-scale 3 -e /home/zuul/overcloud-selinux-config.yaml -e /usr/share/openstack-tripleo-heat-templates/ci/environments/ovb-ha.yaml \
    "$@" && status_code=0 || status_code=$?

Environments:
-e /usr/share/openstack-tripleo-heat-templates/ci/environments/network/multiple-nics-ipv6/network-environment.yaml
-e /usr/share/openstack-tripleo-heat-templates/environments/network-isolation-v6.yaml
-e /usr/share/openstack-tripleo-heat-templates/ci/environments/network/multiple-nics-ipv6/network-environment.yaml

https://github.com/openstack/tripleo-heat-templates/blob/master/ci/environments/network/multiple-nics-ipv6/nic-configs/controller.yaml#L197

  ^^ statically configured 0.0.0.0/0, it should use an ipv6 equivalent.

Tags: ci
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to tripleo-heat-templates (master)

Fix proposed to branch: master
Review: https://review.openstack.org/649524

Changed in tripleo:
assignee: nobody → Harald Jensås (harald-jensas)
status: Triaged → In Progress
Changed in tripleo:
milestone: stein-rc1 → train-1
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to tripleo-heat-templates (master)

Reviewed: https://review.openstack.org/649524
Committed: https://git.openstack.org/cgit/openstack/tripleo-heat-templates/commit/?id=066fd3a36ca8fa75ef447d75f9beced2dec2ea67
Submitter: Zuul
Branch: master

commit 066fd3a36ca8fa75ef447d75f9beced2dec2ea67
Author: Harald Jensås <email address hidden>
Date: Wed Apr 3 09:35:49 2019 +0200

    Fix CI ipv6 NIC config default route

    The default route for ipv6 external network should not
    use ipv4 '0.0.0.0/0' as next_hop. Update to use '::/0'
    which is the ipv6 equivalent.

    Closes-Bug: #1822951
    Change-Id: I1628b4045b55f77cee46952c555c15f2c0a041ee

Changed in tripleo:
status: In Progress → Fix Released
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix included in openstack/tripleo-heat-templates 10.5.0

This issue was fixed in the openstack/tripleo-heat-templates 10.5.0 release.

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.