Event Timeline
Update: I ran root@apt1002:~# reprepro --noskipold --component thirdparty/opensearch2 update trixie-wikimedia and that forced an update from upstream; the OpenSearch 2 trixie repo component looks healthy now.
Getting this error again when I run
sudo -E reprepro --ignore=wrongdistribution -C component/opensearch2 include trixie-wikimedia \ ~/opensearch-madvise-0.2/opensearch-madvise_0.2_amd64.changes
It seems to prevent the publication of the package.
elukey@apt1002:~$ sudo -i reprepro --ignore=wrongdistribution -C component/opensearch2 include trixie-wikimedia /home/bking/opensearch-madvise-0.2/opensearch-madvise_0.2_amd64.changes .changes put in a distribution not listed within it! Ignoring as --ignore=wrongdistribution given. Warning: '/home/bking/opensearch-madvise-0.2/opensearch-madvise_0.2_amd64.changes' contains strange section 'unknown'! Warning: '/home/bking/opensearch-madvise-0.2/opensearch-madvise_0.2_amd64.changes' contains strange section 'unknown'! Warning: strange section 'unknown'! Skipping inclusion of 'opensearch-madvise' '0.2' in 'trixie-wikimedia|component/opensearch2|amd64', as it has already '0.2'. Skipping inclusion of 'opensearch-madvise-dbgsym' '0.2' in 'trixie-wikimedia|component/opensearch2|amd64', as it has already '0.2'. Skipping inclusion of 'opensearch-madvise' '0.2' in 'trixie-wikimedia|component/opensearch2|source', as it has already '0.2'. root@apt1002:~# reprepro lsbycomponent opensearch-madvise opensearch-madvise | 0.2 | bullseye-wikimedia | component/opensearch13 | amd64, source opensearch-madvise | 0.2 | trixie-wikimedia | component/opensearch2 | amd64, source
@bking I used sudo -i, but there are some issues with the change file. Could you check if it works?
Thanks @elukey !
Re: changes file, it's a warning. We successfully imported the deb into bullseye repos using the same changes file, so I'm not sure that is part of the problem.
Regardless, it doesn't seem to work on cloudelastic1012:
#apt-get update [..] #apt info opensearch-madvise apt info opensearch-madvise Notice: Unable to locate package opensearch-madvise Notice: Unable to locate package opensearch-madvise Error: No packages found cat /etc/apt/sources.list.d/wikimedia-opensearch-plugins.sources Types: deb deb-src URIs: http://apt.wikimedia.org/wikimedia Suites: trixie-wikimedia Components: component/opensearch2 Signed-By: /etc/apt/keyrings/wikimedia-archive-keyring.gpg
From the apt server, I can see that packages are in the pool:
ls /srv/wikimedia/pool/component/opensearch2/o/opensearch-madvise opensearch-madvise_0.2_amd64.deb opensearch-madvise_0.2.dsc opensearch-madvise_0.2.tar.xz opensearch-madvise-dbgsym_0.2_amd64.deb
But the package isn't listened in the repo's packages file:
cat Packages Package: wmf-opensearch-search-plugins Source: wmf-opensearch-search-plugins (2.19.5+3) Version: 2.19.5+3~bullseye Architecture: all Maintainer: David Causse <dcausse@wikimedia.org> Installed-Size: 419886 Depends: opensearch (= 2.19.5) Priority: optional Section: database Filename: pool/component/opensearch2/w/wmf-opensearch-search-plugins/wmf-opensearch-search-plugins_2.19.5+3~bullseye_all.deb Size: 140462472 SHA256: 3bcd72a5728522033aaa69158a3a64cde3d55922a9522e331595f85502bb8801 SHA1: 0307ae11fe4a559b8af221561924069ae0228ede MD5sum: 5d21dfae7a32e62482476f9e9b083065 Description: OpenSearch plugins for search List of plugins needed by the opensearch cluster that powers search on wmf sites.
I'm not sure what to try next, if you have any ideas LMK. I might take a crack at setting up package publishing CI for the madvise repo , as we have done for the plugins package repo . It doesn't seem like the best use of time though, since we never change the madvise program and we update the plugins several times a year.
FYI, I manually installed the package on cloudelastic1012 just so I can continue updating the Puppet plans for OpenSearch 2/Trixie. This isn't blocking us so no urgency here.
Closing the loop: @MoritzMuehlenhoff helped out with this (ref https://phabricator.wikimedia.org/T422860#11824928 ) and I think we are good to go now. Thanks again for your help!