Project

Profile

Help

Issue #3161 ยป Issue #23165 - 2017-12-04T08_13_16Z.eml

qha, 12/04/2017 09:13 AM

 
Return-Path: <ulrik.haugen@liu.se>
Received: from m.launchco.com ([127.0.0.1]) by m.launchco.com (Dovecot) with LMTP id Zp0BMFMDJVqzFgAAa1G0NA for <dropbox@plan.io>; Mon, 04 Dec 2017 09:12:57 +0100
Received: from carinthia.it.liu.se (carinthia.it.liu.se [130.236.3.99]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by m.launchco.com (Postfix) with ESMTPS id C577B20712 for <inbox+pulp+c71e+pulp_rpm@plan.io>; Mon, 04 Dec 2017 09:12:56 +0100
Received: from e-mailfilter01.sunet.se (e-mailfilter01.sunet.se [IPv6:2001:6b0:8:2::201]) by carinthia.it.liu.se (Postfix) with ESMTP id 5A27CDF2A6 for <inbox+pulp+c71e+pulp_rpm@plan.io>; Mon, 04 Dec 2017 09:12:55 +0100
Received: from andania.it.liu.se (andania.it.liu.se [130.236.8.136]) by e-mailfilter01.sunet.se (8.14.4/8.14.4/Debian-8+deb8u2) with ESMTP id vB48CsTp148539 (version=TLSv1/SSLv3 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NO) for <inbox+pulp+c71e+pulp_rpm@plan.io>; Mon, 04 Dec 2017 09:12:54 +0100
Received: from sophie.it.liu.se (sophie.it.liu.se [130.236.16.84]) by andania.it.liu.se (Postfix) with ESMTP id 1675920114F for <inbox+pulp+c71e+pulp_rpm@plan.io>; Mon, 04 Dec 2017 09:12:54 +0100
Received: by sophie.it.liu.se (Postfix, from userid 1000) id D884513417D0; Mon, 04 Dec 2017 09:12:53 +0100
Date: Mon, 04 Dec 2017 09:12:53 +0100
From: Ulrik Haugen <ulrik.haugen@liu.se>
To: Pulp <inbox+pulp+c71e+pulp_rpm@plan.io>
Message-ID: <87r2salxmi.fsf@sophie.it.liu.se>
In-Reply-To: <redmine.journal-23164.20171204012928.2e501c6ae18658b2@plan.io>
(Pulp's message of "Mon, 4 Dec 2017 02:29:29 +0100")
References: <redmine.issue-3161.20171201085434@plan.io>
<redmine.journal-23164.20171204012928.2e501c6ae18658b2@plan.io>
Subject: Re: [RPM Support - Issue #3161] Centos 7 debuginfo x86_64 | Malformed
repository: metadata is missing for some packages in filelists.xml and in
other.xml
Mime-Version: 1.0
Content-Type: text/plain;
charset=utf-8
Content-Transfer-Encoding: quoted-printable
X-He-Spam-Score: -4.2
Delivered-To: <dropbox@plan.io>
X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on m.launchco.com
X-Spam-Level:
X-Spam-Status: No, score=-4.2 required=5.0 tests=BAYES_00,RCVD_IN_DNSWL_MED
autolearn=ham autolearn_force=no version=3.4.0
X-Spam-Report: * -2.3 RCVD_IN_DNSWL_MED RBL: Sender listed at
http://www.dnswl.org/, * medium trust * [130.236.3.99 listed in
list.dnswl.org] * -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% *
[score: 0.0000]
X-Spam-Score: -4.2
Envelope-to: inbox+pulp+c71e+pulp_rpm@plan.io
Authentication-Results: m.launchco.com; dmarc=none header.from=liu.se
Organization: =?UTF-8?Q?Link=C3=B6ping_university?=
User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.5 (gnu/linux)
X-Bayes-Prob: 0.0001 (Score 0, tokens from: outbound, outbound-liu-se:default,
base:default, @@RPTN)
X-p0f-Info: os=Linux 3.1-3.10, link=Ethernet or modem
X-CanIt-Geo: =?UTF-8?Q?ip=3D130.236.16.84;_country=3DSE;?=
=?UTF-8?Q?_region=3D=C3=96sterg=C3=B6tland;_city=3DLink=C3=B6ping;_latitu?=
=?UTF-8?Q?de=3D58.4167;_longitude=3D15.6167;_http://maps.google.com/maps?=
=?UTF-8?Q?=3Fq=3D58.4167,15.6167&z=3D6?=
X-CanItPRO-Stream: outbound-liu-se:outbound (inherits from
outbound-liu-se:default,base:default)
X-Canit-Stats-ID: 09UFIcSow - 4e9d08cade08 - 20171204
X-CanIt-Archive-Cluster: PfMRe/vJWMiXwM2YIH5BVExnUnw
Received-SPF: neutral (e-mailfilter01.sunet.se: 130.236.16.84 is neither
permitted nor denied by domain ulrik.haugen@liu.se)
receiver=e-mailfilter01.sunet.se; client-ip=130.236.16.84;
envelope-from=<ulrik.haugen@liu.se>; helo=andania.it.liu.se; identity=mailfrom
X-Scanned-By: CanIt (www . roaringpenguin . com)

Thank you for your analysis!

Does that fall on me or will you file an issue with Centos?

Best regards
/Ulrik Haugen
Link=C3=B6ping university

Pulp <notifications@plan.io> wrote:
> --- Please write your response above this line ---
>
> Issue #3161 has been updated by ttereshc.
>
>
> The problem is in the following packages metadata (which is duplicated)=
:
> <pre>
> <name>firefox-debuginfo</name> <arch>x86_64</arch> <version epoch=3D=
"0" ver=3D"45.1.1" rel=3D"1.el7.centos"/>
> <name>firefox-debuginfo</name> <arch>x86_64</arch> <version epoch=3D=
"0" ver=3D"45.1.1" rel=3D"1el7.centos"/>
> </pre>
>
> Release field is technically the same due to the serialization algorith=
m which RPM uses.
> Centos issue should be filed.
>
> ----------------------------------------
> Issue #3161: Centos 7 debuginfo x86_64 | Malformed repository: metadata=
is missing for some packages in filelists.xml and in other.xml
> https://pulp.plan.io/issues/3161?pn=3D1#change-23164
>
> * Author: qha
> * Status: NEW
> * Priority: Normal
> * Assignee: =

> * Category: pulp-admin
> * Sprint/Milestone: =

> * Severity: 2. Medium
> * Version: =

> * Platform Release: =

> * Blocks Release: =

> * OS: CentOS 7
> * Backwards Incompatible: No
> * Triaged: Yes
> * Groomed: No
> * Sprint Candidate: No
> * Tags: =

> * QA Contact: =

> * Complexity: =

> * Smash Test: =

> * Verified: No
> * Verification Required: No
> ----------------------------------------
> When asked to sync http://debuginfo.centos.org/7/x86_64/ Pulp complains=
about "Malformed repository: metadata is missing for some packages in fi=
lelists.xml and in other.xml" yet yum will happily install packages from =
it.
>
> I have created a static mirror of that repo (<pre>with wget --mirror --=
no-parent --level 3 --accept .rpm,repodata,.xml,.xml.gz,.sqlite.bz2 --dom=
ains debuginfo.centos.org --directory-prefix /var/www/html/staticmirror h=
ttp://debuginfo.centos.org/7/x86_64/</pre>) at http://fiction.it.liu.se/d=
ebuginfo.centos.org/7/x86_64/ and Pulp makes the same compaints when tryi=
ng to sync that repo and yum will install packages from there as well.
>
> <pre>
> % pulp-admin rpm repo list --detail --repo-id centos-7-x86_64-base-debu=
ginfo
> +----------------------------------------------------------------------=
+
> RPM Repositories
> +----------------------------------------------------------------------=
+
>
> Id: centos-7-x86_64-base-debuginfo
> Display Name: None
> Description: None
> Content Unit Counts: =

> Notes: =

> Scratchpad: =

> Checksum Type: sha1
> Importers: =

> Config: =

> Feed: http://fiction.it.liu.se/debuginfo.centos.org/7/x86_64/
> Id: yum_importer
> Importer Type Id: yum_importer
> Last Override Config: =

> Last Sync: 2017-12-01T06:56:12Z
> Last Updated: 2017-11-29T16:19:51Z
> Repo Id: centos-7-x86_64-base-debuginfo
> Scratchpad: None
> Distributors: =

> Auto Publish: True
> Config: =

> Generate Sqlite: True
> Http: False
> Https: True
> Relative URL: centos/7/base-debuginfo/x86_64/
> Distributor Type Id: yum_distributor
> Id: yum_distributor
> Last Override Config: =

> Last Publish: None
> Last Updated: 2017-11-23T12:17:33Z
> Repo Id: centos-7-x86_64-base-debuginfo
> Scratchpad: =

> Auto Publish: False
> Config: =

> Generate Sqlite: True
> Http: False
> Https: True
> Relative URL: centos/7/base-debuginfo/x86_64/
> Distributor Type Id: export_distributor
> Id: export_distributor
> Last Override Config: =

> Last Publish: None
> Last Updated: 2017-11-23T12:17:33Z
> Repo Id: centos-7-x86_64-base-debuginfo
> Scratchpad: =

> % pulp-admin rpm repo sync run --repo-id centos-7-x86_64-base-debuginfo=
=

> +----------------------------------------------------------------------=
+
> Synchronizing Repository [centos-7-x86_64-base-debuginfo]
> +----------------------------------------------------------------------=
+
>
> This command may be exited via ctrl+c without affecting the request.
>
>
> Downloading metadata...
> [|]
> ... completed
>
> Downloading repository content...
> [-]
> ... failed
>
> Task Failed
>
> Malformed repository: metadata is missing for some packages in filelist=
s.xml and
> in other.xml
>
> % yum info pulp-admin-client
> Loaded plugins: fastestmirror
> Loading mirror speeds from cached hostfile
> Installed Packages
> Name : pulp-admin-client
> Arch : noarch
> Version : 2.14.3
> Release : 1.el7
> Size : 195 k
> Repo : installed
> From repo : pulp-2-stable
> Summary : Admin tool to administer the pulp server
> URL : http://pulpproject.org/
> License : GPLv2
> Description : A tool used to administer the pulp server, such as repo c=
reation
> : and synching, and to kick off remote actions on consumers=
.
>
> % yum info python-pulp-common
> Loaded plugins: fastestmirror
> Loading mirror speeds from cached hostfile
> Installed Packages
> Name : python-pulp-common
> Arch : noarch
> Version : 2.14.3
> Release : 1.el7
> Size : 250 k
> Repo : installed
> From repo : pulp-2-stable
> Summary : Pulp common python packages
> URL : http://pulpproject.org/
> License : GPLv2
> Description : A collection of components that are common between the pu=
lp server
> : and client.
> </pre>
>
>
>
> --
> You have received this notification because you have either subscribed =
to or are involved in a project on Pulp Planio.
> To change your notification preferences, please click here: https://pul=
p.plan.io/my/account?tour=3Dmail_preferences
>
> This notification was cheerfully delivered by https://plan.io
> =C2=A0
    (1-1/1)