Project

Profile

Help

Issue #1487

Node repo publish failing.

Added by pthomas@redhat.com almost 5 years ago. Updated over 1 year ago.

Status:
CLOSED - CURRENTRELEASE
Priority:
High
Category:
-
Start date:
Due date:
Estimated time:
Severity:
3. High
Version:
Master
Platform Release:
2.8.0
OS:
Triaged:
Yes
Groomed:
No
Sprint Candidate:
No
Tags:
Pulp 2
Sprint:
Quarter:

Description

Node publish is failing in the 2.8 build

[root@ibm-x3550m3-08 ~]# pulp-admin node repo publish --repo-id zoo
This command may be exited via ctrl+c without affecting the request.

[\]
Running...

Publish failed. See: pulp log for details.

[root@ibm-x3550m3-08 ~]# 
Jan 07 20:38:51 ibm-x3550m3-08.lab.eng.brq.redhat.com pulp[8966]: py.warnings:WARNING: (8966-79104) /usr/lib64/python2.7/site-packages/pymongo/collection.py:288: DeprecationWarning: The safe parameter is deprecated. Please use write concern options instead.
Jan 07 20:38:51 ibm-x3550m3-08.lab.eng.brq.redhat.com pulp[8966]: py.warnings:WARNING: (8966-79104)   manipulate, safe, check_keys=check_keys, **kwargs)
Jan 07 20:38:51 ibm-x3550m3-08.lab.eng.brq.redhat.com pulp[8966]: py.warnings:WARNING: (8966-79104)
Jan 07 20:38:51 ibm-x3550m3-08.lab.eng.brq.redhat.com pulp[8966]: pulp.server.controllers.repository:ERROR: (8966-79104) Exception caught from plugin during publish for repo [zoo]
Jan 07 20:38:51 ibm-x3550m3-08.lab.eng.brq.redhat.com pulp[8966]: pulp.server.controllers.repository:ERROR: (8966-79104) Traceback (most recent call last):
Jan 07 20:38:51 ibm-x3550m3-08.lab.eng.brq.redhat.com pulp[8966]: pulp.server.controllers.repository:ERROR: (8966-79104)   File "/usr/lib/python2.7/site-packages/pulp/server/controllers/repository.py", line 920, in _do_publish
Jan 07 20:38:51 ibm-x3550m3-08.lab.eng.brq.redhat.com pulp[8966]: pulp.server.controllers.repository:ERROR: (8966-79104)     publish_report = publish_repo(transfer_repo, conduit, call_config)
Jan 07 20:38:51 ibm-x3550m3-08.lab.eng.brq.redhat.com pulp[8966]: pulp.server.controllers.repository:ERROR: (8966-79104)   File "/usr/lib/python2.7/site-packages/pulp/server/async/tasks.py", line 658, in wrap_f
Jan 07 20:38:51 ibm-x3550m3-08.lab.eng.brq.redhat.com pulp[8966]: pulp.server.controllers.repository:ERROR: (8966-79104)     return f(*args, **kwargs)
Jan 07 20:38:51 ibm-x3550m3-08.lab.eng.brq.redhat.com pulp[8966]: pulp.server.controllers.repository:ERROR: (8966-79104)   File "/usr/lib/python2.7/site-packages/pulp_node/distributors/http/distributor.py", line 107, in publish_repo
Jan 07 20:38:51 ibm-x3550m3-08.lab.eng.brq.redhat.com pulp[8966]: pulp.server.controllers.repository:ERROR: (8966-79104)     publisher.publish(units)
Jan 07 20:38:51 ibm-x3550m3-08.lab.eng.brq.redhat.com pulp[8966]: pulp.server.controllers.repository:ERROR: (8966-79104)   File "/usr/lib/python2.7/site-packages/pulp_node/distributors/http/publisher.py", line 51, in publish
Jan 07 20:38:51 ibm-x3550m3-08.lab.eng.brq.redhat.com pulp[8966]: pulp.server.controllers.repository:ERROR: (8966-79104)     manifest_path = super(self.__class__, self).publish(units)
Jan 07 20:38:51 ibm-x3550m3-08.lab.eng.brq.redhat.com pulp[8966]: pulp.server.controllers.repository:ERROR: (8966-79104)   File "/usr/lib/python2.7/site-packages/pulp_node/distributors/publisher.py", line 125, in publish
Jan 07 20:38:51 ibm-x3550m3-08.lab.eng.brq.redhat.com pulp[8966]: pulp.server.controllers.repository:ERROR: (8966-79104)     for unit in units:
Jan 07 20:38:51 ibm-x3550m3-08.lab.eng.brq.redhat.com pulp[8966]: pulp.server.controllers.repository:ERROR: (8966-79104)   File "/usr/lib/python2.7/site-packages/pulp_node/conduit.py", line 89, in next
Jan 07 20:38:51 ibm-x3550m3-08.lab.eng.brq.redhat.com pulp[8966]: pulp.server.controllers.repository:ERROR: (8966-79104)     return self.unit_generator.next()
Jan 07 20:38:51 ibm-x3550m3-08.lab.eng.brq.redhat.com pulp[8966]: pulp.server.controllers.repository:ERROR: (8966-79104)   File "/usr/lib/python2.7/site-packages/pulp_node/conduit.py", line 82, in get_units
Jan 07 20:38:51 ibm-x3550m3-08.lab.eng.brq.redhat.com pulp[8966]: pulp.server.controllers.repository:ERROR: (8966-79104)     yield UnitsIterator.associated_unit(typedef, unit, metadata)
Jan 07 20:38:51 ibm-x3550m3-08.lab.eng.brq.redhat.com pulp[8966]: pulp.server.controllers.repository:ERROR: (8966-79104)   File "/usr/lib/python2.7/site-packages/pulp_node/conduit.py", line 46, in associated_unit
Jan 07 20:38:51 ibm-x3550m3-08.lab.eng.brq.redhat.com pulp[8966]: pulp.server.controllers.repository:ERROR: (8966-79104)     for key in typedef['unit_key']:
Jan 07 20:38:51 ibm-x3550m3-08.lab.eng.brq.redhat.com pulp[8966]: pulp.server.controllers.repository:ERROR: (8966-79104) TypeError: 'NoneType' object has no attribute '__getitem__'
Jan 07 20:38:51 ibm-x3550m3-08.lab.eng.brq.redhat.com pulp[8966]: pulp.server.async.tasks:INFO: Task failed : [98b20d97-7cb9-4058-9fd7-1b66b8285fbf]
Jan 07 20:38:51 ibm-x3550m3-08.lab.eng.brq.redhat.com pulp[8684]: celery.worker.job:ERROR: (8684-79104) Task pulp.server.managers.repo.publish.publish[98b20d97-7cb9-4058-9fd7-1b66b8285fbf] raised unexpected: TypeError("'NoneType' object has no attribute '__getitem__'",)
Jan 07 20:38:51 ibm-x3550m3-08.lab.eng.brq.redhat.com pulp[8684]: celery.worker.job:ERROR: (8684-79104) Traceback (most recent call last):
Jan 07 20:38:51 ibm-x3550m3-08.lab.eng.brq.redhat.com pulp[8684]: celery.worker.job:ERROR: (8684-79104)   File "/usr/lib/python2.7/site-packages/celery/app/trace.py", line 240, in trace_task
Jan 07 20:38:51 ibm-x3550m3-08.lab.eng.brq.redhat.com pulp[8684]: celery.worker.job:ERROR: (8684-79104)     R = retval = fun(*args, **kwargs)
Jan 07 20:38:51 ibm-x3550m3-08.lab.eng.brq.redhat.com pulp[8684]: celery.worker.job:ERROR: (8684-79104)   File "/usr/lib/python2.7/site-packages/pulp/server/async/tasks.py", line 473, in __call__
Jan 07 20:38:51 ibm-x3550m3-08.lab.eng.brq.redhat.com pulp[8684]: celery.worker.job:ERROR: (8684-79104)     return super(Task, self).__call__(*args, **kwargs)
Jan 07 20:38:51 ibm-x3550m3-08.lab.eng.brq.redhat.com pulp[8684]: celery.worker.job:ERROR: (8684-79104)   File "/usr/lib/python2.7/site-packages/pulp/server/async/tasks.py", line 103, in __call__
Jan 07 20:38:51 ibm-x3550m3-08.lab.eng.brq.redhat.com pulp[8684]: celery.worker.job:ERROR: (8684-79104)     return super(PulpTask, self).__call__(*args, **kwargs)
Jan 07 20:38:51 ibm-x3550m3-08.lab.eng.brq.redhat.com pulp[8684]: celery.worker.job:ERROR: (8684-79104)   File "/usr/lib/python2.7/site-packages/celery/app/trace.py", line 437, in __protected_call__
Jan 07 20:38:51 ibm-x3550m3-08.lab.eng.brq.redhat.com pulp[8684]: celery.worker.job:ERROR: (8684-79104)     return self.run(*args, **kwargs)
Jan 07 20:38:51 ibm-x3550m3-08.lab.eng.brq.redhat.com pulp[8684]: celery.worker.job:ERROR: (8684-79104)   File "/usr/lib/python2.7/site-packages/pulp/server/controllers/repository.py", line 868, in publish
Jan 07 20:38:51 ibm-x3550m3-08.lab.eng.brq.redhat.com pulp[8684]: celery.worker.job:ERROR: (8684-79104)     result = _do_publish(repo_obj, dist_id, dist_inst, transfer_repo, conduit, call_config)
Jan 07 20:38:51 ibm-x3550m3-08.lab.eng.brq.redhat.com pulp[8684]: celery.worker.job:ERROR: (8684-79104)   File "/usr/lib/python2.7/site-packages/pulp/server/controllers/repository.py", line 920, in _do_publish
Jan 07 20:38:51 ibm-x3550m3-08.lab.eng.brq.redhat.com pulp[8684]: celery.worker.job:ERROR: (8684-79104)     publish_report = publish_repo(transfer_repo, conduit, call_config)
Jan 07 20:38:51 ibm-x3550m3-08.lab.eng.brq.redhat.com pulp[8684]: celery.worker.job:ERROR: (8684-79104)   File "/usr/lib/python2.7/site-packages/pulp/server/async/tasks.py", line 658, in wrap_f
Jan 07 20:38:51 ibm-x3550m3-08.lab.eng.brq.redhat.com pulp[8684]: celery.worker.job:ERROR: (8684-79104)     return f(*args, **kwargs)
Jan 07 20:38:51 ibm-x3550m3-08.lab.eng.brq.redhat.com pulp[8684]: celery.worker.job:ERROR: (8684-79104)   File "/usr/lib/python2.7/site-packages/pulp_node/distributors/http/distributor.py", line 107, in publish_repo
Jan 07 20:38:51 ibm-x3550m3-08.lab.eng.brq.redhat.com pulp[8684]: celery.worker.job:ERROR: (8684-79104)     publisher.publish(units)
Jan 07 20:38:51 ibm-x3550m3-08.lab.eng.brq.redhat.com pulp[8684]: celery.worker.job:ERROR: (8684-79104)   File "/usr/lib/python2.7/site-packages/pulp_node/distributors/http/publisher.py", line 51, in publish
Jan 07 20:38:51 ibm-x3550m3-08.lab.eng.brq.redhat.com pulp[8684]: celery.worker.job:ERROR: (8684-79104)     manifest_path = super(self.__class__, self).publish(units)
Jan 07 20:38:51 ibm-x3550m3-08.lab.eng.brq.redhat.com pulp[8684]: celery.worker.job:ERROR: (8684-79104)   File "/usr/lib/python2.7/site-packages/pulp_node/distributors/publisher.py", line 125, in publish
Jan 07 20:38:51 ibm-x3550m3-08.lab.eng.brq.redhat.com pulp[8684]: celery.worker.job:ERROR: (8684-79104)     for unit in units:
Jan 07 20:38:51 ibm-x3550m3-08.lab.eng.brq.redhat.com pulp[8684]: celery.worker.job:ERROR: (8684-79104)   File "/usr/lib/python2.7/site-packages/pulp_node/conduit.py", line 89, in next
Jan 07 20:38:51 ibm-x3550m3-08.lab.eng.brq.redhat.com pulp[8684]: celery.worker.job:ERROR: (8684-79104)     return self.unit_generator.next()
Jan 07 20:38:51 ibm-x3550m3-08.lab.eng.brq.redhat.com pulp[8684]: celery.worker.job:ERROR: (8684-79104)   File "/usr/lib/python2.7/site-packages/pulp_node/conduit.py", line 82, in get_units
Jan 07 20:38:51 ibm-x3550m3-08.lab.eng.brq.redhat.com pulp[8684]: celery.worker.job:ERROR: (8684-79104)     yield UnitsIterator.associated_unit(typedef, unit, metadata)
Jan 07 20:38:51 ibm-x3550m3-08.lab.eng.brq.redhat.com pulp[8684]: celery.worker.job:ERROR: (8684-79104)   File "/usr/lib/python2.7/site-packages/pulp_node/conduit.py", line 46, in associated_unit
Jan 07 20:38:51 ibm-x3550m3-08.lab.eng.brq.redhat.com pulp[8684]: celery.worker.job:ERROR: (8684-79104)     for key in typedef['unit_key']:
Jan 07 20:38:51 ibm-x3550m3-08.lab.eng.brq.redhat.com pulp[8684]: celery.worker.job:ERROR: (8684-79104) TypeError: 'NoneType' object has no attribute '__getitem__'
Jan 07 20:38:51 ibm-x3550m3-08.lab.eng.brq.redhat.com pulp[8684]: celery.worker.job:INFO: Task pulp.server.async.tasks._release_resource[b85ed705-1e41-41cc-bf1c-acec83bf8684] succeeded in 0.00629127398133s: None
 

Associated revisions

Revision 73e316e9 View on GitHub
Added by jortel@redhat.com almost 5 years ago

ref #1487 - adjust model superclasses.

Revision e66e840d View on GitHub
Added by jortel@redhat.com almost 5 years ago

ref #1487 - update node conduit to handle both legacy and mongoengine units.

Revision e66e840d View on GitHub
Added by jortel@redhat.com almost 5 years ago

ref #1487 - update node conduit to handle both legacy and mongoengine units.

Revision 84b44cbd View on GitHub
Added by jortel@redhat.com almost 5 years ago

Merge pull request #2321 from jortel/issue-1487

ref #1487 - update node conduit to handle both legacy and mongoengine units.

Revision 84b44cbd View on GitHub
Added by jortel@redhat.com almost 5 years ago

Merge pull request #2321 from jortel/issue-1487

ref #1487 - update node conduit to handle both legacy and mongoengine units.

History

#1 Updated by jortel@redhat.com almost 5 years ago

  • Status changed from NEW to ASSIGNED
  • Assignee set to jortel@redhat.com
  • Priority changed from Normal to High
  • Severity changed from 2. Medium to 3. High
  • Triaged changed from No to Yes

#2 Updated by jortel@redhat.com almost 5 years ago

  • Platform Release set to 2.8.0

#3 Updated by jortel@redhat.com almost 5 years ago

Need to fix the conduit and the RPM plugin modeling.

This PR fixes the RPM plugin modeling: https://github.com/pulp/pulp_rpm/pull/765

#4 Updated by jortel@redhat.com almost 5 years ago

  • Status changed from ASSIGNED to MODIFIED

#5 Updated by dkliban@redhat.com over 4 years ago

  • Status changed from MODIFIED to 5

#6 Updated by pthomas@redhat.com over 4 years ago

verified
[root@mgmt5 ~]# rpm -qa |grep pulp
python-pulp-repoauth-2.8.0-0.9.rc.el7.noarch
pulp-rpm-plugins-2.8.0-0.9.rc.el7.noarch
pulp-docker-plugins-2.0.0-0.9.rc.el7.noarch
pulp-selinux-2.8.0-0.9.rc.el7.noarch
python-pulp-puppet-common-2.8.0-0.9.rc.el7.noarch
pulp-admin-client-2.8.0-0.9.rc.el7.noarch
pulp-rpm-admin-extensions-2.8.0-0.9.rc.el7.noarch
pulp-puppet-handlers-2.8.0-0.9.rc.el7.noarch
python-pulp-agent-lib-2.8.0-0.9.rc.el7.noarch
pulp-nodes-common-2.8.0-0.9.rc.el7.noarch
pulp-consumer-client-2.8.0-0.9.rc.el7.noarch
pulp-puppet-consumer-extensions-2.8.0-0.9.rc.el7.noarch
pulp-docker-admin-extensions-2.0.0-0.9.rc.el7.noarch
pulp-puppet-plugins-2.8.0-0.9.rc.el7.noarch
pulp-rpm-yumplugins-2.8.0-0.9.rc.el7.noarch
pulp-test-package-0.2.1-1.fc11.x86_64
python-pulp-common-2.8.0-0.9.rc.el7.noarch
python-pulp-rpm-common-2.8.0-0.9.rc.el7.noarch
python-pulp-docker-common-2.0.0-0.9.rc.el7.noarch
python-pulp-oid_validation-2.8.0-0.9.rc.el7.noarch
pulp-agent-2.8.0-0.9.rc.el7.noarch
pulp-nodes-admin-extensions-2.8.0-0.9.rc.el7.noarch
python-pulp-streamer-2.8.0-0.9.rc.el7.noarch
python-kombu-3.0.33-4.pulp.el7.noarch
python-pulp-bindings-2.8.0-0.9.rc.el7.noarch
python-pulp-client-lib-2.8.0-0.9.rc.el7.noarch
pulp-puppet-admin-extensions-2.8.0-0.9.rc.el7.noarch
pulp-rpm-handlers-2.8.0-0.9.rc.el7.noarch
pulp-server-2.8.0-0.9.rc.el7.noarch
pulp-rpm-consumer-extensions-2.8.0-0.9.rc.el7.noarch
pulp-nodes-parent-2.8.0-0.9.rc.el7.noarch
python-isodate-0.5.0-4.pulp.el7.noarch
[root@mgmt5 ~]#

[root@mgmt5 ~]# pulp-admin node repo publish --repo-id zoo
This command may be exited via ctrl+c without affecting the request.

[\]
Running...

Publish succeeded.

#7 Updated by pthomas@redhat.com over 4 years ago

  • Status changed from 5 to 6

#8 Updated by dkliban@redhat.com over 4 years ago

  • Status changed from 6 to CLOSED - CURRENTRELEASE

#10 Updated by bmbouter over 1 year ago

  • Tags Pulp 2 added

Please register to edit this issue

Also available in: Atom PDF