<html><head><meta http-equiv="content-type" content="text/html; charset=utf-8"></head><body dir="auto">Guru is correct. &nbsp;You cannot include a kernel module in a docker image. &nbsp;<br><br><div dir="ltr">/Shivaram<div>::Sent from my mobile device::</div></div><div dir="ltr"><br><blockquote type="cite">On Nov 11, 2019, at 1:04 PM, Guru Shetty &lt;guru@ovn.org&gt; wrote:<br><br></blockquote></div><blockquote type="cite"><div dir="ltr"><div dir="ltr"><div dir="ltr"><br></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Mon, 11 Nov 2019 at 10:08, aginwala &lt;<a href="mailto:aginwala@asu.edu">aginwala@asu.edu</a>&gt; wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr"><div dir="ltr"><br></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Mon, Nov 11, 2019 at 9:00 AM Guru Shetty &lt;<a href="mailto:guru@ovn.org" target="_blank">guru@ovn.org</a>&gt; wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr"><div dir="ltr"><br></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Fri, 8 Nov 2019 at 14:41, aginwala &lt;<a href="mailto:aginwala@asu.edu" target="_blank">aginwala@asu.edu</a>&gt; wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr">openvswitch.ko ships default with newer kernel but if we want to use say stt, we need to build it with respective kernel for host on which we will run. Hence, to skip host level installation , we pack the modules in container.</div></blockquote><div><br></div><div>It is not clear to me. Is DKMS enabled here? Or is it that openvswitch/ovs:2.12.0_debian_4.15.0-66-generic will only work on kernel&nbsp;4.15.0-66-generic?&nbsp;&nbsp;</div><div>&nbsp;</div></div></div></blockquote><div>No. Dkms is not enabled because idea is to release a new docker image for every new kernel upgrade on&nbsp;compute&nbsp;(Not sure if dkms will help much in container case as we are not installing on host). Do you have any specific use case which? Yes on host with 4.15.0-66-generic.&nbsp;&nbsp;</div></div></div></blockquote><div><br></div><div>It will probably be very hard to release each OVS version to so many available kernels. How do you decide which kernel that you want to release a image for? What is the plan here? I think it makes sense to release one image without a kernel module packed with it.</div><div><br></div><div>&nbsp;</div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr"><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr"><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Fri, Nov 8, 2019 at 2:37 PM Guru Shetty &lt;<a href="mailto:guru@ovn.org" target="_blank">guru@ovn.org</a>&gt; wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr"><div dir="ltr"><br></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Fri, 8 Nov 2019 at 14:18, aginwala &lt;<a href="mailto:aginwala@asu.edu" target="_blank">aginwala@asu.edu</a>&gt; wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr">Hi all:<div><br></div><div><div><br></div><div>I have pushed two images to public openvswitch org on <a href="http://docker.io" target="_blank">docker.io</a> for ovs and ovn;&nbsp;<div>OVS for ubuntu with 4.15 kernel: <b>openvswitch/ovs:2.12.0_debian_4.15.0-66-generic</b></div></div></div></div></blockquote><div><br></div><div>Why is the kernel important here? Is the OVS kernel module being packed?</div><div>&nbsp;</div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr"><div><div><div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;run as : docker run -itd --net=host --name=ovsdb-server openvswitch/ovs:2.12.0_debian_4.15.0-66-generic ovsdb-server&nbsp;</div><div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; docker run -itd --net=host --name=ovs-vswitchd &nbsp;--volumes-from=ovsdb-server --privileged&nbsp; openvswitch/ovs:2.12.0_debian_4.15.0-66-generic ovs-vswitchd</div><div><br></div><div>OVN debian docker image:&nbsp; <b>openvswitch/ovn:2.12_e60f2f2_debian_master</b> as we don't have a branch cut out for ovn yet. (Hence, tagged it with last commit on master)</div><div>&nbsp; &nbsp; Follow steps as per:&nbsp;<a href="https://github.com/ovn-org/ovn/blob/master/Documentation/intro/install/general.rst" target="_blank">https://github.com/ovn-org/ovn/blob/master/Documentation/intro/install/general.rst</a></div><div><br></div><div><br></div><div>Thanks Guru for sorting out the access/cleanups for openvswitch org on <a href="http://docker.io" target="_blank">docker.io</a>.&nbsp;<br></div><div>&nbsp; &nbsp;</div><div>We can plan to align this docker push for each stable release ahead.<br></div><div><br></div><div><br></div></div></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Fri, Nov 8, 2019 at 10:17 AM aginwala &lt;<a href="mailto:aginwala@asu.edu" target="_blank">aginwala@asu.edu</a>&gt; wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr">Thanks&nbsp;Guru:<div><br></div><div>Sounds good. Can you please grant user aginwala as admin? I can create two repos ovs and ovn under openvswitch org and can push new stable release versions there.&nbsp;</div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Fri, Nov 8, 2019 at 10:04 AM Guru Shetty &lt;<a href="mailto:guru@ovn.org" target="_blank">guru@ovn.org</a>&gt; wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr"><div dir="ltr">On Fri, 8 Nov 2019 at 09:53, Guru Shetty &lt;<a href="mailto:guru@ovn.org" target="_blank">guru@ovn.org</a>&gt; wrote:<br></div><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr">I had created a openvswitch repo in docker as a placeholder. Happy to provide&nbsp;it to whoever the admin is.</div></blockquote><div><br></div><div>i.e. You can use the keyword&nbsp;"openvswitch". For e.g., right now, it has one stale image.</div><div><br></div><div>docker run -d --net=none openvswitch/ipam:v2.4.90 /bin/sh -c "while true; do echo hello world; sleep 1; done"<br></div><div><br></div><div>So if we want the name "openvswitch", this is one option. If we prefer ovs/ovn or other keywords, then the admin can create a new one.</div><div>&nbsp;</div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Thu, 7 Nov 2019 at 13:15, aginwala &lt;<a href="mailto:aginwala@asu.edu" target="_blank">aginwala@asu.edu</a>&gt; wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr"><div style="margin:0px;padding:0px;border:0px;font-style:inherit;font-variant:inherit;font-weight:inherit;font-stretch:inherit;font-size:12pt;line-height:inherit;font-family:Calibri,Arial,Helvetica,sans-serif;vertical-align:baseline;color:rgb(0,0,0)">Hi All:</div><div style="margin:0px;padding:0px;border:0px;font-style:inherit;font-variant:inherit;font-weight:inherit;font-stretch:inherit;font-size:12pt;line-height:inherit;font-family:Calibri,Arial,Helvetica,sans-serif;vertical-align:baseline;color:rgb(0,0,0)"><br></div><div style="margin:0px;padding:0px;border:0px;font-style:inherit;font-variant:inherit;font-weight:inherit;font-stretch:inherit;font-size:12pt;line-height:inherit;font-family:Calibri,Arial,Helvetica,sans-serif;vertical-align:baseline;color:rgb(0,0,0)">As discussed in the meeting today, we all agreed that it will be a good idea to push docker images for each new ovs/ovn stable release. Hence, need help from maintainers Ben/Mark/Justin/Han to address some open action items as it is more of org/ownership/rights related:</div><div style="margin:0px;padding:0px;border:0px;font-style:inherit;font-variant:inherit;font-weight:inherit;font-stretch:inherit;font-size:12pt;line-height:inherit;font-family:Calibri,Arial,Helvetica,sans-serif;vertical-align:baseline;color:rgb(0,0,0)"><ol><li>Get new repo created under <a href="http://docker.io" target="_blank">docker.io</a> with name either ovs/ovn and declare it public repo</li><li>How about copy-rights for running images for open source projects</li><li>Storage: unlimited or some limited GBs<br></li><li>Naming conventions for docker images ;e.g openswitch/ovn:2.13.1_debian or&nbsp;<span style="margin:0px;padding:0px;border:0px;font-style:inherit;font-variant:inherit;font-weight:inherit;font-stretch:inherit;font-size:inherit;line-height:inherit;vertical-align:baseline;color:inherit">openswitch/ovn:2.13.1_rhel. Similar for ovs.</span></li></ol><div style="margin:0px;padding:0px;border:0px;font-variant-numeric:inherit;font-variant-east-asian:inherit;font-stretch:inherit;line-height:inherit;vertical-align:baseline"><br></div><div style="margin:0px;padding:0px;border:0px;font-variant-numeric:inherit;font-variant-east-asian:inherit;font-stretch:inherit;line-height:inherit;vertical-align:baseline">Once this is done, we can bundle docker image changes in the same release process</div><div style="margin:0px;padding:0px;border:0px;font-variant-numeric:inherit;font-variant-east-asian:inherit;font-stretch:inherit;line-height:inherit;vertical-align:baseline"><br></div><div style="margin:0px;padding:0px;border:0px;font-variant-numeric:inherit;font-variant-east-asian:inherit;font-stretch:inherit;line-height:inherit;vertical-align:baseline">Please feel free to add any missing piece.</div><br></div></div>
_______________________________________________<br>
discuss mailing list<br>
<a href="mailto:discuss@openvswitch.org" target="_blank">discuss@openvswitch.org</a><br>
<a href="https://mail.openvswitch.org/mailman/listinfo/ovs-discuss" rel="noreferrer" target="_blank">https://mail.openvswitch.org/mailman/listinfo/ovs-discuss</a><br>
</blockquote></div>
</blockquote></div></div>
</blockquote></div>
</blockquote></div>
</blockquote></div></div>
</blockquote></div>
</blockquote></div></div>
</blockquote></div></div>
</blockquote></div></div>
<span>_______________________________________________</span><br><span>discuss mailing list</span><br><span>discuss@openvswitch.org</span><br><span>https://mail.openvswitch.org/mailman/listinfo/ovs-discuss</span><br></div></blockquote></body></html>