<div dir="ltr">Hello,<br><br>rpm -q --scripts openstack-neutron-openvswitch-2014.1.3-4.el6.noarch<br>postinstall scriptlet (using /bin/sh):<br>if [ $1 -eq 1 ] ; then<br> # Initial installation<br> /sbin/chkconfig --add openstack-openvswitch-agent<br>fi<br>preuninstall scriptlet (using /bin/sh):<br>if [ $1 -eq 0 ] ; then<br> # Package removal, not upgrade<br> /sbin/service neutron-openvswitch-agent stop >/dev/null 2>&1<br> /sbin/chkconfig --del neutron-openvswitch-agent<br>fi<br>postuninstall scriptlet (using /bin/sh):<br>if [ $1 -ge 1 ] ; then<br> # Package upgrade, not uninstall<br> /sbin/service neutron-ovs-cleanup condrestart >/dev/null 2>&1 || :<br> /sbin/service neutron-openvswitch-agent condrestart >/dev/null 2>&1 || :<br>fi<br><br><span id="result_box" class="" lang="en"><span class="">from what I understand</span><span>, the daemon</span> <span class="">is actually</span> <span class="">not the</span> <span class="">OpenStack</span><span class="">-</span><span>openvswitch</span><span>-agent</span> <span class="">but the</span> <span class="">neutron-</span><span>openvswitch</span><span>-agent.</span><br><br> <span class="">Is there any</span> <span class="">way to</span> <span class="">fix this</span><span class="">?</span></span><br></div><div class="gmail_extra"><br><div class="gmail_quote">2014-12-07 20:18 GMT-02:00 Alon Bar-Lev <span dir="ltr"><<a href="mailto:alonbl@redhat.com" target="_blank">alonbl@redhat.com</a>></span>:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><span class=""><br>
<br>
----- Original Message -----<br>
> From: "Eduardo Terzella" <<a href="mailto:eterzella@gmail.com">eterzella@gmail.com</a>><br>
</span><span class="">> To: "Alon Bar-Lev" <<a href="mailto:alonbl@redhat.com">alonbl@redhat.com</a>><br>
> Cc: <a href="mailto:users@ovirt.org">users@ovirt.org</a><br>
> Sent: Monday, December 8, 2014 12:11:59 AM<br>
> Subject: Re: [ovirt-users] Add new host with Neutron Provider<br>
><br>
> Thx for replay.<br>
><br>
> The strange thing is that if you install terminal via package works<br>
> perfectly.<br>
><br>
> yum install openStack-neutron-openvswitch<br>
<br>
</span>yes, the yum installation via automation is more pedantic and does not ignore the errors.<br>
the standard yum command expects the human to catch these and react.<br>
<div class="HOEnZb"><div class="h5"><br>
><br>
><br>
><br>
><br>
> However if through oVirt-engine, adding a new host and selecting the<br>
> provider neutron happens the reported error:<br>
><br>
><br>
> [image: Imagem inline 2]<br>
><br>
><br>
> 2014-12-07 19:41 GMT-02:00 Alon Bar-Lev <<a href="mailto:alonbl@redhat.com">alonbl@redhat.com</a>>:<br>
><br>
> > Hi,<br>
> ><br>
> > There is a bug in the openstack-neutron-openvswitch rpm package.<br>
> ><br>
> > It fails %post with:<br>
> > error reading information on service openstack-openvswitch-agent: No such<br>
> > file or directory<br>
> ><br>
> > And if expected to fail, it does not ignore exit code.<br>
> ><br>
> > I suggest you open a bug for openstack-neutron-openvswitch, this is a new<br>
> > issue.<br>
> ><br>
> > Regards,<br>
> > Alon<br>
> ><br>
> > ----- Original Message -----<br>
> > > From: "Eduardo Terzella" <<a href="mailto:eterzella@gmail.com">eterzella@gmail.com</a>><br>
> > > To: <a href="mailto:users@ovirt.org">users@ovirt.org</a><br>
> > > Sent: Sunday, December 7, 2014 11:37:06 PM<br>
> > > Subject: [ovirt-users] Add new host with Neutron Provider<br>
> > ><br>
> > > Hello,<br>
> > ><br>
> > > You can help ?<br>
> > ><br>
> > > I tried to add neutron provider on my node ovirt and when tried to<br>
> > installing<br>
> > > occurred the following error:<br>
> > ><br>
> > > 2014-12-07 15:15:31 INFO otopi.plugins.otopi.packagers.yumpackager<br>
> > > <a href="http://yumpackager.info:92" target="_blank">yumpackager.info:92</a> Yum install: 52/53:<br>
> > > openstack-neutron-openvswitch-2014.1.3-4.el6.noarch<br>
> > > 2014-12-07 15:15:31 ERROR otopi.plugins.otopi.packagers.yumpackager<br>
> > > yumpackager.error:97 Yum Non-fatal POSTIN scriptlet failure in rpm<br>
> > package<br>
> > > openstack-neutron-openvswitch-2014.1.3-4.el6.noarch<br>
> > > 2014-12-07 15:15:31 DEBUG otopi.plugins.otopi.packagers.yumpackager<br>
> > > yumpackager.verbose:88 Yum Script sink: error reading information on<br>
> > service<br>
> > > openstack-openvswitch-agent: No such file or directory<br>
> > > warning: %post(openstack-neutron-openvswitch-2014.1.3-4.el6.noarch)<br>
> > scriptlet<br>
> > > failed, exit status 1<br>
> > ><br>
> > > 2014-12-07 15:15:31 DEBUG otopi.plugins.otopi.packagers.yumpackager<br>
> > > yumpackager.verbose:88 Yum Done:<br>
> > > openstack-neutron-openvswitch-2014.1.3-4.el6.noarch<br>
> > > 2014-12-07 15:15:31 DEBUG otopi.plugins.otopi.packagers.yumpackager<br>
> > > yumpackager.verbose:88 Yum Done:<br>
> > > openstack-neutron-openvswitch-2014.1.3-4.el6.noarch<br>
> > ><br>
> > > I already add the repo openstak on the node.<br>
> > ><br>
> > > _______________________________________________<br>
> > > Users mailing list<br>
> > > <a href="mailto:Users@ovirt.org">Users@ovirt.org</a><br>
> > > <a href="http://lists.ovirt.org/mailman/listinfo/users" target="_blank">http://lists.ovirt.org/mailman/listinfo/users</a><br>
> > ><br>
> ><br>
><br>
</div></div></blockquote></div><br></div>