[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

[Pulp-list] A little help with error while syncing RHEL 6.2 repo



Was attempting to sync a RHEL 6.2 repo and left it running around 17:00 today (8.79GB of content) and decided to check back tonight. The web ui tells me there was an error, so I looked at pulp.log and found this:

2012-02-08 16:38:39,258 11695:139634749179648: pulp.server.api.synchronizers:INFO: synchronizers:775 Fetching repo to </var/lib/pulp//repos/NY Data Center/Library/content/dist/rhel/server/6/6.2/x86_64/os> with verify_options <{'checksum': True, 'size': True}>
2012-02-08 18:27:07,870 11695:139634749179648: pulp.server.api.synchronizers:INFO: synchronizers:783 YumSynchronizer reported 6812 successes, 6812 downloads, 0 errors
2012-02-08 18:27:08,477 11695:139634749179648: pulp.server.tasking.task:ERROR: task:474 Task failed: Task 435bf6cf-529d-11e1-ab96-525400770a0f: _sync(NY_Data_Center-Red_Hat_Enterprise_Linux_Server-Red_Hat_Enterprise_Linux_6_Server_RPMs_x86_64_6_2, synchronizer=<pulp.server.api.synchronizers.YumSynchronizer object at 0x7eff308c43d0>, skip={}, max_speed=None, threads=4, progress_callback=<bound method RepoSyncTask.progress_callback of <pulp.server.api.repo_sync_task.RepoSyncTask object at 0x7eff308c4190>>)
Traceback (most recent call last):
  File "/usr/lib/python2.6/site-packages/pulp/server/tasking/task.py", line 420, in run
    result = self.callable(*self.args, **self.kwargs)
  File "/usr/lib/python2.6/site-packages/pulp/server/api/repo_sync.py", line 272, in _sync
    progress_callback, synchronizer, max_speed, threads)
  File "/usr/lib/python2.6/site-packages/pulp/server/api/repo_sync.py", line 360, in fetch_content
    added_packages = synchronizer.process_packages_from_source(repo_dir, repo_id, skip_dict, progress_callback)
  File "/usr/lib/python2.6/site-packages/pulp/server/api/synchronizers.py", line 214, in process_packages_from_source
    added_packages = self.add_packages_from_dir(dir, repo_id, skip_dict)
  File "/usr/lib/python2.6/site-packages/pulp/server/api/synchronizers.py", line 234, in add_packages_from_dir
    unfiltered_pkglist = pulp.server.util.get_repo_packages(dir)
  File "/usr/lib/python2.6/site-packages/pulp/server/util.py", line 337, in get_repo_packages
    r = _get_yum_repomd(path, temp_path=temp_path)
  File "/usr/lib/python2.6/site-packages/pulp/server/util.py", line 291, in _get_yum_repomd
    r.baseurl = "file://%s" % (path.encode("ascii", "ignore"))
  File "/usr/lib/python2.6/site-packages/yum/config.py", line 99, in __set__
    value, str(e)))
ValueError: Error parsing "baseurl = 'file:///var/lib/pulp//repos/NY Data Center/Library/content/dist/rhel/server/6/6.2/x86_64/os'": URL must be http, ftp, file or https not ""

mmccune took a quick look at the system and found this:

  {
    "package_count": 0,
    "distributionid": [

    ],
    "consumer_cert": null,
    "consumer_ca": null,
    "filters": [

    ],
    "id": "NY_Data_Center-Red_Hat_Enterprise_Linux_Server-Red_Hat_Enterprise_Linux_6_Server_RPMs_x86_64_6_2",
    "files_count": 0,
    "preserve_metadata": true,
    "publish": true,
    "source": {
      "url": "https://cdn.redhat.com/content/dist/rhel/server/6/6.2/x86_64/os";,
      "type": "remote"
    },
    "groupid": [
      "product:69",
      "env:2",
      "org:2",
      "content:168"
    ],
    "files": "/pulp/api/repositories/NY_Data_Center-Red_Hat_Enterprise_Linux_Server-Red_Hat_Enterprise_Linux_6_Server_RPMs_x86_64_6_2/files/",
    "packagegroups": "/pulp/api/repositories/NY_Data_Center-Red_Hat_Enterprise_Linux_Server-Red_Hat_Enterprise_Linux_6_Server_RPMs_x86_64_6_2/packagegroups/",
    "keys": "/pulp/api/repositories/NY_Data_Center-Red_Hat_Enterprise_Linux_Server-Red_Hat_Enterprise_Linux_6_Server_RPMs_x86_64_6_2/keys/",
    "relative_path": "NY Data Center/Library/content/dist/rhel/server/6/6.2/x86_64/os",
    "comps": "/pulp/api/repositories/NY_Data_Center-Red_Hat_Enterprise_Linux_Server-Red_Hat_Enterprise_Linux_6_Server_RPMs_x86_64_6_2/comps/",
    "sync_schedule": null,
    "packages": "/pulp/api/repositories/NY_Data_Center-Red_Hat_Enterprise_Linux_Server-Red_Hat_Enterprise_Linux_6_Server_RPMs_x86_64_6_2/packages/",
    "arch": "x86_64",
    "distribution": "/pulp/api/repositories/NY_Data_Center-Red_Hat_Enterprise_Linux_Server-Red_Hat_Enterprise_Linux_6_Server_RPMs_x86_64_6_2/distribution/",
    "feed_cert": "/etc/pki/pulp/content/NY_Data_Center-Red_Hat_Enterprise_Linux_Server-Red_Hat_Enterprise_Linux_6_Server_RPMs_x86_64_6_2/feed-NY_Data_Center-Red_Hat_Enterprise_Linux_Server-Red_Hat_Enterprise_Linux_6_Server_RPMs_x86_64_6_2.cert",
    "name": "Red Hat Enterprise Linux 6 Server RPMs x86_64 6.2",
    "uri_ref": "/pulp/api/repositories/NY_Data_Center-Red_Hat_Enterprise_Linux_Server-Red_Hat_Enterprise_Linux_6_Server_RPMs_x86_64_6_2/",
    "feed_ca": "/etc/pki/pulp/content/NY_Data_Center-Red_Hat_Enterprise_Linux_Server-Red_Hat_Enterprise_Linux_6_Server_RPMs_x86_64_6_2/feed-NY_Data_Center-Red_Hat_Enterprise_Linux_Server-Red_Hat_Enterprise_Linux_6_Server_RPMs_x86_64_6_2.ca",
    "notes": {

    },
    "uri": "https://qetello01.usersys.redhat.com/pulp/repos/NY Data Center/Library/content/dist/rhel/server/6/6.2/x86_64/os/",
    "last_sync": null,
    "content_types": "yum",
    "clone_ids": [

    ],
    "packagegroupcategories": "/pulp/api/repositories/NY_Data_Center-Red_Hat_Enterprise_Linux_Server-Red_Hat_Enterprise_Linux_6_Server_RPMs_x86_64_6_2/packagegroupcategories/",
    "checksum_type": "sha256",
    "sync_options": {

    },
    "_id": "NY_Data_Center-Red_Hat_Enterprise_Linux_Server-Red_Hat_Enterprise_Linux_6_Server_RPMs_x86_64_6_2",
    "errata": "/pulp/api/repositories/NY_Data_Center-Red_Hat_Enterprise_Linux_Server-Red_Hat_Enterprise_Linux_6_Server_RPMs_x86_64_6_2/errata/"
  },

He suggested I asked here to see if anyone had an idea as to what may be wrong, so here it goes.

Thanks in advance,
-- 
Og Maciel

Senior QE Engineer
Red Hat, Inc.
+1.919.754.4782
Freenode: OgMaciel


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]