<div dir="ltr">Hi All,<div><br></div><div style>I installed multi nodes openstack (using devstack) with ML2 as core plugin. I need to perform a task when update_port_pre/post_commit methods is called during installation of VM. </div>
<div style>As I enabled q-svc and q-agt on control and only q-agt on the compute node, compute node won't run neutron-server so no mechanism driver is loaded.</div><div style>I see the port event on compute node with this failure shown below.</div>
<div style><br></div><div style>Is there anyway to load mechanism driver for compute nodes? </div><div style><br></div><div style><p style="margin:0px;font-size:12px;font-family:'Courier New'">2014-03-12 10:35:05.418 TRACE neutron.plugins.openvswitch.agent.ovs_neutron_agent File "/opt/stack/neutron/neutron/openstack/common/rpc/amqp.py", line 516, in __iter__</p>
<p style="margin:0px;font-size:12px;font-family:'Courier New'">2014-03-12 10:35:05.418 TRACE neutron.plugins.openvswitch.agent.ovs_neutron_agent raise result</p>
<p style="margin:0px;font-size:12px;font-family:'Courier New'">2014-03-12 10:35:05.418 TRACE neutron.plugins.openvswitch.agent.ovs_neutron_agent RemoteError: Remote error: MechanismDriverError update_port_postcommit failed.</p>
<p style="margin:0px;font-size:12px;font-family:'Courier New'">2014-03-12 10:35:05.418 TRACE neutron.plugins.openvswitch.agent.ovs_neutron_agent [u'Traceback (most recent call last):\n', u' File "/opt/stack/neutron/neutron/openstack/common/rpc/amqp.py", line 438, in _process_data\n **args)\n', u' File "/opt/stack/neutron/neutron/common/rpc.py", line 44, in dispatch\n neutron_ctxt, version, method, namespace, **kwargs)\n', u' File "/opt/stack/neutron/neutron/openstack/common/rpc/dispatcher.py", line 172, in dispatch\n result = getattr(proxyobj, method)(ctxt, **kwargs)\n', u' File "/opt/stack/neutron/neutron/plugins/ml2/rpc.py", line 192, in update_device_up\n q_const.PORT_STATUS_ACTIVE)\n', u' File "/opt/stack/neutron/neutron/plugins/ml2/plugin.py", line 681, in update_port_status\n self.mechanism_manager.update_port_postcommit(mech_context)\n', u' File "/opt/stack/neutron/neutron/plugins/ml2/managers.py", line 395, in update_port_postcommit\n self._call_on_drivers("update_port_postcommit", context)\n', u' File "/opt/stack/neutron/neutron/plugins/ml2/managers.py", line 167, in _call_on_drivers\n method=method_name\n', u'MechanismDriverError: update_port_postcommit failed.\n'].</p>
<p style="margin:0px;font-size:12px;font-family:'Courier New'"><br></p><p style="margin:0px;font-size:12px;font-family:'Courier New'"><span style="font-family:arial;font-size:small">Regards,</span></p><p style="margin:0px;font-size:12px;font-family:'Courier New'">
<span style="font-family:arial;font-size:small">Nader </span><br></p><p style="margin:0px;font-size:12px;font-family:'Courier New'"><br></p></div></div>