Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

In multi-interface bare metal compute provision "add default gateway to vhost" fails #325

Open
nitishkrishna opened this issue Feb 9, 2017 · 0 comments

Comments

@nitishkrishna
Copy link

Failure seen:

TASK [contrail/agent : Add default gateway to vhost]
fatal: [10.84.51.12]: FAILED! => {"changed": true, "cmd": "ip route add default via 10.84.51.254 dev vhost0", "delta": "0:00:00.002345", "end": "2017-02-09 14:24:52.613652", "failed": true, "rc": 2, "start": "2017-02-09 14:24:52.611307", "stderr": "RTNETLINK answers: Network is unreachable", "stdout": "", "stdout_lines": [], "warnings": []}

There are two interfaces:
control_data: 5.5.5.12/24
management: 10.84.51.12/24

The task is trying to add default route to vhost interface (not necessary, or necessary only when ip on default gateway network is being moved to vhost0) and this is failing with this error:

root@server12(controller):~# ip route add default via 10.84.51.254 dev vhost0
RTNETLINK answers: Network is unreachable

The 10.84.51.254 gateway will not be reachable from 5.5.5.x network

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant