| Hi, 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). Please, note that the attached script contains also other patches wrt to the RA available at https://raw.githubusercontent.com/madkiss/openstack-resource-agents/master/ocf/neutron-agent-l3 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. Cheers, Marica --------------------------- dhcp117:~ marica$ diff -w -b neutron-agent-l3 neutron-agent-l3.120c20 < # OCF_RESKEY_agent_config --- > # OCF_RESKEY_plugin_config 37c37 < OCF_RESKEY_agent_config_default="/etc/neutron/l3_agent.ini" --- > OCF_RESKEY_plugin_config_default="/etc/neutron/l3_agent.ini" 40c40 < OCF_RESKEY_neutron_server_port_default="5672" --- > OCF_RESKEY_neutron_server_port_default="9696" 44c44 < : ${OCF_RESKEY_agent_config=${OCF_RESKEY_agent_config_default}} --- > : ${OCF_RESKEY_plugin_config=${OCF_RESKEY_plugin_config_default}} 98c98 < <parameter name="agent_config" unique="0" required="0"> --- > <parameter name="plugin config" unique="0" required="0"> 103c103 < <content type="string" default="${OCF_RESKEY_agent_config_default}" /> --- > <content type="string" default="${OCF_RESKEY_plugin_config_default}" /> 241,247d240 < # Aleita < # change hostname < hostname network-controller < < #Marant: temporary patch - restart neutron-plugin-openvswitch-agent < service neutron-plugin-openvswitch-agent start < 251c244 < --config-file=$OCF_RESKEY_agent_config --log-file=/var/log/neutron/l3-agent.log $OCF_RESKEY_additional_parameters"' >> \ --- > --config-file=$OCF_RESKEY_plugin_config --log-file=/var/log/neutron/l3-agent.log $OCF_RESKEY_additional_parameters"' >> \ 320,325d312 < # Aleita < # restore old hostname < hostname node1 < < #Marant: < service neutron-plugin-openvswitch-agent stop |
neutron-agent-l3
Description: Binary data
Il giorno 14/mag/2014, alle ore 13:04, walterxj <[email protected]> ha scritto:
|
_______________________________________________ Mailing list: http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack Post to : [email protected] Unsubscribe : http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack
