<html><head><meta http-equiv="Content-Type" content="text/html charset=windows-1252"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;">Hi,<div><br></div><div>in attachment you can find our modified resource agent…we have noticed that the network namespaces (router and dhcp) are automatically re-created on the new node when the resource manager migrates the network controller on the other physical node (we have grouped all the services related to the network node).</div><div><br></div><div>Please, note that the attached script contains also other patches wrt to the RA available at <a href="https://raw.githubusercontent.com/madkiss/openstack-resource-agents/master/ocf/neutron-agent-l3">https://raw.githubusercontent.com/madkiss/openstack-resource-agents/master/ocf/neutron-agent-l3</a> because we found some issues with the resource agent parameters and the port used to check the established connection with the server; moreover we have added the start/stop operations for the neutron-plugin-openvswitch-agent since there is no available RA at the moment for this service. </div><div><br></div><div>Cheers, </div><div>Marica</div><div>---------------------------</div>dhcp117:~ marica$ diff -w -b neutron-agent-l3 neutron-agent-l3.1<br>20c20<br>< # OCF_RESKEY_agent_config<br>---<br>> # OCF_RESKEY_plugin_config<br>37c37<br>< OCF_RESKEY_agent_config_default="/etc/neutron/l3_agent.ini"<br>---<br>> OCF_RESKEY_plugin_config_default="/etc/neutron/l3_agent.ini"<br>40c40<br>< OCF_RESKEY_neutron_server_port_default="5672"<br>---<br>> OCF_RESKEY_neutron_server_port_default="9696"<br>44c44<br>< : ${OCF_RESKEY_agent_config=${OCF_RESKEY_agent_config_default}}<br>---<br>> : ${OCF_RESKEY_plugin_config=${OCF_RESKEY_plugin_config_default}}<br>98c98<br>< <parameter name="agent_config" unique="0" required="0"><br>---<br>> <parameter name="plugin config" unique="0" required="0"><br>103c103<br>< <content type="string" default="${OCF_RESKEY_agent_config_default}" /><br>---<br>> <content type="string" default="${OCF_RESKEY_plugin_config_default}" /><br>241,247d240<br>< # Aleita<br>< # change hostname<br>< hostname network-controller<br>< <br>< #Marant: temporary patch - restart neutron-plugin-openvswitch-agent<br>< service neutron-plugin-openvswitch-agent start <br>< <br>251c244<br>< --config-file=$OCF_RESKEY_agent_config --log-file=/var/log/neutron/l3-agent.log $OCF_RESKEY_additional_parameters"' >> \<br>---<br>> --config-file=$OCF_RESKEY_plugin_config --log-file=/var/log/neutron/l3-agent.log $OCF_RESKEY_additional_parameters"' >> \<br>320,325d312<br>< # Aleita<br>< # restore old hostname<br>< hostname node1<br>< <br>< #Marant: <br>< service neutron-plugin-openvswitch-agent stop<br><br><div><br></div><div></div></body></html>