If I delete and recreate the repository, sync/publish works. So I guess something isn't getting updated correctly?
Reece On 9/16/15, 8:28 AM, "Webb, Reece" <reece.w...@ucsf.edu> wrote: >I just upgraded from 2.6.3 on RHEL 7.1, using the upgrade instructions >provided in the release notes. I'm now unable to sync or publish. I tried >running the sync with the "-v", but it says the option doesn't exist... > ># pulp-admin rpm repo sync run --repo-id rad-epel-7 >+----------------------------------------------------------------------+ > Synchronizing Repository [rad-epel-7] >+----------------------------------------------------------------------+ > >This command may be exited via ctrl+c without affecting the request. > > >Downloading metadata... >[-] >... completed > >Downloading repository content... >[==================================================] 100% >RPMs: 14/14 items >Delta RPMs: 0/0 items > >... completed > >Downloading distribution files... >[==================================================] 100% >Distributions: 0/0 items >... completed > >Importing errata... >[/] >... completed > >Importing package groups/categories... >[\] >... completed > > >Task Succeeded > > > > >Task Failed > >can't compare offset-naive and offset-aware datetimes > > >-- > >Sep 16 08:26:13 yummy pulp: kombu.transport.qpid:INFO: Connected to qpid with >SASL mechanism ANONYMOUS >Sep 16 08:26:13 yummy pulp: celery.worker.strategy:INFO: Received task: >pulp.server.async.tasks._queue_reserved_task[03bc3b55-ab22-4141-a378-f072dc5e265e] >Sep 16 08:26:13 yummy pulp: celery.worker.strategy:INFO: Received task: >pulp.server.managers.repo.sync.sync[09544adc-5035-49f5-a24f-3b32d721bb32] >Sep 16 08:26:14 yummy pulp: pulp.server.managers.event.fire:ERROR: >(2092-58784) Exception from notifier of type [email] >Sep 16 08:26:14 yummy pulp: pulp.server.managers.event.fire:ERROR: >(2092-58784) Traceback (most recent call last): >Sep 16 08:26:14 yummy pulp: pulp.server.managers.event.fire:ERROR: >(2092-58784) File >"/usr/lib/python2.7/site-packages/pulp/server/managers/event/fire.py", line >76, in _do_fire >Sep 16 08:26:14 yummy pulp: pulp.server.managers.event.fire:ERROR: >(2092-58784) f(l['notifier_config'], event) >Sep 16 08:26:14 yummy pulp: pulp.server.managers.event.fire:ERROR: >(2092-58784) File >"/usr/lib/python2.7/site-packages/pulp/server/event/mail.py", line 35, in >handle_event >Sep 16 08:26:14 yummy pulp: pulp.server.managers.event.fire:ERROR: >(2092-58784) body = json.dumps(event.data(), indent=2, >default=json_util.default) >Sep 16 08:26:14 yummy pulp: pulp.server.managers.event.fire:ERROR: >(2092-58784) File "/usr/lib64/python2.7/json/__init__.py", line 250, in dumps >Sep 16 08:26:14 yummy pulp: pulp.server.managers.event.fire:ERROR: >(2092-58784) sort_keys=sort_keys, **kw).encode(obj) >Sep 16 08:26:14 yummy pulp: pulp.server.managers.event.fire:ERROR: >(2092-58784) File "/usr/lib64/python2.7/json/encoder.py", line 209, in encode >Sep 16 08:26:14 yummy pulp: pulp.server.managers.event.fire:ERROR: >(2092-58784) chunks = list(chunks) >Sep 16 08:26:14 yummy pulp: pulp.server.managers.event.fire:ERROR: >(2092-58784) File "/usr/lib64/python2.7/json/encoder.py", line 434, in >_iterencode >Sep 16 08:26:14 yummy pulp: pulp.server.managers.event.fire:ERROR: >(2092-58784) for chunk in _iterencode_dict(o, _current_indent_level): >Sep 16 08:26:14 yummy pulp: pulp.server.managers.event.fire:ERROR: >(2092-58784) File "/usr/lib64/python2.7/json/encoder.py", line 408, in >_iterencode_dict >Sep 16 08:26:14 yummy pulp: pulp.server.managers.event.fire:ERROR: >(2092-58784) for chunk in chunks: >Sep 16 08:26:14 yummy pulp: pulp.server.managers.event.fire:ERROR: >(2092-58784) File "/usr/lib64/python2.7/json/encoder.py", line 442, in >_iterencode >Sep 16 08:26:14 yummy pulp: pulp.server.managers.event.fire:ERROR: >(2092-58784) o = _default(o) >Sep 16 08:26:14 yummy pulp: pulp.server.managers.event.fire:ERROR: >(2092-58784) File "/usr/lib64/python2.7/site-packages/bson/json_util.py", >line 256, in default >Sep 16 08:26:14 yummy pulp: pulp.server.managers.event.fire:ERROR: >(2092-58784) raise TypeError("%%r is not JSON serializable" %% obj) >Sep 16 08:26:14 yummy pulp: pulp.server.managers.event.fire:ERROR: >(2092-58784) TypeError: <TaskStatus: TaskStatus object> is not JSON >serializable >Sep 16 08:26:14 yummy pulp: pulp_rpm.plugins.importers.yum.sync:INFO: >Downloading metadata from http://dl.fedoraproject.org/pub/epel/7/x86_64/. >Sep 16 08:26:14 yummy pulp: requests.packages.urllib3.connectionpool:INFO: >Starting new HTTP connection (1): dl.fedoraproject.org >Sep 16 08:26:14 yummy pulp: celery.worker.job:INFO: Task >pulp.server.async.tasks._queue_reserved_task[03bc3b55-ab22-4141-a378-f072dc5e265e] > succeeded in 0.154173775s: None >Sep 16 08:26:14 yummy pulp: celery.worker.strategy:INFO: Received task: >pulp.server.async.tasks._release_resource[d7052e58-c5ab-4b96-b873-f1bafafd8683] >Sep 16 08:26:15 yummy pulp: pulp_rpm.plugins.importers.yum.sync:INFO: Parsing >metadata. >Sep 16 08:26:15 yummy pulp: pulp_rpm.plugins.importers.yum.sync:INFO: >Downloading metadata from http://dl.fedoraproject.org/pub/epel/7/x86_64/. >Sep 16 08:26:15 yummy pulp: requests.packages.urllib3.connectionpool:INFO: >Starting new HTTP connection (1): dl.fedoraproject.org >Sep 16 08:26:16 yummy pulp: pulp_rpm.plugins.importers.yum.sync:INFO: Parsing >metadata. >Sep 16 08:26:16 yummy pulp: pulp_rpm.plugins.importers.yum.sync:INFO: >Downloading metadata from http://dl.fedoraproject.org/pub/epel/7/x86_64/. >Sep 16 08:26:16 yummy pulp: requests.packages.urllib3.connectionpool:INFO: >Starting new HTTP connection (1): dl.fedoraproject.org >Sep 16 08:26:17 yummy pulp: pulp_rpm.plugins.importers.yum.sync:INFO: Parsing >metadata. >Sep 16 08:26:17 yummy pulp: pulp_rpm.plugins.importers.yum.sync:INFO: upstream >repo metadata has not changed. Skipping steps. >Sep 16 08:26:17 yummy pulp: pulp_rpm.plugins.importers.yum.sync:INFO: >Downloading additional units. >Sep 16 08:26:17 yummy pulp: requests.packages.urllib3.connectionpool:INFO: >Starting new HTTP connection (1): dl.fedoraproject.org >Sep 16 08:26:18 yummy pulp: requests.packages.urllib3.connectionpool:INFO: >Starting new HTTP connection (1): dl.fedoraproject.org >Sep 16 08:26:19 yummy pulp: pulp_rpm.plugins.importers.yum.sync:INFO: Sync >complete. >Sep 16 08:26:19 yummy pulp: pulp.server.managers.event.fire:ERROR: >(2092-58784) Exception from notifier of type [email] >Sep 16 08:26:19 yummy pulp: pulp.server.managers.event.fire:ERROR: >(2092-58784) Traceback (most recent call last): >Sep 16 08:26:19 yummy pulp: pulp.server.managers.event.fire:ERROR: >(2092-58784) File >"/usr/lib/python2.7/site-packages/pulp/server/managers/event/fire.py", line >76, in _do_fire >Sep 16 08:26:19 yummy pulp: pulp.server.managers.event.fire:ERROR: >(2092-58784) f(l['notifier_config'], event) >Sep 16 08:26:19 yummy pulp: pulp.server.managers.event.fire:ERROR: >(2092-58784) File >"/usr/lib/python2.7/site-packages/pulp/server/event/mail.py", line 35, in >handle_event >Sep 16 08:26:19 yummy pulp: pulp.server.managers.event.fire:ERROR: >(2092-58784) body = json.dumps(event.data(), indent=2, >default=json_util.default) >Sep 16 08:26:19 yummy pulp: pulp.server.managers.event.fire:ERROR: >(2092-58784) File "/usr/lib64/python2.7/json/__init__.py", line 250, in dumps >Sep 16 08:26:19 yummy pulp: pulp.server.managers.event.fire:ERROR: >(2092-58784) sort_keys=sort_keys, **kw).encode(obj) >Sep 16 08:26:19 yummy pulp: pulp.server.managers.event.fire:ERROR: >(2092-58784) File "/usr/lib64/python2.7/json/encoder.py", line 209, in encode >Sep 16 08:26:19 yummy pulp: pulp.server.managers.event.fire:ERROR: >(2092-58784) chunks = list(chunks) >Sep 16 08:26:19 yummy pulp: pulp.server.managers.event.fire:ERROR: >(2092-58784) File "/usr/lib64/python2.7/json/encoder.py", line 434, in >_iterencode >Sep 16 08:26:19 yummy pulp: pulp.server.managers.event.fire:ERROR: >(2092-58784) for chunk in _iterencode_dict(o, _current_indent_level): >Sep 16 08:26:19 yummy pulp: pulp.server.managers.event.fire:ERROR: >(2092-58784) File "/usr/lib64/python2.7/json/encoder.py", line 408, in >_iterencode_dict >Sep 16 08:26:19 yummy pulp: pulp.server.managers.event.fire:ERROR: >(2092-58784) for chunk in chunks: >Sep 16 08:26:19 yummy pulp: pulp.server.managers.event.fire:ERROR: >(2092-58784) File "/usr/lib64/python2.7/json/encoder.py", line 442, in >_iterencode >Sep 16 08:26:19 yummy pulp: pulp.server.managers.event.fire:ERROR: >(2092-58784) o = _default(o) >Sep 16 08:26:19 yummy pulp: pulp.server.managers.event.fire:ERROR: >(2092-58784) File "/usr/lib64/python2.7/site-packages/bson/json_util.py", >line 256, in default >Sep 16 08:26:19 yummy pulp: pulp.server.managers.event.fire:ERROR: >(2092-58784) raise TypeError("%%r is not JSON serializable" %% obj) >Sep 16 08:26:19 yummy pulp: pulp.server.managers.event.fire:ERROR: >(2092-58784) TypeError: <TaskStatus: TaskStatus object> is not JSON >serializable >Sep 16 08:26:19 yummy pulp: pulp.server.async.tasks:INFO: resetting >consecutive failure count for schedule None >Sep 16 08:26:19 yummy pulp: celery.worker.strategy:INFO: Received task: >pulp.server.async.tasks._queue_reserved_task[b913b86e-9656-4aab-8978-96d5507b0263] >Sep 16 08:26:19 yummy pulp: celery.worker.job:INFO: Task >pulp.server.managers.repo.sync.sync[09544adc-5035-49f5-a24f-3b32d721bb32] >succeeded in 5.172646067s: <pulp.server.async.tasks.TaskResult object at >0x546d250> >Sep 16 08:26:19 yummy pulp: celery.worker.job:INFO: Task >pulp.server.async.tasks._queue_reserved_task[b913b86e-9656-4aab-8978-96d5507b0263] > succeeded in 0.133467743s: None >Sep 16 08:26:19 yummy pulp: celery.worker.job:INFO: Task >pulp.server.async.tasks._release_resource[d7052e58-c5ab-4b96-b873-f1bafafd8683] > succeeded in 0.14680927s: None >Sep 16 08:26:19 yummy pulp: celery.worker.strategy:INFO: Received task: >pulp.server.managers.repo.publish.publish[e325dd8a-3541-4f10-a5f0-80f6a51f8a19] >Sep 16 08:26:19 yummy pulp: celery.worker.strategy:INFO: Received task: >pulp.server.async.tasks._release_resource[92312a1f-2861-4a7b-9bdd-3989489de744] >Sep 16 08:26:19 yummy pulp: pulp.server.managers.event.fire:ERROR: >(2092-58784) Exception from notifier of type [email] >Sep 16 08:26:19 yummy pulp: pulp.server.managers.event.fire:ERROR: >(2092-58784) Traceback (most recent call last): >Sep 16 08:26:19 yummy pulp: pulp.server.managers.event.fire:ERROR: >(2092-58784) File >"/usr/lib/python2.7/site-packages/pulp/server/managers/event/fire.py", line >76, in _do_fire >Sep 16 08:26:19 yummy pulp: pulp.server.managers.event.fire:ERROR: >(2092-58784) f(l['notifier_config'], event) >Sep 16 08:26:19 yummy pulp: pulp.server.managers.event.fire:ERROR: >(2092-58784) File >"/usr/lib/python2.7/site-packages/pulp/server/event/mail.py", line 35, in >handle_event >Sep 16 08:26:19 yummy pulp: pulp.server.managers.event.fire:ERROR: >(2092-58784) body = json.dumps(event.data(), indent=2, >default=json_util.default) >Sep 16 08:26:19 yummy pulp: pulp.server.managers.event.fire:ERROR: >(2092-58784) File "/usr/lib64/python2.7/json/__init__.py", line 250, in dumps >Sep 16 08:26:19 yummy pulp: pulp.server.managers.event.fire:ERROR: >(2092-58784) sort_keys=sort_keys, **kw).encode(obj) >Sep 16 08:26:19 yummy pulp: pulp.server.managers.event.fire:ERROR: >(2092-58784) File "/usr/lib64/python2.7/json/encoder.py", line 209, in encode >Sep 16 08:26:19 yummy pulp: pulp.server.managers.event.fire:ERROR: >(2092-58784) chunks = list(chunks) >Sep 16 08:26:19 yummy pulp: pulp.server.managers.event.fire:ERROR: >(2092-58784) File "/usr/lib64/python2.7/json/encoder.py", line 434, in >_iterencode >Sep 16 08:26:19 yummy pulp: pulp.server.managers.event.fire:ERROR: >(2092-58784) for chunk in _iterencode_dict(o, _current_indent_level): >Sep 16 08:26:19 yummy pulp: pulp.server.managers.event.fire:ERROR: >(2092-58784) File "/usr/lib64/python2.7/json/encoder.py", line 408, in >_iterencode_dict >Sep 16 08:26:19 yummy pulp: pulp.server.managers.event.fire:ERROR: >(2092-58784) for chunk in chunks: >Sep 16 08:26:19 yummy pulp: pulp.server.managers.event.fire:ERROR: >(2092-58784) File "/usr/lib64/python2.7/json/encoder.py", line 442, in >_iterencode >Sep 16 08:26:19 yummy pulp: pulp.server.managers.event.fire:ERROR: >(2092-58784) o = _default(o) >Sep 16 08:26:19 yummy pulp: pulp.server.managers.event.fire:ERROR: >(2092-58784) File "/usr/lib64/python2.7/site-packages/bson/json_util.py", >line 256, in default >Sep 16 08:26:19 yummy pulp: pulp.server.managers.event.fire:ERROR: >(2092-58784) raise TypeError("%%r is not JSON serializable" %% obj) >Sep 16 08:26:19 yummy pulp: pulp.server.managers.event.fire:ERROR: >(2092-58784) TypeError: <TaskStatus: TaskStatus object> is not JSON >serializable >Sep 16 08:26:19 yummy pulp: pulp.server.managers.repo.publish:ERROR: >(2092-58784) Exception caught from plugin during publish for repo [rad-epel-7] >Sep 16 08:26:19 yummy pulp: pulp.server.managers.repo.publish:ERROR: >(2092-58784) Traceback (most recent call last): >Sep 16 08:26:19 yummy pulp: pulp.server.managers.repo.publish:ERROR: >(2092-58784) File >"/usr/lib/python2.7/site-packages/pulp/server/managers/repo/publish.py", line >116, in _do_publish >Sep 16 08:26:19 yummy pulp: pulp.server.managers.repo.publish:ERROR: >(2092-58784) publish_report = publish_repo(transfer_repo, conduit, >call_config) >Sep 16 08:26:19 yummy pulp: pulp.server.managers.repo.publish:ERROR: >(2092-58784) File >"/usr/lib/python2.7/site-packages/pulp/server/async/tasks.py", line 567, in >wrap_f >Sep 16 08:26:19 yummy pulp: pulp.server.managers.repo.publish:ERROR: >(2092-58784) return f(*args, **kwargs) >Sep 16 08:26:19 yummy pulp: pulp.server.managers.repo.publish:ERROR: >(2092-58784) File >"/usr/lib/python2.7/site-packages/pulp_rpm/plugins/distributors/yum/distributor.py", > line 170, in publish_repo >Sep 16 08:26:19 yummy pulp: pulp.server.managers.repo.publish:ERROR: >(2092-58784) self._publisher = publish.Publisher(repo, publish_conduit, >config, TYPE_ID_DISTRIBUTOR_YUM) >Sep 16 08:26:19 yummy pulp: pulp.server.managers.repo.publish:ERROR: >(2092-58784) File >"/usr/lib/python2.7/site-packages/pulp_rpm/plugins/distributors/yum/publish.py", > line 257, in __init__ >Sep 16 08:26:19 yummy pulp: pulp.server.managers.repo.publish:ERROR: >(2092-58784) ((last_deleted and last_published > last_deleted) or not >last_deleted): >Sep 16 08:26:19 yummy pulp: pulp.server.managers.repo.publish:ERROR: >(2092-58784) TypeError: can't compare offset-naive and offset-aware datetimes >Sep 16 08:26:19 yummy pulp: pulp.server.async.tasks:INFO: Task failed : >[e325dd8a-3541-4f10-a5f0-80f6a51f8a19] >Sep 16 08:26:19 yummy pulp: celery.worker.job:ERROR: (1822-58784) Task >pulp.server.managers.repo.publish.publish[e325dd8a-3541-4f10-a5f0-80f6a51f8a19] > raised unexpected: TypeError("can't compare offset-naive and offset-aware >datetimes",) >Sep 16 08:26:19 yummy pulp: celery.worker.job:ERROR: (1822-58784) Traceback >(most recent call last): >Sep 16 08:26:19 yummy pulp: celery.worker.job:ERROR: (1822-58784) File >"/usr/lib/python2.7/site-packages/celery/app/trace.py", line 240, in trace_task >Sep 16 08:26:19 yummy pulp: celery.worker.job:ERROR: (1822-58784) R = >retval = fun(*args, **kwargs) >Sep 16 08:26:19 yummy pulp: celery.worker.job:ERROR: (1822-58784) File >"/usr/lib/python2.7/site-packages/pulp/server/async/tasks.py", line 395, in >__call__ >Sep 16 08:26:19 yummy pulp: celery.worker.job:ERROR: (1822-58784) return >super(Task, self).__call__(*args, **kwargs) >Sep 16 08:26:19 yummy pulp: celery.worker.job:ERROR: (1822-58784) File >"/usr/lib/python2.7/site-packages/celery/app/trace.py", line 437, in >__protected_call__ >Sep 16 08:26:19 yummy pulp: celery.worker.job:ERROR: (1822-58784) return >self.run(*args, **kwargs) >Sep 16 08:26:19 yummy pulp: celery.worker.job:ERROR: (1822-58784) File >"/usr/lib/python2.7/site-packages/pulp/server/managers/repo/publish.py", line >88, in publish >Sep 16 08:26:19 yummy pulp: celery.worker.job:ERROR: (1822-58784) >transfer_repo, conduit, call_config) >Sep 16 08:26:19 yummy pulp: celery.worker.job:ERROR: (1822-58784) File >"/usr/lib/python2.7/site-packages/pulp/server/managers/repo/publish.py", line >116, in _do_publish >Sep 16 08:26:19 yummy pulp: celery.worker.job:ERROR: (1822-58784) >publish_report = publish_repo(transfer_repo, conduit, call_config) >Sep 16 08:26:19 yummy pulp: celery.worker.job:ERROR: (1822-58784) File >"/usr/lib/python2.7/site-packages/pulp/server/async/tasks.py", line 567, in >wrap_f >Sep 16 08:26:19 yummy pulp: celery.worker.job:ERROR: (1822-58784) return >f(*args, **kwargs) >Sep 16 08:26:19 yummy pulp: celery.worker.job:ERROR: (1822-58784) File >"/usr/lib/python2.7/site-packages/pulp_rpm/plugins/distributors/yum/distributor.py", > line 170, in publish_repo >Sep 16 08:26:19 yummy pulp: celery.worker.job:ERROR: (1822-58784) >self._publisher = publish.Publisher(repo, publish_conduit, config, >TYPE_ID_DISTRIBUTOR_YUM) >Sep 16 08:26:19 yummy pulp: celery.worker.job:ERROR: (1822-58784) File >"/usr/lib/python2.7/site-packages/pulp_rpm/plugins/distributors/yum/publish.py", > line 257, in __init__ >Sep 16 08:26:19 yummy pulp: celery.worker.job:ERROR: (1822-58784) >((last_deleted and last_published > last_deleted) or not last_deleted): >Sep 16 08:26:19 yummy pulp: celery.worker.job:ERROR: (1822-58784) TypeError: >can't compare offset-naive and offset-aware datetimes >Sep 16 08:26:19 yummy pulp: celery.worker.job:INFO: Task >pulp.server.async.tasks._release_resource[92312a1f-2861-4a7b-9bdd-3989489de744] > succeeded in 0.032256429s: None > > > >Any ideas? > >Thanks, >Reece > > > > >On 9/15/15, 7:06 AM, "pulp-list-boun...@redhat.com on behalf of Dennis Kliban" ><pulp-list-boun...@redhat.com on behalf of dkli...@redhat.com> wrote: > >>The latest Pulp 2.7.0 beta is available at it's usual location [0]. >> >> - Dennis >> >>[0] - https://repos.fedorapeople.org/repos/pulp/pulp/beta/2.7/ >> >>_______________________________________________ >>Pulp-list mailing list >>Pulp-list@redhat.com >>https://www.redhat.com/mailman/listinfo/pulp-list _______________________________________________ Pulp-list mailing list Pulp-list@redhat.com https://www.redhat.com/mailman/listinfo/pulp-list