[ovs-discuss] debian: does ovn-central pkg really depends on openvswitch-switch?

Flaviof flavio at flaviof.com
Thu Jul 7 18:40:47 UTC 2016


On Sat, Jul 2, 2016 at 6:10 PM, Guru Shetty <guru at ovn.org> wrote:

>
>
> On 2 July 2016 at 05:31, Flaviof <flavio at flaviof.com> wrote:
>
>> Hi folks,
>>
>> I'm trying to install a node where all I have running is ovn northd. That
>> is very similar to what we have as the db node in
>> networking-ovn's Vagrantfile [1].
>> Note that I'm not trying to install/run ovn-controller in this node!
>>
>> It is clear that ovn northd needs ovsdb-server and does not need vswitchd.
>> Actually, ovsdb-server could be external too, but let's not go there. ;)
>>
>> Any thoughts on removing that requirement [2]? My thinking is that
>> ovn-central
>> should only require the 'common' portion of ovn, which indirectly
>> requires just
>> the 'common' part of openvswitch.
>>
>
> Just so that there is no confusion I want to clarify that ovsdb-server
> currently exists in the openvswitch-switch package.
>
> ovn-ctl scripts start ovsdb-server while starting ovn-northd. So there is
> a dependency as of now.
>

Heh, that is what I failed to understand, until today's OVN meeting.

Thanks for the much needed clarification! With that, I can totally see how
changing this is not a one-liner, and likely something low in the todo list.

-- flaviof


>
>> Thanks,
>>
>> flaviof
>>
>> [1]:
>>
>> https://github.com/openstack/networking-ovn/blob/master/vagrant/Vagrantfile#L33
>>
>> [2]:
>> ==> ovn-db: Preparing to unpack .../ovn-central_2.5.90-1_amd64.deb ...
>> ==> ovn-db: Unpacking ovn-central (2.5.90-1) ...
>> ==> ovn-db: Setting up openvswitch-common (2.5.90-1) ...
>> ==> ovn-db: Setting up ovn-common (2.5.90-1) ...
>> ==> ovn-db: dpkg: dependency problems prevent configuration of
>> ovn-central:
>> *==> ovn-db:  ovn-central depends on openvswitch-switch (= 2.5.90-1)*;
>> however:
>> ==> ovn-db:   Package openvswitch-switch is not installed.
>> ==> ovn-db:
>> ==> ovn-db: dpkg: error processing package ovn-central (--install):
>> ==> ovn-db:  dependency problems - leaving unconfigured
>> ==> ovn-db: Processing triggers for man-db (2.6.7.1-1ubuntu1) ...
>> ==> ovn-db: Processing triggers for ureadahead (0.100.0-16) ...
>> ==> ovn-db: Processing triggers for libc-bin (2.19-0ubuntu6.9) ...
>> ==> ovn-db: Errors were encountered while processing:
>> ==> ovn-db:  ovn-central
>> ==> ovn-db: + echo sudo dpkg -i
>> /vagrant/provisioning/pkgs/openvswitch-common_2.5.90-1_amd64.deb
>> /vagrant/provisioning/pkgs/ovn-common_2.5.90-1_amd64.deb
>> /vagrant/provisioning/pkgs/ovn-central_2.5.90-1_amd64.deb
>>
>>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://openvswitch.org/pipermail/ovs-discuss/attachments/20160707/703a99af/attachment-0002.html>


More information about the discuss mailing list