<div dir="ltr"><table cellpadding="0" style="font-family:arial,sans-serif;font-size:13px"><tbody><tr><td style="width:1240px"><table cellpadding="0" style="width:1240px"><tbody><tr><td><div>
<span name="Ken'ichi Ohmichi" style="font-size:13px">Ken'ichi, thank you again.  You actually had the answer to my problem in your first reply, but I did not listen.</span></div><div><span name="Ken'ichi Ohmichi" style="font-size:13px"><br>

</span></div><div>If you install openvswitch first, it fails dependency checking looking for "openvswitch-kmod".  However, if you install "kmod-openvswitch" *first*, the dependency checks for the "openvswitch" rpm passes somehow.</div>
<div><br></div><div>The vagaries of rpms.  If I had time, I'd crack open these rpms and see how this was possible. Clearly it's not as simple as checking the name of the rpm.</div><table cellpadding="0"><tbody><tr>
<td style="width:1240px"><br></td></tr></tbody></table></td></tr></tbody></table></td></tr></tbody></table>
</div><div class="gmail_extra"><br><br><div class="gmail_quote">On Fri, Feb 1, 2013 at 2:53 AM, Ken'ichi Ohmichi <span dir="ltr"><<a href="mailto:oomichi@mxs.nes.nec.co.jp" target="_blank">oomichi@mxs.nes.nec.co.jp</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><br>
Hi Greg,<br>
<div class="im"><br>
On Fri, 1 Feb 2013 02:25:00 -0500<br>
Greg Chavez <<a href="mailto:greg.chavez@gmail.com">greg.chavez@gmail.com</a>> wrote:<br>
><br>
> Arigato gozaimasu.  Where did you get that rpm?<br>
<br>
</div>Dou itashimashite,<br>
<br>
I built the rpm files from source file by the following way:<br>
<br>
# wget <a href="http://openvswitch.org/releases/openvswitch-1.7.3.tar.gz" target="_blank">http://openvswitch.org/releases/openvswitch-1.7.3.tar.gz</a><br>
# tar -zxvf openvswitch-1.7.3.tar.gz<br>
# vi ./openvswitch-1.7.3/datapath/linux/compat/include/linux/skbuff.h<br>
<-- To avoid compile error, I remove the following lines. --><br>
-#if LINUX_VERSION_CODE < KERNEL_VERSION(3,2,0)<br>
-static inline struct page *skb_frag_page(const skb_frag_t *frag)<br>
-{<br>
-       return frag->page;<br>
-}<br>
-#endif<br>
-<br>
# rm openvswitch-1.7.3.tar.gz<br>
# tar -zcvf openvswitch-1.7.3.tar.gz openvswitch-1.7.3/<br>
# mv openvswitch-1.7.3.tar.gz rpmbuild/SOURCES/<br>
# rpmbuild -bb -D `uname -r` openvswitch-1.7.3/rhel/openvswitch.spec<br>
# rpmbuild -bb -D `uname -r` openvswitch-1.7.3/rhel/openvswitch-kmod-rhel6.spec<br>
# ls ~/rpmbuild/RPMS/x86_64/<br>
kmod-openvswitch-1.7.3-1.el6.x86_64.rpm  openvswitch-1.7.3-1.x86_64.rpm  openvswitch-debuginfo-1.7.3-1.x86_64.rpm<br>
<div class="HOEnZb"><div class="h5">#<br>
<br>
<br>
Thanks<br>
Ken'ichi Ohmichi<br>
<br>
---<br>
<br>
> On Fri, Feb 1, 2013 at 1:19 AM, Ken'ichi Ohmichi<br>
> <<a href="mailto:oomichi@mxs.nes.nec.co.jp">oomichi@mxs.nes.nec.co.jp</a>>wrote:<br>
><br>
> ><br>
> > Hi Greg,<br>
> ><br>
> > I can install openvswitch-1.7.3-1.x86_64.rpm on CentOS6.3 if specifying<br>
> > with kmod-openkmod-openvswitch-1.7.3-1.el6.x86_64.rpm:<br>
> ><br>
> > # rpm -ivh openvswitch-1.7.3-1.x86_64.rpm<br>
> > kmod-openvswitch-1.7.3-1.el6.x86_64.rpm<br>
> > Preparing...                ###########################################<br>
> > [100%]<br>
> >    1:kmod-openvswitch       ########################################### [<br>
> > 50%]<br>
> >    2:openvswitch            ###########################################<br>
> > [100%]<br>
> > #<br>
> ><br>
> ><br>
> > Thanks<br>
> > Ken'ichi Ohmichi<br>
> ><br>
> > ---<br>
> ><br>
> > On Thu, 31 Jan 2013 23:52:39 -0500<br>
> > Greg Chavez <<a href="mailto:greg.chavez@gmail.com">greg.chavez@gmail.com</a>> wrote:<br>
> > ><br>
> > > On RHEL 6.3, with EPEL repos, we have<br>
> > openstack-quantum-openvswitch.noarch.<br>
> > >  It requires openvswitch.x86_64, which isn't provided by either RHEL<br>
> > > channels or EPEL!<br>
> > ><br>
> > > So I tracked down the openvswitch source (not that hard) , and after a<br>
> > few<br>
> > > hours of battling various compilation erros, ended up with three rpms<br>
> > that<br>
> > > I add to my mrepo yum repo:<br>
> > ><br>
> > > [root@cs-repo-02 SysEng6-x86_64]# ls *openv*<br>
> > > kmod-openvswitch-1.7.3-1.el6.x86_64.rpm  openvswitch-1.7.3-1.x86_64.rpm<br>
> > >  openvswitch-debuginfo-1.7.3-1.x86_64.rpm<br>
> > ><br>
> > > So I re-run my attempt to install the OpenVswitch plugin and guess what!<br>
> > ><br>
> > > Error: Package: openvswitch-1.7.3-1.x86_64 (syseng6)<br>
> > >            Requires: openvswitch-kmod<br>
> > ><br>
> > > You say openvswitch-kmod, I say kmod-openvswitch, you say go F yourself.<br>
> > ><br>
> > > It's late, I've been working this for weeks.  This is just the latest<br>
> > > obstacle. Please help.<br>
> > ><br>
> > > The OpenVswitch people are few and unresponsive, by the way.  Useless<br>
> > > mailing lists.<br>
> > ><br>
> > > --<br>
> > > \*..+.-<br>
> > > --Greg Chavez<br>
> > > +//..;};<br>
> ><br>
> > _______________________________________________<br>
> > Mailing list: <a href="https://launchpad.net/~openstack" target="_blank">https://launchpad.net/~openstack</a><br>
> > Post to     : <a href="mailto:openstack@lists.launchpad.net">openstack@lists.launchpad.net</a><br>
> > Unsubscribe : <a href="https://launchpad.net/~openstack" target="_blank">https://launchpad.net/~openstack</a><br>
> > More help   : <a href="https://help.launchpad.net/ListHelp" target="_blank">https://help.launchpad.net/ListHelp</a><br>
> ><br>
><br>
><br>
><br>
> --<br>
> \*..+.-<br>
> --Greg Chavez<br>
> +//..;};<br>
</div></div></blockquote></div><br><br clear="all"><div><br></div>-- <br>\*..+.-<br>--Greg Chavez<br>+//..;};
</div>