Skip to content

Pinning process of librdkafka doesn't work & Juniper packages break the installation #45

@tmonguillon

Description

@tmonguillon

Hi François,

I have recently faced to two bugs which are bound together when I tried to install OpenContrail R3.2.3.x (and also R3.2 and R3.1) with Openstack Mitaka on Ubuntu 14.04.

The first one is related to the building process of the contrail-controller which I've explained in the issue #153 => Juniper/contrail-installer#153.

The second one is about the pinning process of the librdkafka packages. On my Ubuntu 14.04 and after the /etc/apt/preferences.d/contrail-ppa file is created, the apt command always installs the Juniper/OpenContrail PPA version of librdkafka packages instead of the Ubuntu ones. And as the version 0.11.0 of librdkafka is available on the OpenContrail PPA, I'm facing with the problem described above. My problem here is I have no idea why the pinning process fails and how it can be fixed.

However, I've pushed a patch to fix the first problem available here => https://github.com/tmonguillon/devstack-conf/blob/mitaka-eol-contrail/bug-analytics-librdkafka_0.11.0.patch.
This patch can be applied in the local.conf file :

CONTRAIL_PATCHES='cd $CONTRAIL_DEST/controller/src/analytics && wget https://raw.githubusercontent.com/tmonguillon/devstack-conf/mitaka-eol-contrail/bug-analytics-librdkafka_0.11.0.patch && patch -N -r r < bug-analytics-librdkafka_0.11.0.patch'

I think it could be nice to share with the community this problem and a fix until Juniper corrects this.

Regards,
Thomas

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions