[Pulp-list] Error: database disk image is malformed when syncing EPEL
John Matthews
jmatthew at redhat.com
Tue Jan 17 15:34:52 UTC 2012
----- Original Message -----
> Hi,
>
> Carried out a quick bugzilla search and couldn't see anything
> immediately apparent.
>
> Have a pulp instance here on:
> pulp-0.0.254-8.el6.noarch
> grinder-0.0.131-1.el6.noarch
> gofer-0.63-1.el6.noarch
>
> I have sync'd EPEL from
> http://dl.fedoraproject.org/pub/epel/6/x86_64/
> and when a search is carried out get the error:
>
> epel_6_64/pkgtags | 302 B
> 00:00
> Error: database disk image is malformed
>
> I've tried using pulp-admin repo remove_metadata --id=epel_6_64
> --mdtype=pkgtags but it doesn't appear to remove the metadata.....
>
> Any ideas to start going down to debug - can anyone else replicate?
> The system is a fully updates Centos 6.2 instance.
>
> James
>
> _______________________________________________
> Pulp-list mailing list
> Pulp-list at redhat.com
> https://www.redhat.com/mailman/listinfo/pulp-list
>
Hi James,
I recreated the issue you reported and filed a new bug here:
https://bugzilla.redhat.com/show_bug.cgi?id=782490
Would you please read the bug over and add any extra information which may help?
As a work around you could try running with --preserve_metadata, this way Pulp will use the existing metadata from EPEL. (I did a quick test and the EPEL metadata looked OK.)
The steps I followed are below to recreate.
Re-created with Pulp 0.258 on el6:
pulp-admin repo create --id epel_6_64 --feed http://dl.fedoraproject.org/pub/epel/6/x86_64/
pulp-admin repo sync --id epel_6_64 -F
Registered an el6 consumer to this repo
3) yum search vim
Loaded plugins: amazon-id, pulp-profile-update, rhui-lb, security
epel_6_64 | 4.1 kB 00:00
epel_6_64/primary_db | 4.0 MB 00:00
epel/pkgtags | 323 B 00:00
epel_6_64/pkgtags | 306 B 00:00
Error: database disk image is malformed
Thanks,
John
More information about the Pulp-list
mailing list