<html dir="ltr">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<style id="owaParaStyle" type="text/css">P {margin-top:0;margin-bottom:0;}</style>
</head>
<body ocsi="0" fpstyle="1">
<div style="direction: ltr;font-family: Tahoma;color: #000000;font-size: 10pt;">Hey Christina<br>
<br>
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<br>
<br>
Thanks<br>
Harold<br>
<br>
<div style="font-family: Times New Roman; color: #000000; font-size: 16px">
<hr tabindex="-1">
<div style="direction: ltr;" id="divRpF556743"><font color="#000000" face="Tahoma" size="2"><b>From:</b> Christina Plummer [cplummer@gmail.com]<br>
<b>Sent:</b> Friday, March 07, 2014 1:29 PM<br>
<b>To:</b> Ditchfield, Harold (Calgary)<br>
<b>Cc:</b> pulp-list@redhat.com<br>
<b>Subject:</b> Re: [Pulp-list] Key-error on repo sync of distribution files of RHEL 5 Workstation/Client<br>
</font><br>
</div>
<div></div>
<div>
<div dir="ltr">
<div>
<div>Hi Harold,<br>
<br>
</div>
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.<br>
<br>
</div>
Thanks,<br>
Christina<br>
</div>
<div class="gmail_extra"><br>
<br>
<div class="gmail_quote">On Tue, Jan 14, 2014 at 3:31 PM, Ditchfield, Harold (Calgary)
<span dir="ltr"><<a href="mailto:Harold.Ditchfield@nexencnoocltd.com" target="_blank">Harold.Ditchfield@nexencnoocltd.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex; border-left:1px #ccc solid; padding-left:1ex">
<div lang="EN-US">
<div>
<p class="MsoNormal">Has anybody seen the following and can point me in the right direction ..<u></u><u></u></p>
<p class="MsoNormal"><u></u> <u></u></p>
<p class="MsoNormal">Receive the following error when I try to sync the RHEL 5 Workstation .. packages (repository content downloads fine) but not the distribution files.<u></u><u></u></p>
<p class="MsoNormal"><u></u> <u></u></p>
<p class="MsoNormal">####### pulp-admin rpm repo sync run --repo-id=rhel-5-workstation<u></u><u></u></p>
<p class="MsoNormal">...<u></u><u></u></p>
<p class="MsoNormal">Downloading distribution files...<u></u><u></u></p>
<p class="MsoNormal">[===============================================   ] 94%<u></u><u></u></p>
<p class="MsoNormal">Distributions: 17/18 items<u></u><u></u></p>
<p class="MsoNormal"><u></u> <u></u></p>
<p class="MsoNormal">Errors encountered during distribution sync:<u></u><u></u></p>
<p class="MsoNormal"><u></u> <u></u></p>
<p class="MsoNormal">An unexpected error has occurred. More information can be found in the client<u></u><u></u></p>
<p class="MsoNormal">log file ~/.pulp/admin.log.<u></u><u></u></p>
<p class="MsoNormal"><u></u> <u></u></p>
<p class="MsoNormal">###### This is the corresponding error in ~/.pulp/admin.log<u></u><u></u></p>
<p class="MsoNormal"><u></u> <u></u></p>
<p class="MsoNormal">2014-01-13 13:32:18,720 - ERROR - Client-side exception occurred<u></u><u></u></p>
<p class="MsoNormal">Traceback (most recent call last):<u></u><u></u></p>
<p class="MsoNormal">  File "/usr/lib/python2.6/site-packages/pulp/client/extensions/core.py", line 478, in run<u></u><u></u></p>
<p class="MsoNormal">    exit_code = Cli.run(self, args)<u></u><u></u></p>
<p class="MsoNormal">  File "/usr/lib/python2.6/site-packages/okaara/cli.py", line 974, in run<u></u><u></u></p>
<p class="MsoNormal">    exit_code = command_or_section.execute(self.prompt, remaining_args)<u></u><u></u></p>
<p class="MsoNormal">  File "/usr/lib/python2.6/site-packages/pulp/client/extensions/extensions.py", line 224, in execute<u></u><u></u></p>
<p class="MsoNormal">    return self.method(*arg_list, **clean_kwargs)<u></u><u></u></p>
<p class="MsoNormal">  File "/usr/lib/python2.6/site-packages/pulp/client/commands/repo/sync_publish.py", line 101, in run<u></u><u></u></p>
<p class="MsoNormal">    status.display_group_status(self.context, self.renderer, task_group_id)<u></u><u></u></p>
<p class="MsoNormal">  File "/usr/lib/python2.6/site-packages/pulp/client/commands/repo/status/status.py", line 64, in display_group_status<u></u><u></u></p>
<p class="MsoNormal">    _display_status(context, renderer, task_list)<u></u><u></u></p>
<p class="MsoNormal">  File "/usr/lib/python2.6/site-packages/pulp/client/commands/repo/status/status.py", line 96, in _display_status<u></u><u></u></p>
<p class="MsoNormal">    _display_task_status(context, renderer, task.task_id, quiet_waiting=quiet_waiting)<u></u><u></u></p>
<p class="MsoNormal">  File "/usr/lib/python2.6/site-packages/pulp/client/commands/repo/status/status.py", line 123, in _display_task_status<u></u><u></u></p>
<p class="MsoNormal">    renderer.display_report(response.response_body.progress)<u></u><u></u></p>
<p class="MsoNormal">  File "/usr/lib/python2.6/site-packages/pulp_rpm/extension/admin/status.py", line 77, in display_report<u></u><u></u></p>
<p class="MsoNormal">    self.render_distribution_sync_step(progress_report)<u></u><u></u></p>
<p class="MsoNormal">  File "/usr/lib/python2.6/site-packages/pulp_rpm/extension/admin/status.py", line 160, in render_distribution_sync_step<u></u><u></u></p>
<p class="MsoNormal">   'message' : error[1]['error_message'],<u></u><u></u></p>
<p class="MsoNormal">KeyError: 'error_message'<u></u><u></u></p>
<p class="MsoNormal"><u></u> <u></u></p>
<p class="MsoNormal">###### Pulp and OS version<u></u><u></u></p>
<p class="MsoNormal"><u></u> <u></u></p>
<p class="MsoNormal">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)<u></u><u></u></p>
<p class="MsoNormal"><u></u> <u></u></p>
<p class="MsoNormal">###### pulp repo config<u></u><u></u></p>
<p class="MsoNormal"><u></u> <u></u></p>
<p class="MsoNormal">Id:                  rhel-5-workstation<u></u><u></u></p>
<p class="MsoNormal">Display Name:        rhel-5-workstation<u></u><u></u></p>
<p class="MsoNormal">Description:         None<u></u><u></u></p>
<p class="MsoNormal">Content Unit Counts: <u></u><u></u></p>
<p class="MsoNormal">  Erratum:                1404<u></u><u></u></p>
<p class="MsoNormal">  Package Group:          27<u></u><u></u></p>
<p class="MsoNormal">  Rpm:                    6550<u></u><u></u></p>
<p class="MsoNormal">  Yum Repo Metadata File: 1<u></u><u></u></p>
<p class="MsoNormal">Notes:               <u></u><u></u></p>
<p class="MsoNormal">Importers:           <u></u><u></u></p>
<p class="MsoNormal">  Config:           <u></u><u></u></p>
<p class="MsoNormal">    Feed:            <a href="https://cdn.redhat.com/content/dist/rhel/workstation/5/5Client/x86_64/os" target="_blank">
https://cdn.redhat.com/content/dist/rhel/workstation/5/5Client/x86_64/os</a><u></u><u></u></p>
<p class="MsoNormal">    SSL CA Cert: <INSERT CERT HERE><u></u><u></u></p>
<p class="MsoNormal">  Id:               yum_importer<u></u><u></u></p>
<p class="MsoNormal">  Importer Type Id: yum_importer<u></u><u></u></p>
<p class="MsoNormal">  Last Sync:        2014-01-14T10:05:18-07:00<u></u><u></u></p>
<p class="MsoNormal">  Repo Id:          rhel-5-workstation<u></u><u></u></p>
<p class="MsoNormal">  Scheduled Syncs:  <u></u><u></u></p>
<p class="MsoNormal">Distributors:        <u></u><u></u></p>
<p class="MsoNormal">  Auto Publish:        True<u></u><u></u></p>
<p class="MsoNormal">  Config:              <u></u><u></u></p>
<p class="MsoNormal">    Checksum Type: sha1<u></u><u></u></p>
<p class="MsoNormal">    Http:          False<u></u><u></u></p>
<p class="MsoNormal">    Https:         True<u></u><u></u></p>
<p class="MsoNormal">    Relative URL:  /content/dist/rhel/workstation/5/5Workstation/x86_64/os<u></u><u></u></p>
<p class="MsoNormal">  Distributor Type Id: yum_distributor<u></u><u></u></p>
<p class="MsoNormal">  Id:                  yum_distributor<u></u><u></u></p>
<p class="MsoNormal">  Last Publish:        2014-01-14T10:06:24-07:00<u></u><u></u></p>
<p class="MsoNormal">  Repo Id:             rhel-5-workstation<u></u><u></u></p>
<p class="MsoNormal">  Scheduled Publishes: <u></u><u></u></p>
<p class="MsoNormal">  Auto Publish:        False<u></u><u></u></p>
<p class="MsoNormal">  Config:              <u></u><u></u></p>
<p class="MsoNormal">    Http:  False<u></u><u></u></p>
<p class="MsoNormal">    Https: True<u></u><u></u></p>
<p class="MsoNormal">  Distributor Type Id: export_distributor<u></u><u></u></p>
<p class="MsoNormal">  Id:                  export_distributor<u></u><u></u></p>
<p class="MsoNormal">  Last Publish:        None<u></u><u></u></p>
<p class="MsoNormal">  Repo Id:             rhel-5-workstation<u></u><u></u></p>
<p class="MsoNormal">  Scheduled Publishes: <u></u><u></u></p>
</div>
<p>************************************************************ <br>
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 <a href="tel:%28403%29%20699-4000" value="+14036994000" target="_blank">
(403) 699-4000</a> and delete this message from your system. Thank you. <br>
************************************************************<br>
</p>
</div>
<br>
_______________________________________________<br>
Pulp-list mailing list<br>
<a href="mailto:Pulp-list@redhat.com" target="_blank">Pulp-list@redhat.com</a><br>
<a href="https://www.redhat.com/mailman/listinfo/pulp-list" target="_blank">https://www.redhat.com/mailman/listinfo/pulp-list</a><br>
</blockquote>
</div>
<br>
</div>
</div>
</div>
</div>

<P>************************************************************ <br>
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. <br>
************************************************************<br/></P></body>
</html>