ipv6 default route setup fails with mutliple defaults
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenStack Shared File Systems Service (Manila) |
Fix Released
|
Medium
|
Tom Barron |
Bug Description
devstack's plugin.sh setup_ipv6 function saves the default ipv6 route and restores it after setting up quagga. If there is more than one ipv6 default route it will save all of them into a single local default_route variable and the restore will fail because it issues an 'ip -6 route replace' command with too many arguments.
Example:
default_route collected:
2019-07-16 15:37:11.874 | ++ /opt/stack/
2019-07-16 15:37:11.875 | default via fe80::ce2d:
default route restore attempt fails:
2019-07-16 15:38:12.539 | ++ /opt/stack/
2019-07-16 15:38:12.539 | default via fe80::ce2d:
2019-07-16 15:38:12.542 | ++ /opt/stack/
2019-07-16 15:38:12.552 | Error: either "to" is duplicate, or "default" is a garbage.
2019-07-16 15:38:12.557 | + /opt/stack/
Changed in manila: | |
milestone: | none → train-2 |
assignee: | nobody → Tom Barron (tpb) |
importance: | Undecided → Medium |
Fix proposed to branch: master /review. opendev. org/671134
Review: https:/