[katello-devel] Error syncing Fedora 16

John Matthews jmatthew at redhat.com
Fri Aug 17 00:02:31 UTC 2012


Vinny,

This looks like a problem on the remote repo.  The remote repo has a metadata file called ".treeinfo".
".treeinfo" specifies a file "images/boot.iso", yet "images/boot.iso" does not exist on the repo.


When I try to fetch "images/boot.iso" I get a 404.
  http://file.gsso.redhat.com/pub/data/isos/fedora/16/x86_64/os//images/boot.iso


".treeinfo" is here:
  http://file.gsso.redhat.com/pub/data/isos/fedora/16/x86_64/os/.treeinfo

[general]
family = Fedora
timestamp = 1320289812.31
variant = Fedora
version = 16
packagedir = 
arch = x86_64

[images-x86_64]
kernel = images/pxeboot/vmlinuz
initrd = images/pxeboot/initrd.img
boot.iso = images/boot.iso

[images-xen]
kernel = images/pxeboot/vmlinuz
initrd = images/pxeboot/initrd.img

[checksums]
images/efidisk.img = sha256:fa168ed2bbd556606a0dcfef7ff531f3181f67546a4a148210d211cc129fd572
images/boot.iso = sha256:a51885ea0e91471beea6af2e682d778e40f34de939e3752eec5ab24e56bca80b
images/efiboot.img = sha256:ec7ad37b2cd09ecadbbaa0a51b60c5909712c2303f0529578a5045758d5e6e04
images/pxeboot/initrd.img = sha256:60fd924a0684fc623c25d53395f41d752c37b68fc53596c04cfe3e9b057c1fc2
images/pxeboot/vmlinuz = sha256:82ee5b351a875dc7b646f78e4aad9cf697eb3c85784b0f82134fe0e907202171
repodata/repomd.xml = sha256:441f0cdbaa66d8742fb4d3399efb5b2a25998f49a718f41665a1e116d0bffff8


----- Original Message -----
> 
> 
> I duplicated this in a lab pointing to a known good repo, with no
> updates on any packages. As soon as I start the sync, I get these
> errors:
> 
> 
> 
> 2012-08-16 21:58:17,715 31245:139849537402624:
> grinder.BaseFetch:ERROR: activeobject:162 boot.iso md5sum mismatch,
> read md5sum of:
> 657cd2d3122b3cb9bbc9c2252d023b4c1ff43bcd6f55af5e7447bfe9cf5035ec
> expected md5sum of
> a51885ea0e91471beea6af2e682d778e40f34de939e3752eec5ab24e56bca80b
> 2012-08-16 21:58:17,740 31245:139849537402624:
> grinder.BaseFetch:ERROR: activeobject:162 boot.iso md5sum mismatch,
> read md5sum of:
> 657cd2d3122b3cb9bbc9c2252d023b4c1ff43bcd6f55af5e7447bfe9cf5035ec
> expected md5sum of
> a51885ea0e91471beea6af2e682d778e40f34de939e3752eec5ab24e56bca80b
> 2012-08-16 21:58:17,748 31245:139849537402624:
> grinder.BaseFetch:ERROR: activeobject:162 boot.iso md5sum mismatch,
> read md5sum of:
> 657cd2d3122b3cb9bbc9c2252d023b4c1ff43bcd6f55af5e7447bfe9cf5035ec
> expected md5sum of
> a51885ea0e91471beea6af2e682d778e40f34de939e3752eec5ab24e56bca80b
> 2012-08-16 21:58:17,760 31245:139849537402624:
> grinder.BaseFetch:WARNING: activeobject:162 ERROR: Response = 404
> fetching
> http://file.gsso.redhat.com/pub/data/isos/fedora/16/x86_64/os//images/boot.iso
> .
> 
> 
> I also tried directly with grinder and get this error:
> 
> 
> grinder yum --label=test1 --url=
> http://file.gsso.redhat.com/pub/data/isos/fedora/16/x86_64/os/
> 
> grinder.ProgressTracker: WARNING
> http://file.gsso.redhat.com/pub/data/isos/fedora/16/x86_64/os//images/efidisk.img
> changing tracker for tree_file total_size_bytes from 140755203 to
> 281549059
> grinder.BaseFetch: ERROR boot.iso md5sum mismatch, read md5sum of:
> 657cd2d3122b3cb9bbc9c2252d023b4c1ff43bcd6f55af5e7447bfe9cf5035ec
> expected md5sum of
> a51885ea0e91471beea6af2e682d778e40f34de939e3752eec5ab24e56bca80b
> grinder.BaseFetch: WARNING Retrying fetch of: boot.iso with 0 retry
> attempts left. HTTP status was 404
> grinder.BaseFetch: INFO Cleanup ./test1/images/boot.iso
> grinder.ProgressTracker: WARNING Resetting progress for <
> http://file.gsso.redhat.com/pub/data/isos/fedora/16/x86_64/os//images/boot.iso
> >
> grinder.BaseFetch: INFO Fetching Unknown bytes: boot.iso from
> http://file.gsso.redhat.com/pub/data/isos/fedora/16/x86_64/os//images/boot.iso
> grinder.BaseFetch: ERROR boot.iso md5sum mismatch, read md5sum of:
> 657cd2d3122b3cb9bbc9c2252d023b4c1ff43bcd6f55af5e7447bfe9cf5035ec
> expected md5sum of
> a51885ea0e91471beea6af2e682d778e40f34de939e3752eec5ab24e56bca80b
> grinder.BaseFetch: INFO Cleanup ./test1/images/boot.iso
> grinder.BaseFetch: WARNING ERROR: Response = 404 fetching
> http://file.gsso.redhat.com/pub/data/isos/fedora/16/x86_64/os//images/boot.iso
> .
> 
> I'll try building a system even with the repo in this state.
> 
> 
> 
> 
> 
> 
> Vinny
> 
> 
> 
> On Aug 15, 2012, at 5:49 PM, Vinny Valdez < vvaldez at redhat.com >
> wrote:
> 
> 
> 
> 
> My mistake, the error is actually as follows:
> 
> 2012-08-15 22:33:59,275 2436:139770315405056:
> grinder.ProgressTracker:WARNING: ProgressTracker:141
> http://files.example .
> com/pub/installers/fedora/16/x86_64/os//images/boot.iso changing
> tracker for tree_file total_size_bytes from 0 to 332
> 2012-08-15 22:33:59,278 2436:139770315405056:
> grinder.BaseFetch:ERROR: activeobject:162 boot.iso md5sum mismatch,
> read md5sum of:
> 78a3708ddd2a4eee2b424ab3b20170473e0d3ca671033ef98151424f8bfe423c
> expected md5sum of
> a51885ea0e91471beea6af2e682d778e40f34de939e3752eec5ab24e56bca80b
> 2012-08-15 22:33:59,279 2436:139770315405056:
> grinder.BaseFetch:WARNING: activeobject:162 Retrying fetch of:
> boot.iso with 1 retry attempts left. HTTP status was 404
> 2012-08-15 22:33:59,279 2436:139770315405056: grinder.BaseFetch:INFO:
> activeobject:162 Cleanup
> /var/lib/pulp/distributions/ks-Fedora-Fedora-16-x86_64/boot.iso
> 2012-08-15 22:33:59,279 2436:139770315405056:
> grinder.ProgressTracker:WARNING: ProgressTracker:258 Resetting
> progress for <
> http://files.example.com/pub/installers/fedora/16/x86_64/os//images/boot.iso
> >
> 2012-08-15 22:33:59,283 2436:139770315405056: grinder.BaseFetch:INFO:
> activeobject:162 Fetching Unknown bytes: boot.iso from
> http://files.example.com/pub/installers/fedora/16/x86_64/os//images/boot.iso
> 2012-08-15 22:33:59,285 2436:139770315405056:
> grinder.BaseFetch:ERROR: activeobject:162 boot.iso md5sum mismatch,
> read md5sum of:
> 78a3708ddd2a4eee2b424ab3b20170473e0d3ca671033ef98151424f8bfe423c
> expected md5sum of
> a51885ea0e91471beea6af2e682d778e40f34de939e3752eec5ab24e56bca80b
> 2012-08-15 22:33:59,285 2436:139770315405056:
> grinder.BaseFetch:WARNING: activeobject:162 Retrying fetch of:
> boot.iso with 0 retry attempts left. HTTP status was 404
> 2012-08-15 22:33:59,285 2436:139770315405056: grinder.BaseFetch:INFO:
> activeobject:162 Cleanup
> /var/lib/pulp/distributions/ks-Fedora-Fedora-16-x86_64/boot.iso
> 2012-08-15 22:33:59,285 2436:139770315405056:
> grinder.ProgressTracker:WARNING: ProgressTracker:258 Resetting
> progress for <
> http://files.example.com/pub/installers/fedora/16/x86_64/os//images/boot.iso
> >
> 2012-08-15 22:33:59,285 2436:139770315405056: grinder.BaseFetch:INFO:
> activeobject:162 Fetching Unknown bytes: boot.iso from
> http://files.example.com/pub/installers/fedora/16/x86_64/os//images/boot.iso
> 2012-08-15 22:33:59,287 2436:139770315405056:
> grinder.BaseFetch:ERROR: activeobject:162 boot.iso md5sum mismatch,
> read md5sum of:
> 78a3708ddd2a4eee2b424ab3b20170473e0d3ca671033ef98151424f8bfe423c
> expected md5sum of
> a51885ea0e91471beea6af2e682d778e40f34de939e3752eec5ab24e56bca80b
> 
> 
> When I first hit this error, I thought I needed to update as a gut
> reaction troubleshooting step, I did so then ran into the updated
> pymongo issue, and incorrectly pasted that as the culprit. scollier
> also gets the same error in his environment.
> 
> 
> 
> 
> Vinny
> 
> 
> On Aug 15, 2012, at 4:46 PM, Todd Sanders < tsanders at redhat.com >
> wrote:
> 
> 
> 
> 
> Probably the version of pymongo....see:
> https://fedorahosted.org/pulp/wiki/UGFAQ#rpmname
> 
> -Todd
> 
> On 08/15/2012 05:22 PM, Vinny Valdez wrote:
> 
> 
> 
> I setup katello on Fedora 16 and tried to sync Fedora 16 from a repo
> created from a gold ISO. I get the following error:
> 
> 
> 
> 2012-08-15 20:30:01,845 3359:140003283810048:
> pulp.server.tasking.task:ERROR: task:472 Task failed: Task
> 261f4dcf-e740-11e1-b495-525400360b28:
> _sync(Example-Fedora16-fedora16-x86_64,
> synchronizer=<pulp.server.api.synchronizers.YumSynchronizer object
> at 0x7f554bcc7bd0>, skip={}, max_speed=None, threads=4,
> progress_callback=<bound method RepoSyncTask.progress_callback of
> <pulp.server.api.repo_sync_task.RepoSyncTask object at
> 0x7f554bcc7d90>>)
> Traceback (most recent call last):
> File "/usr/lib/python2.7/site-packages/pulp/server/tasking/task.py",
> line 418, in run
> result = self.callable(*self.args, **self.kwargs)
> File "/usr/lib/python2.7/site-packages/pulp/server/api/repo_sync.py",
> line 283, in _sync
> progress_callback, synchronizer, max_speed, threads)
> File "/usr/lib/python2.7/site-packages/pulp/server/api/repo_sync.py",
> line 379, in fetch_content
> added_errataids = synchronizer.import_metadata(repo_dir, repo_id,
> skip_dict)
> File
> "/usr/lib/python2.7/site-packages/pulp/server/api/synchronizers.py",
> line 415, in import_metadata
> self.repo_api.collection.save(repo, safe=True)
> File "/usr/lib/python2.7/site-packages/pulp/server/db/connection.py",
> line 80, in retry
> return method(*args, **kwargs)
> File "/usr/lib64/python2.7/site-packages/pymongo/collection.py", line
> 237, in save
> manipulate, safe, _check_keys=True, **kwargs)
> File "/usr/lib/python2.7/site-packages/pulp/server/db/connection.py",
> line 80, in retry
> return method(*args, **kwargs)
> File "/usr/lib64/python2.7/site-packages/pymongo/collection.py", line
> 411, in update
> _check_keys, self.__uuid_subtype), safe)
> InvalidDocument: key ' openoffice.org -voikko' must not contain '.'
> 
> 
> Is there anything I am doing wrong here?
> 
> 
> 
> katello-1.0.4-1.fc16.noarch
> katello-cli-common-1.0.1-1.fc16.noarch
> katello-configure-1.0.1-1.fc16.noarch
> katello-common-1.0.4-1.fc16.noarch
> katello-qpid-broker-key-pair-1.0-1.noarch
> katello-glue-foreman-1.0.4-1.fc16.noarch
> katello-all-1.0.4-1.fc16.noarch
> katello-certs-tools-1.1.7-1.fc16.noarch
> katello-qpid-client-key-pair-1.0-1.noarch
> katello-repos-1.0.3-1.fc16.noarch
> katello-glue-candlepin-1.0.4-1.fc16.noarch
> katello-cli-1.0.1-1.fc16.noarch
> katello-glue-pulp-1.0.4-1.fc16.noarch
> katello-candlepin-cert-key-pair-1.0-1.noarch
> katello-selinux-1.0.1-1.fc16.noarch
> 
> pulp-common-1.1.11-1.fc16.noarch
> pulp-selinux-server-1.1.11-1.fc16.noarch
> pulp-1.1.11-1.fc16.noarch
> 
> candlepin-0.7.4.2-1.fc16.noarch
> candlepin-tomcat6-0.7.4.2-1.fc16.noarch
> 
> qpid-cpp-server-0.16-3.1.fc16.x86_64
> qpid-cpp-client-0.16-3.1.fc16.x86_64
> qpid-cpp-server-ssl-0.16-3.1.fc16.x86_64
> qpid-cpp-client-ssl-0.16-3.1.fc16.x86_64
> 
> 
> Regards,
> 
> 
> 
> 
> 
> 
> Vinny
> 
> 
> _______________________________________________
> katello-devel mailing list katello-devel at redhat.com
> https://www.redhat.com/mailman/listinfo/katello-devel
> 
> _______________________________________________
> katello-devel mailing list
> katello-devel at redhat.com
> https://www.redhat.com/mailman/listinfo/katello-devel
> 
> _______________________________________________
> katello-devel mailing list
> katello-devel at redhat.com
> https://www.redhat.com/mailman/listinfo/katello-devel




More information about the katello-devel mailing list