Hi Guanyao,, Did you check for datapath_leave_event and make sure that you do not send commands to invalid datapathid? Seems like that is the problem.
Regards KK On 4 April 2010 21:41, Guanyao Huang <[email protected]> wrote: > Hi > Sorry to bother others. My program breaks with datapath leaves the > network (HP switch). There are some errors returned by the > send_openflow_command, which I dont understand. Is there any document > on the meaning of the error? > > > 00079|openflow|WARN:stream: send error: Broken pipe > 00080|routingMR|ERR:OpenFlowMR::install_flow: flow-mod command to dpid > f7cae4000064 : error 32 > 00081|openflow|WARN:stream: send error: Bad file descriptor > 00082|routingMR|ERR:OpenFlowMR::install_flow: flow-mod command to dpid > f7cae4000064 : error 9 > 00083|openflow|WARN:stream: send error: Bad file descriptor > not successfully opf command: routingMR::send_stats_request() > 00084|openflow|WARN:stream: send error: Bad file descriptor > not successfully opf command: routingMR::send_stats_request() > 00085|openflow|WARN:stream: send error: Bad file descriptor > 00086|routingMR|ERR:OpenFlowMR::install_flow: flow-mod command to dpid > f7cae4000064 : error 9 > 00087|openflow|WARN:stream: send error: Bad file descriptor > 00088|routingMR|ERR:OpenFlowMR::install_flow: flow-mod command to dpid > f7cae4000064 : error 9 > 00089|openflow|WARN:stream: send error: Bad file descriptor > 00090|routingMR|ERR:OpenFlowMR::install_flow: flow-mod command to dpid > f7cae4000064 : error 9 > 00091|openflow|WARN:stream: receive error: Bad file descriptor > 00092|nox|WARN:stream: disconnected (Bad file descriptor) > Datapath leave, f7:ca:e4:00:00:64 > > > In the output above, what are the meaning of error 9 and 32. The > source code is simply as: > > int ofc_ret = send_openflow_command(curr_dpid, &ofm->header, true); > if(ofc_ret) { > VLOG_ERR(lg, "OpenFlowMR::install_flow: flow-mod command to dpid > %s : error %d", curr_dpid.string().c_str(), ofc_ret); > } > > Many thanks. > > _______________________________________________ > nox-dev mailing list > [email protected] > http://noxrepo.org/mailman/listinfo/nox-dev_noxrepo.org > _______________________________________________ nox-dev mailing list [email protected] http://noxrepo.org/mailman/listinfo/nox-dev_noxrepo.org
