Centralized router can add routes, but distributed router can not. The neutron router-update operation fails silently.
operation defines as follow:
dvr-controller:/var/log/neutron # neutron router-update dvr --routes type=dict list=true destination=172.16.10.0/24,nexthop=128.10.6.188
Updated router: dvr
l3-agent wrong log:
2014-12-27 08:39:29.769 17101 DEBUG neutron.agent.linux.utils [-] Running command: ['sudo', 'neutron-rootwrap', '/etc/neutron/rootwrap.conf', 'ip', 'netns', 'exec', 'qrouter-46f5f3de-643d-4e92-9d7c-28f374eed1ef', 'ip', 'route', 'replace', 'to', '172.16.10.0/24', 'via', '128.10.6.188'] create_process /usr/lib64/python2.6/site-packages/neutron/agent/linux/utils.py:46
2014-12-27 08:39:29.852 17101 ERROR neutron.agent.linux.utils [-]
Command: ['sudo', 'neutron-rootwrap', '/etc/neutron/rootwrap.conf', 'ip', 'netns', 'exec', 'qrouter-46f5f3de-643d-4e92-9d7c-28f374eed1ef', 'ip', 'route', 'replace', 'to', '172.16.10.0/24', 'via', '128.10.6.188']
Exit code: 2
Stdout: ''
Stderr: 'RTNETLINK answers: No such process\n'
Fix proposed to branch: master /review. openstack. org/144205
Review: https:/