Date: Wed, 27 Jul 2022 11:37:16 +0800 From: Chih-Hsin Chang <starbops@hey.com> To: freebsd-net@freebsd.org Subject: Question on Current Status of TCPUTO Socket Option Message-ID: <f4c3d360a7871fa01baa310075b606f83c3b842d@hey.com>
next in thread | raw e-mail | index | archive | help
[-- Attachment #1 --] Hello, I'm working on OpenStack porting stuff recently. I encountered an issue that caused `nova-scheduler` unable to start normally. The `nova- scheduler` needs to build up connections to RabbitMQ with the aid of the RabbitMQ driver in the `oslo.messaging` library. The point is that the driver needs to configure a socket option called `TCP_USER_TIMEOUT` (defined in RFC5482) along the process but the socket option seems not to exist on the FreeBSD platform AFAIK. After searching on the web, I found there're two wiki pages and some patches working on FreeBSD `TCP_USER_TIMEOUT` implementation. But none of them were accepted or merged in the source tree. I would like to know about the current situation of the implementation of this socket option. Thank you. - https://github.com/openstack/oslo.messaging/blob/12.14.0/oslo_messaging/_drivers/impl_rabbit.py#L1025 - https://wiki.freebsd.org/FangWang/TCPUTO - https://wiki.freebsd.org/CatalinNicutar/TCPUTO Sincerely, Chih-Hsin Chang [-- Attachment #2 --] <!DOCTYPE html> <html> <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <meta name="viewport" id="viewport" content="width=device-width,minimum-scale=1.0,maximum-scale=10.0,initial-scale=1.0" /> <style> html{-webkit-text-size-adjust:100%;-ms-text-size-adjust:100%}h1{font-size:1.3em;line-height:1.2;margin:0}ul,ol{margin:0;padding:0}ul li,ol li,li li{margin:0 0 0 36px}[dir=rtl] li{margin:0 18px 0 0}blockquote{border-color:#dfdee1;border-style:solid;border-width:0 0 0 1px;margin:0;padding:0 0 0 1em}[dir=rtl] blockquote,blockquote[dir=rtl]{border-width:0 1px 0 0;padding:0 1em 0 0}pre{font-family:"SFMono-Regular",Consolas,"Liberation Mono",Menlo,Courier,monospace;font-size:.9em;margin:0;padding:1rem;background-color:#f6f5f3;white-space:pre-wrap;word-wrap:break-word;overflow:visible}.message-content{font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Helvetica,Arial,sans-serif,"Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbol";line-height:1.4}.attachment{display:inline-block;margin:0;padding:0}.attachment__caption{padding:0;text-align:center}.attachment__caption a[href]{text-decoration:none;color:#333}.attachment--preview{width:100%;text-align:center;margin:.625em 0}.attachment--preview img{border:1px solid #dfdee1;vertical-align:middle;width:auto;max-width:100%;max-height:640px}.attachment--preview .attachment__caption{color:#716d7b;font-size:.85em;margin-top:.625em}.attachment--file{color:#282138;line-height:1;margin:0 2px 2px 0;padding:.4em 1em;border:1px solid #dfdee1;border-radius:5px}.permalink{color:inherit}.txt--xx-small{font-size:14px}.flush{margin:0;padding:0}.push--bottom{margin-bottom:8px}.border--top{border-top:1px solid #ece9e6}.btn{padding:.2em .4em;font-weight:500;text-decoration:none;border-radius:3rem;white-space:nowrap;background:#5522fa;border-color:#5522fa;color:#fff}.btn--email{display:inline-block;text-align:center;font-weight:500;font-size:1em;text-decoration:none;border-radius:2em;white-space:nowrap;background:#5522fa;border-color:#5522fa;color:#fff;border-top:.3em solid #5522fa;border-left:1em solid #5522fa;border-bottom:.3em solid #5522fa;border-right:1em solid #5522fa}.shaded{padding:1em;border-radius:4px;background-color:#f6f5f3;border:1px solid #dfdee1} </style> </head> <body> <div class="message-content"> <div class="trix-content"> <div>Hello,<br><br>I'm working on OpenStack porting stuff recently. I encountered an issue that caused `nova-scheduler` unable to start normally. The `nova-scheduler` needs to build up connections to RabbitMQ with the aid of the RabbitMQ driver in the `oslo.messaging` library. The point is that the driver needs to configure a socket option called `TCP_USER_TIMEOUT` (defined in RFC5482) along the process but the socket option seems not to exist on the FreeBSD platform AFAIK.<br><br>After searching on the web, I found there're two wiki pages and some patches working on FreeBSD `TCP_USER_TIMEOUT` implementation. But none of them were accepted or merged in the source tree. I would like to know about the current situation of the implementation of this socket option.<br><br>Thank you.<br><br>- https://github.com/openstack/oslo.messaging/blob/12.14.0/oslo_messaging/_drivers/impl_rabbit.py#L1025<br>- https://wiki.freebsd.org/FangWang/TCPUTO<br>- https://wiki.freebsd.org/CatalinNicutar/TCPUTO<br><br>Sincerely,<br>Chih-Hsin Chang</div> </div> </div> </body> </html>
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?f4c3d360a7871fa01baa310075b606f83c3b842d>
