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

Ditchfield, Harold (Calgary) Harold.Ditchfield at nexencnoocltd.com
Mon Mar 10 11:52:13 UTC 2014


Hey Christina

Unfortunately I haven't found the solution yet .. I hope to be able to devote some time this week to step through the download process so I can identify what the issue is ... I also have an alternate server (RedHat 6) to test on as well. I'll let the list know how it works out

Thanks
Harold

________________________________
From: Christina Plummer [cplummer at gmail.com]
Sent: Friday, March 07, 2014 1:29 PM
To: Ditchfield, Harold (Calgary)
Cc: pulp-list at redhat.com
Subject: Re: [Pulp-list] Key-error on repo sync of distribution files of RHEL 5 Workstation/Client

Hi Harold,

Did you ever find a solution to this one?  I am in the process of migrating to a new Pulp 2.3.1 server and have been running into the same issue with the RHEL5 repos.  I am getting the error on the Distributions even when I use my old Pulp 2.1.3 server as the feed instead of the Red Hat CDN.

Thanks,
Christina


On Tue, Jan 14, 2014 at 3:31 PM, Ditchfield, Harold (Calgary) <Harold.Ditchfield at nexencnoocltd.com<mailto:Harold.Ditchfield at nexencnoocltd.com>> wrote:
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<tel:%28403%29%20699-4000> and delete this message from your system. Thank you.
************************************************************

_______________________________________________
Pulp-list mailing list
Pulp-list at redhat.com<mailto:Pulp-list at redhat.com>
https://www.redhat.com/mailman/listinfo/pulp-list


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

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/20140310/ee76fe55/attachment.htm>


More information about the Pulp-list mailing list