[ovirt-users] Add new host with Neutron Provider

Eduardo Terzella eterzella at gmail.com
Mon Dec 8 00:26:45 UTC 2014


Hello,

rpm -q --scripts openstack-neutron-openvswitch-2014.1.3-4.el6.noarch
postinstall scriptlet (using /bin/sh):
if [ $1 -eq 1 ] ; then
    # Initial installation
    /sbin/chkconfig --add openstack-openvswitch-agent
fi
preuninstall scriptlet (using /bin/sh):
if [ $1 -eq 0 ] ; then
    # Package removal, not upgrade
    /sbin/service neutron-openvswitch-agent stop >/dev/null 2>&1
    /sbin/chkconfig --del neutron-openvswitch-agent
fi
postuninstall scriptlet (using /bin/sh):
if [ $1 -ge 1 ] ; then
    # Package upgrade, not uninstall
    /sbin/service neutron-ovs-cleanup condrestart >/dev/null 2>&1 || :
    /sbin/service neutron-openvswitch-agent condrestart >/dev/null 2>&1 || :
fi

from what I understand, the daemon is actually not the OpenStack-openvswitch
-agent but the neutron-openvswitch-agent.

Is there any way to fix this?

2014-12-07 20:18 GMT-02:00 Alon Bar-Lev <alonbl at redhat.com>:

>
>
> ----- Original Message -----
> > From: "Eduardo Terzella" <eterzella at gmail.com>
> > To: "Alon Bar-Lev" <alonbl at redhat.com>
> > Cc: users at ovirt.org
> > Sent: Monday, December 8, 2014 12:11:59 AM
> > Subject: Re: [ovirt-users] Add new host with Neutron Provider
> >
> > Thx for replay.
> >
> > The strange thing is that if you install terminal via package works
> > perfectly.
> >
> > yum install openStack-neutron-openvswitch
>
> yes, the yum installation via automation is more pedantic and does not
> ignore the errors.
> the standard yum command expects the human to catch these and react.
>
> >
> >
> >
> >
> > However if through oVirt-engine, adding a new host and selecting the
> > provider neutron happens the reported error:
> >
> >
> > [image: Imagem inline 2]
> >
> >
> > 2014-12-07 19:41 GMT-02:00 Alon Bar-Lev <alonbl at redhat.com>:
> >
> > > Hi,
> > >
> > > There is a bug in the openstack-neutron-openvswitch rpm package.
> > >
> > > It fails %post with:
> > > error reading information on service openstack-openvswitch-agent: No
> such
> > > file or directory
> > >
> > > And if expected to fail, it does not ignore exit code.
> > >
> > > I suggest you open a bug for openstack-neutron-openvswitch, this is a
> new
> > > issue.
> > >
> > > Regards,
> > > Alon
> > >
> > > ----- Original Message -----
> > > > From: "Eduardo Terzella" <eterzella at gmail.com>
> > > > To: users at ovirt.org
> > > > Sent: Sunday, December 7, 2014 11:37:06 PM
> > > > Subject: [ovirt-users] Add new host with Neutron Provider
> > > >
> > > > Hello,
> > > >
> > > > You can help ?
> > > >
> > > > I tried to add neutron provider on my node ovirt and when tried to
> > > installing
> > > > occurred the following error:
> > > >
> > > > 2014-12-07 15:15:31 INFO otopi.plugins.otopi.packagers.yumpackager
> > > > yumpackager.info:92 Yum install: 52/53:
> > > > openstack-neutron-openvswitch-2014.1.3-4.el6.noarch
> > > > 2014-12-07 15:15:31 ERROR otopi.plugins.otopi.packagers.yumpackager
> > > > yumpackager.error:97 Yum Non-fatal POSTIN scriptlet failure in rpm
> > > package
> > > > openstack-neutron-openvswitch-2014.1.3-4.el6.noarch
> > > > 2014-12-07 15:15:31 DEBUG otopi.plugins.otopi.packagers.yumpackager
> > > > yumpackager.verbose:88 Yum Script sink: error reading information on
> > > service
> > > > openstack-openvswitch-agent: No such file or directory
> > > > warning: %post(openstack-neutron-openvswitch-2014.1.3-4.el6.noarch)
> > > scriptlet
> > > > failed, exit status 1
> > > >
> > > > 2014-12-07 15:15:31 DEBUG otopi.plugins.otopi.packagers.yumpackager
> > > > yumpackager.verbose:88 Yum Done:
> > > > openstack-neutron-openvswitch-2014.1.3-4.el6.noarch
> > > > 2014-12-07 15:15:31 DEBUG otopi.plugins.otopi.packagers.yumpackager
> > > > yumpackager.verbose:88 Yum Done:
> > > > openstack-neutron-openvswitch-2014.1.3-4.el6.noarch
> > > >
> > > > I already add the repo openstak on the node.
> > > >
> > > > _______________________________________________
> > > > Users mailing list
> > > > Users at ovirt.org
> > > > http://lists.ovirt.org/mailman/listinfo/users
> > > >
> > >
> >
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.ovirt.org/pipermail/users/attachments/20141207/f7194437/attachment-0001.html>


More information about the Users mailing list