Page MenuHomePhabricator

python-confluent-kafka conflict with snakebite on stat1002
Closed, ResolvedPublic

Description

Puppet is broken on stat1002 because the package python-confluent-kafka is conflicting with the package snakebite over the file /usr/LICENSE.

Both packages actually are wrong installing that file and for both of them this is because of how their setup.py are configured:

data_files = [('', ['LICENSE'])],

See their setup.py: python-confluent-kafka, snakebite

@Ottomata I've seen this is related to some of your changes, in case I don't see you around in the EU afternoon I'll fix it changing the data_files locally on copper and rebuilding the package to unblock the situation.

Event Timeline

Change 326148 had a related patch set uploaded (by Volans):
Revert "Add python-confluent-kafka to eventlogging::dependencies"

https://gerrit.wikimedia.org/r/326148

Change 326148 merged by Volans:
Revert "Add python-confluent-kafka to eventlogging::dependencies"

https://gerrit.wikimedia.org/r/326148

given @Ottomata was out today we decided to revert the last change that added that package to unblock Puppet on stat1002.
On all the hosts in which it was already installed is still there, so it should not break anything.
On stat1002 is was not installed and cannot be until this is fixed.

Thanks Volans!

Will try to fix these packages today (or at least one of them).

Change 326456 had a related patch set uploaded (by Ottomata):
Add debian patch to remove install usr/LICENSE

https://gerrit.wikimedia.org/r/326456

Change 326456 merged by Ottomata:
Add debian patch to remove install usr/LICENSE

https://gerrit.wikimedia.org/r/326456

elukey added subscribers: Dzahn, elukey.

T153493 reports some issues with the new snakebite version naming on stat1004 :(

elukey@stat1004:~$ dpkg -l snakebite
Desired=Unknown/Install/Remove/Purge/Hold
| Status=Not/Inst/Conf-files/Unpacked/halF-conf/Half-inst/trig-aWait/Trig-pend
|/ Err?=(none)/Reinst-required (Status,Err: uppercase=bad)
||/ Name                                    Version                  Architecture             Description
+++-=======================================-========================-========================-===================================================================================
ii  snakebite                               2.11.0~trusty1           all                      Pure Python HDFS client

Forced apt-get install snakebite on stat1004

Ottomata claimed this task.

Ah thanks!