Hi, I’ve a problem with RPM that get downloaded corrupted.
I’m using pulp 2.12.0 (this also happened with old version)

I’ve a setup with RHEL 5-6-7 servers downloading patches from repository hosted 
on a pulp server via subscription-manager registration on a RedHat SAM server.
I normally create “snapshot” weekly/montly/quarterly repository so that I can 
decide which patch set I want to download changing the rhsm.baserepo via 
subscription manager.
Pulp itself is using SAM to register itself and download the updates from RHN 
(should I register it directly on RHN instead?).

Sometimes I get some RPM that is corrupted (the CPIO inside the rpm is 
corrupted) and it seems really difficult to get back the correct one (normally 
I should manually download/put it back at his place.

I’ve found something about using on_demand to check/redownload the corrupted 
rpm but it seems that I still get corrupted files or that it don’t work for me.
https://bugzilla.redhat.com/show_bug.cgi?id=1223023

pulp-admin rpm repo  update  --download-policy=on_demand --repo-id 
rhel-6-server-rpms
pulp-admin rpm repo sync run --force-full --repo-id=rhel-6-server-rpms
pulp-admin repo download --verify-all --repo-id rhel-6-server-rpms

Those are some logs:
Feb 21 20:41:20 itromlx02 pulp: pulp.server.controllers.repository:INFO: 
Download of 
/var/lib/pulp/content/units/rpm/99/acd3b84a27d65624514b83f1877425ee4559bd33c9c18a949a93a665012d0c/net-snmp-utils-5.5-57.el6_8.1.x86_64.rpm
 failed: Download skipped.
Feb 22 02:20:59 itromlx02 pulp: pulp.server.controllers.repository:INFO: 
Download of 
/var/lib/pulp/content/units/rpm/99/acd3b84a27d65624514b83f1877425ee4559bd33c9c18a949a93a665012d0c/net-snmp-utils-5.5-57.el6_8.1.x86_64.rpm
 failed: Download skipped.
Feb 22 09:02:37 itromlx02 pulp: pulp.server.controllers.repository:INFO: 
Download of 
/var/lib/pulp/content/units/rpm/99/acd3b84a27d65624514b83f1877425ee4559bd33c9c18a949a93a665012d0c/net-snmp-utils-5.5-57.el6_8.1.x86_64.rpm
 failed: Download skipped.

If I download the file from the SAM server it download without any problem and 
the content is correct.
There’s any way to check periodically that the rpm are good and don’t need to 
be redownloaded or anyone has a suggestion on how to solve this problem?

Thanks for any help
Francesco


________________________________

Questo messaggio di posta elettronica contiene informazioni di carattere 
confidenziale rivolte esclusivamente al destinatario sopra indicato. E' vietato 
l'uso, la diffusione, distribuzione o riproduzione da parte di ogni altra 
persona. Nel caso aveste ricevuto questo messaggio di posta elettronica per 
errore, siete pregati di segnalarlo immediatamente al mittente e distruggere 
quanto ricevuto.

This communication may contain privileged or proprietary information for 
receipt and use solely by the addressee(s) named above. If you are not an 
intended recipient, any disclosure, copying or use of this information is 
prohibited. If you have received this communication in error, please delete 
and/or destroy it and kindly notify the sender.

Rispetta l’ambiente, se non è necessario non stampare questa mail
Please consider the environment before printing this e_mail


Kuwait Petroleum Italia SpA
00144 Roma, Viale dell’Oceano Indiano, 13 - Telefono 06 520881 Fax 06 52088655
Società con socio unico.Società soggetta ad attività di direzione e 
coordinamento della Kuwait Petroleum Corporation.
Sede in Roma - Capitale Sociale Euro 130.000.000 int. vers. - R.E.A. di Roma N. 
73832 – Uff. Reg. Imprese di Roma e C.F. 00435970587 Partita IVA 00891951006

_______________________________________________
Pulp-list mailing list
[email protected]
https://www.redhat.com/mailman/listinfo/pulp-list

Reply via email to