[Pulp-list] Errors syncing rhel5 distributions

Michael Hrivnak mhrivnak at redhat.com
Fri Oct 3 21:14:28 UTC 2014


I'm told that this issue has been resolved, so please try the sync again.

Michael

----- Original Message -----
From: "Michael Hrivnak" <mhrivnak at redhat.com>
To: "Josh Baird" <jbaird at follett.com>
Cc: pulp-list at redhat.com
Sent: Friday, September 26, 2014 4:23:20 PM
Subject: Re: [Pulp-list] Errors syncing rhel5 distributions

This appears to be caused by incorrect metadata on the upstream server. I've alerted the team responsible for that content, and they are investigating.

In the mean time, you can work-around the issue by skipping the distribution step during sync:

$ pulp-admin rpm repo update --repo-id=foo --skip=distribution

I filed a bug report about pulp-admin's failure to parse the error messages: https://bugzilla.redhat.com/show_bug.cgi?id=1147078

Thanks for reporting this. I'll send an update when the content issue has been fixed.

Michael

----- Original Message -----
From: "Josh Baird" <jbaird at follett.com>
To: pulp-list at redhat.com
Sent: Friday, September 26, 2014 2:29:05 PM
Subject: [Pulp-list] Errors syncing rhel5 distributions

I started getting this error sometime today when trying to sync from the RHEL5 repos on CDN:

jbaird at fc-d1pulp01:~$ !pulp-admin
pulp-admin rpm repo sync run --repo-id=rhel5-server-x86_64
+----------------------------------------------------------------------+
             Synchronizing Repository [rhel5-server-x86_64]
+----------------------------------------------------------------------+

This command may be exited by pressing ctrl+c without affecting the actual
operation on the server.

Downloading metadata...
[-]
... completed

Downloading repository content...
[==================================================] 100%
RPMs:       0/0 items
Delta RPMs: 0/0 items

... completed

Downloading distribution files...
[===============================================   ] 94%
Distributions: 18/19 items

Errors encountered during distribution sync:

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

jbaird at fc-d1pulp01:~$ ^C
jbaird at fc-d1pulp01:~$ cat ~/.pulp/admin.log
2014-09-26 12:55:11,928 - 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'

Any ideas?

Thanks,

JoshJosh Baird
Sr. Systems Engineer



Tel: 1.800.FOLLETT Ext: 42432
Follett Corporation
3 Westbrook Corporate Center, Suite 200
Westchester, IL 60154
jbaird at follett.com  www.follett.com


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

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




More information about the Pulp-list mailing list