[Neutron] HA Router fails to initialize

asked 2018-06-04 10:48:14 -0500

RussellM gravatar image

Using OpenStack Queens and everything seems to be working properly except creating an HA Router. I can create a non-HA router, but when creating an HA router I get the following in the logs...

2018-06-04 10:15:18.101 35920 DEBUG neutron.agent.linux.utils [-] Unable to access /var/lib/neutron/external/pids/939c50ef-9bc8-465c-a37e-293a82034715.pid.radvd get_value_from_file /openstack/venvs/neutron-17.0.4/lib/python2.7/site-packages/neutron/agent/linux/utils.py:254 2018-06-04 10:15:18.101 35920 DEBUG neutron.agent.linux.utils [-] Unable to access /var/lib/neutron/external/pids/939c50ef-9bc8-465c-a37e-293a82034715.pid.radvd get_value_from_file /openstack/venvs/neutron-17.0.4/lib/python2.7/site-packages/neutron/agent/linux/utils.py:254 2018-06-04 10:15:18.102 35920 DEBUG neutron.agent.linux.external_process [-] No process started for 939c50ef-9bc8-465c-a37e-293a82034715 disable /openstack/venvs/neutron-17.0.4/lib/python2.7/site-packages/neutron/agent/linux/external_process.py:118 2018-06-04 10:15:18.102 35920 DEBUG neutron.agent.linux.ra [-] radvd disabled for router 939c50ef-9bc8-465c-a37e-293a82034715 disable /openstack/venvs/neutron-17.0.4/lib/python2.7/site-packages/neutron/agent/linux/ra.py:178 2018-06-04 10:15:18.103 35920 DEBUG oslo_concurrency.lockutils [-] Lock "l3-agent-pd" acquired by "neutron.agent.linux.pd.process_ha_state" :: waited 0.000s inner /openstack/venvs/neutron-17.0.4/lib/python2.7/site-packages/oslo_concurrency/lockutils.py:273 2018-06-04 10:15:18.104 35920 DEBUG oslo_concurrency.lockutils [-] Lock "l3-agent-pd" released by "neutron.agent.linux.pd.process_ha_state" :: held 0.001s inner /openstack/venvs/neutron-17.0.4/lib/python2.7/site-packages/oslo_concurrency/lockutils.py:285 2018-06-04 10:15:18.105 35920 DEBUG neutron.agent.linux.utils [-] Unable to access /var/lib/neutron/external/pids/939c50ef-9bc8-465c-a37e-293a82034715.monitor.pid get_value_from_file /openstack/venvs/neutron-17.0.4/lib/python2.7/site-packages/neutron/agent/linux/utils.py:254 2018-06-04 10:15:18.106 35920 DEBUG neutron.agent.linux.utils [-] Running command: ['sudo', '/openstack/venvs/neutron-17.0.4/bin/neutron-rootwrap', '/etc/neutron/rootwrap.conf', 'ip', 'netns', 'exec', 'qrouter-939c50ef-9bc8-465c-a37e-293a82034715', 'neutron-keepalived-state-change', '--router_id=939c50ef-9bc8-465c-a37e-293a82034715', '--namespace=qrouter-939c50ef-9bc8-465c-a37e-293a82034715', '--conf_dir=/var/lib/neutron/ha_confs/939c50ef-9bc8-465c-a37e-293a82034715', '--monitor_interface=ha-be7d98fd-2f', '--monitor_cidr=169.254.0.1/24', '--pid_file=/var/lib/neutron/external/pids/939c50ef-9bc8-465c-a37e-293a82034715.monitor.pid', '--state_path=/var/lib/neutron', '--user=990', '--group=987'] create_process /openstack/venvs/neutron-17.0.4/lib/python2.7/site-packages/neutron/agent/linux/utils.py:92 2018-06-04 10:15:18.119 35920 DEBUG oslo_concurrency.lockutils [-] Lock "notifier-8bcde32e-fbaa-42be-8bfc-3e8a3299f61b" acquired by "neutron.notifiers.batch_notifier.synced_send" :: waited 0.000s inner /openstack/venvs/neutron-17.0.4/lib/python2.7/site-packages/oslo_concurrency/lockutils.py:273 2018-06-04 10:15:18.120 35920 DEBUG neutron.agent.l3.ha [-] Updating server with HA routers states {u'939c50ef-9bc8-465c-a37e-293a82034715': 'standby'} notify_server /openstack/venvs/neutron-17.0.4/lib/python2.7/site-packages/neutron/agent/l3/ha.py:175 2018-06-04 10:15:18.514 35920 ERROR neutron.agent.linux.utils [-] Exit code: 1; Stdin: ; Stdout: ; Stderr: exec of "neutron-keepalived-state-change" failed: No such file or directory

2018-06-04 10:15:18.515 35920 ERROR neutron.agent.l3.agent [-] Error while initializing router 939c50ef-9bc8-465c-a37e-293a82034715: ProcessExecutionError: Exit code: 1; Stdin: ; Stdout: ; Stderr: exec of "neutron-keepalived-state-change" failed: No such file or directory 2018-06-04 10:15:18.515 35920 ERROR neutron.agent ... (more)

edit retag flag offensive close merge delete

Comments

I am having the same issue, Did you resolve it?

Vignesh gravatar imageVignesh ( 2018-12-14 17:19:43 -0500 )edit