<div dir="ltr">Hello,<div><br></div><div>I'm trying to integrate Neutron in RDO Kilo with Brocade VCS (VDX 6740).</div><div><br></div><div>I've used the brocade mechanism driver and configured the switch credentials.</div><div><br></div><div>After the neutron-server has been restarted I can see the connection to the fabric:</div><div>
<p class="p1"><span class="s1">2016-01-15 15:26:29.028 2568 DEBUG neutron.service [-] ml2_brocade.address = XXX log_opt_values /usr/lib/python2.7/site-packages/oslo_config/cfg.py:2199</span></p>
<p class="p1"><span class="s1">2016-01-15 15:26:29.028 2568 DEBUG neutron.service [-] ml2_brocade.ostype = NOS log_opt_values /usr/lib/python2.7/site-packages/oslo_config/cfg.py:2199</span></p>
<p class="p1"><span class="s1">2016-01-15 15:26:29.028 2568 DEBUG neutron.service [-] ml2_brocade.osversion = autodetect log_opt_values /usr/lib/python2.7/site-packages/oslo_config/cfg.py:2199</span></p>
<p class="p1"><span class="s1">2016-01-15 15:26:29.028 2568 DEBUG neutron.service [-] ml2_brocade.password = **** log_opt_values /usr/lib/python2.7/site-packages/oslo_config/cfg.py:2199</span></p>
<p class="p1"><span class="s1">2016-01-15 15:26:29.029 2568 DEBUG neutron.service [-] ml2_brocade.physical_networks = physnet2 log_opt_values /usr/lib/python2.7/site-packages/oslo_config/cfg.py:2199</span></p>
<p class="p1"><span class="s1">2016-01-15 15:26:29.029 2568 DEBUG neutron.service [-] ml2_brocade.username = XXX log_opt_values /usr/lib/python2.7/site-packages/oslo_config/cfg.py:2199</span></p></div><div><br></div><div><br></div><div>However then I try to create a new network the command `neutron net-create bnet1' is handing forever and I see the netconf error in the logs:</div><div><br></div>
<div>
<p class="p1"><span class="s1">2016-01-15 15:19:22.994 141913 ERROR networking_brocade.vdx.ml2driver.nos.nosdriver [req-e47db9a2-dfbb-47c0-b63e-a0be613ad056 ] NETCONF error</span></p>
<p class="p1"><span class="s1">2016-01-15 15:19:22.994 141913 TRACE networking_brocade.vdx.ml2driver.nos.nosdriver Traceback (most recent call last):</span></p>
<p class="p1"><span class="s1">2016-01-15 15:19:22.994 141913 TRACE networking_brocade.vdx.ml2driver.nos.nosdriver File "/usr/lib/python2.7/site-packages/networking_brocade/vdx/ml2driver/nos/nosdriver.py", line 124, in create_network</span></p>
<p class="p1"><span class="s1">2016-01-15 15:19:22.994 141913 TRACE networking_brocade.vdx.ml2driver.nos.nosdriver self.create_vlan_interface(mgr, net_id)</span></p>
<p class="p1"><span class="s1">2016-01-15 15:19:22.994 141913 TRACE networking_brocade.vdx.ml2driver.nos.nosdriver File "/usr/lib/python2.7/site-packages/networking_brocade/vdx/ml2driver/nos/nosdriver.py", line 192, in create_vlan_interface</span></p>
<p class="p1"><span class="s1">2016-01-15 15:19:22.994 141913 TRACE networking_brocade.vdx.ml2driver.nos.nosdriver mgr.edit_config(target='running', config=confstr)</span></p>
<p class="p1"><span class="s1">2016-01-15 15:19:22.994 141913 TRACE networking_brocade.vdx.ml2driver.nos.nosdriver File "/usr/lib/python2.7/site-packages/ncclient/manager.py", line 78, in wrapper</span></p>
<p class="p1"><span class="s1">2016-01-15 15:19:22.994 141913 TRACE networking_brocade.vdx.ml2driver.nos.nosdriver return self.execute(op_cls, *args, **kwds)</span></p>
<p class="p1"><span class="s1">2016-01-15 15:19:22.994 141913 TRACE networking_brocade.vdx.ml2driver.nos.nosdriver File "/usr/lib/python2.7/site-packages/ncclient/manager.py", line 132, in execute</span></p>
<p class="p1"><span class="s1">2016-01-15 15:19:22.994 141913 TRACE networking_brocade.vdx.ml2driver.nos.nosdriver raise_mode=self._raise_mode).request(*args, **kwds)</span></p>
<p class="p1"><span class="s1">2016-01-15 15:19:22.994 141913 TRACE networking_brocade.vdx.ml2driver.nos.nosdriver File "/usr/lib/python2.7/site-packages/ncclient/operations/edit.py", line 58, in request</span></p>
<p class="p1"><span class="s1">2016-01-15 15:19:22.994 141913 TRACE networking_brocade.vdx.ml2driver.nos.nosdriver return self._request(node)</span></p>
<p class="p1"><span class="s1">2016-01-15 15:19:22.994 141913 TRACE networking_brocade.vdx.ml2driver.nos.nosdriver File "/usr/lib/python2.7/site-packages/ncclient/operations/rpc.py", line 294, in _request</span></p>
<p class="p1"><span class="s1">2016-01-15 15:19:22.994 141913 TRACE networking_brocade.vdx.ml2driver.nos.nosdriver raise TimeoutExpiredError</span></p>
<p class="p1"><span class="s1">2016-01-15 15:19:22.994 141913 TRACE networking_brocade.vdx.ml2driver.nos.nosdriver TimeoutExpiredError</span></p>
<p class="p1"><span class="s1">2016-01-15 15:19:22.994 141913 TRACE networking_brocade.vdx.ml2driver.nos.nosdriver </span></p>
<p class="p1"><span class="s1">2016-01-15 15:19:22.996 141913 INFO ncclient.operations.rpc [req-e47db9a2-dfbb-47c0-b63e-a0be613ad056 ] Requesting 'CloseSession'</span></p><p class="p1"><span class="s1"><br></span></p><p class="p1"><span class="s1"><br></span></p><p class="p1"><span class="s1">I've tried both versions of ncclient: </span><span class="s1"><b>ncc</b></span><span class="s2">lient==0.3.2 from </span></p>
<a href="https://code.grnet.gr/git/ncclient">https://code.grnet.gr/git/ncclient</a> as well as the one available in PyPi.</div><div>Additionally I installed from PyPi <span class="s1">networking-</span><span class="s2"><b>broc</b></span><span class="s1">ade==2015.1.1.dev55 as neutron server didn't start complaining about missing networking_brocade modude.</span></div><div><span class="s1"><br></span></div><div><span class="s1">I'll appreciate any hints.</span></div><div><span class="s1"><br></span></div><div><span class="s1">-- </span></div><div><span class="s1">Regards,</span></div><div><span class="s1">Bohdan</span></div>
</div>