[Pulp-list] Key-error on repo sync of distribution files of RHEL 5 Workstation/Client

Ditchfield, Harold (Calgary) Harold.Ditchfield at nexencnoocltd.com
Tue Jan 14 20:31:02 UTC 2014


Has anybody seen the following and can point me in the right direction ..

Receive the following error when I try to sync the RHEL 5 Workstation .. packages (repository content downloads fine) but not the distribution files.

####### pulp-admin rpm repo sync run --repo-id=rhel-5-workstation
...
Downloading distribution files...
[===============================================   ] 94%
Distributions: 17/18 items

Errors encountered during distribution sync:

An unexpected error has occurred. More information can be found in the client
log file ~/.pulp/admin.log.

###### This is the corresponding error in ~/.pulp/admin.log

2014-01-13 13:32:18,720 - ERROR - Client-side exception occurred
Traceback (most recent call last):
  File "/usr/lib/python2.6/site-packages/pulp/client/extensions/core.py", line 478, in run
    exit_code = Cli.run(self, args)
  File "/usr/lib/python2.6/site-packages/okaara/cli.py", line 974, in run
    exit_code = command_or_section.execute(self.prompt, remaining_args)
  File "/usr/lib/python2.6/site-packages/pulp/client/extensions/extensions.py", line 224, in execute
    return self.method(*arg_list, **clean_kwargs)
  File "/usr/lib/python2.6/site-packages/pulp/client/commands/repo/sync_publish.py", line 101, in run
    status.display_group_status(self.context, self.renderer, task_group_id)
  File "/usr/lib/python2.6/site-packages/pulp/client/commands/repo/status/status.py", line 64, in display_group_status
    _display_status(context, renderer, task_list)
  File "/usr/lib/python2.6/site-packages/pulp/client/commands/repo/status/status.py", line 96, in _display_status
    _display_task_status(context, renderer, task.task_id, quiet_waiting=quiet_waiting)
  File "/usr/lib/python2.6/site-packages/pulp/client/commands/repo/status/status.py", line 123, in _display_task_status
    renderer.display_report(response.response_body.progress)
  File "/usr/lib/python2.6/site-packages/pulp_rpm/extension/admin/status.py", line 77, in display_report
    self.render_distribution_sync_step(progress_report)
  File "/usr/lib/python2.6/site-packages/pulp_rpm/extension/admin/status.py", line 160, in render_distribution_sync_step
   'message' : error[1]['error_message'],
KeyError: 'error_message'

###### Pulp and OS version

Net new install of pulp-server-2.3.1-1.el6.noarch running on Oracle Linux 6.4 (so far everything else works including RHEL 5 Server repos)

###### pulp repo config

Id:                  rhel-5-workstation
Display Name:        rhel-5-workstation
Description:         None
Content Unit Counts:
  Erratum:                1404
  Package Group:          27
  Rpm:                    6550
  Yum Repo Metadata File: 1
Notes:
Importers:
  Config:
    Feed:            https://cdn.redhat.com/content/dist/rhel/workstation/5/5Client/x86_64/os
    SSL CA Cert: <INSERT CERT HERE>
  Id:               yum_importer
  Importer Type Id: yum_importer
  Last Sync:        2014-01-14T10:05:18-07:00
  Repo Id:          rhel-5-workstation
  Scheduled Syncs:
Distributors:
  Auto Publish:        True
  Config:
    Checksum Type: sha1
    Http:          False
    Https:         True
    Relative URL:  /content/dist/rhel/workstation/5/5Workstation/x86_64/os
  Distributor Type Id: yum_distributor
  Id:                  yum_distributor
  Last Publish:        2014-01-14T10:06:24-07:00
  Repo Id:             rhel-5-workstation
  Scheduled Publishes:
  Auto Publish:        False
  Config:
    Http:  False
    Https: True
  Distributor Type Id: export_distributor
  Id:                  export_distributor
  Last Publish:        None
  Repo Id:             rhel-5-workstation
  Scheduled Publishes:

************************************************************ 

IMPORTANT NOTICE: This message is intended for the individual or entity to which it is addressed
and may contain information that is privileged, confidential, and/or exempt from disclosure under 
applicable law. If you are not the intended recipient, you are hereby notified that copying, 
forwarding or other dissemination or distribution of this message is prohibited and that taking 
any action in reliance on the content of this message is to be avoided. Should you receive this 
e-mail in error, please notify the sender immediately via e-mail or call (403) 699-4000 
and delete this message from your system. Thank you. 

************************************************************
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://listman.redhat.com/archives/pulp-list/attachments/20140114/f16c9659/attachment.htm>


More information about the Pulp-list mailing list