Project

Profile

Help

Issue #1480

closed

Iso repo publish failing

Added by pthomas@redhat.com over 8 years ago. Updated about 5 years ago.

Status:
CLOSED - CURRENTRELEASE
Priority:
High
Assignee:
Sprint/Milestone:
-
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

Repo publish for iso repo is failing.

[root@ibm-x3550m3-08 ~]# pulp-admin iso repo create --repo-id iso --feed https://repos.fedorapeople.org/repos/pulp/pulp/demo_repos/test_file_repo/
Successfully created repository [iso]

[root@ibm-x3550m3-08 ~]# pulp-admin iso repo sync run --repo-id iso
+----------------------------------------------------------------------+
                     Synchronizing Repository [iso]
+----------------------------------------------------------------------+

This command may be exited via ctrl+c without affecting the request.

The Pulp Manifest was downloaded successfully.

Downloading 3 ISOs...
[==================================================] 100%
ISOs: 3/3    Data: 10.2 MB/10.2 MB    Avg: 874.7 kB/s

Successfully downloaded 3 ISOs.

Task Succeeded

Task Failed

The distributor iso_distributor indicated a failed response when publishing
repository iso.

[root@ibm-x3550m3-08 ~]# 
<pre>
Jan 06 15:35:27 ibm-x3550m3-08.lab.eng.brq.redhat.com pulp[30490]: pulp.plugins.file.distributor:INFO: Beginning publish for repository <568d260f2fb59472c180e225>
Jan 06 15:35:27 ibm-x3550m3-08.lab.eng.brq.redhat.com pulp[30490]: pulp.plugins.file.distributor:ERROR: (30490-20256) 'Repository' object has no attribute 'working_dir'
Jan 06 15:35:27 ibm-x3550m3-08.lab.eng.brq.redhat.com pulp[30490]: pulp.plugins.file.distributor:ERROR: (30490-20256) Traceback (most recent call last):
Jan 06 15:35:27 ibm-x3550m3-08.lab.eng.brq.redhat.com pulp[30490]: pulp.plugins.file.distributor:ERROR: (30490-20256)   File "/usr/lib/python2.7/site-packages/pulp/plugins/file/distributor.py", line 79, in publish_repo
Jan 06 15:35:27 ibm-x3550m3-08.lab.eng.brq.redhat.com pulp[30490]: pulp.plugins.file.distributor:ERROR: (30490-20256)     build_dir = os.path.join(repo.working_dir, BUILD_DIRNAME)
Jan 06 15:35:27 ibm-x3550m3-08.lab.eng.brq.redhat.com pulp[30490]: pulp.plugins.file.distributor:ERROR: (30490-20256) AttributeError: 'Repository' object has no attribute 'working_dir'
Jan 06 15:35:27 ibm-x3550m3-08.lab.eng.brq.redhat.com pulp[30490]: pulp.server.controllers.repository:INFO: {'state': 'failed', 'error_message': "'Repository' object has no attribute 'working_dir'", 'traceback': 'Traceback (most recent call last):\n  File "/usr/lib/python2.7/site-packages/pulp/plugins/file/distributor.py", line 79, in publish_repo\n    build_dir = os.path.join(repo.working_dir, BUILD_DIRNAME)\nAttributeError: \'Repository\' object has no attribute \'working_dir\'\n', 'state_times': {'failed': '2016-01-06T14:35:27', 'not_started': '2016-01-06T14:35:27', 'in_progress': '2016-01-06T14:35:27'}}
Jan 06 15:35:27 ibm-x3550m3-08.lab.eng.brq.redhat.com pulp[30490]: pulp.server.controllers.repository:ERROR: (30490-20256) Exception caught from plugin during publish for repo [iso]
Jan 06 15:35:27 ibm-x3550m3-08.lab.eng.brq.redhat.com pulp[30490]: pulp.server.controllers.repository:ERROR: (30490-20256) Traceback (most recent call last):
Jan 06 15:35:27 ibm-x3550m3-08.lab.eng.brq.redhat.com pulp[30490]: pulp.server.controllers.repository:ERROR: (30490-20256)   File "/usr/lib/python2.7/site-packages/pulp/server/controllers/repository.py", line 926, in _do_publish
Jan 06 15:35:27 ibm-x3550m3-08.lab.eng.brq.redhat.com pulp[30490]: pulp.server.controllers.repository:ERROR: (30490-20256)     distributor_id=dist_id, summary=publish_report.summary
Jan 06 15:35:27 ibm-x3550m3-08.lab.eng.brq.redhat.com pulp[30490]: pulp.server.controllers.repository:ERROR: (30490-20256) PulpCodedException: The distributor iso_distributor indicated a failed response when publishing repository iso.
Jan 06 15:35:27 ibm-x3550m3-08.lab.eng.brq.redhat.com pulp[30490]: pulp.server.async.tasks:INFO: Task failed : [afb6455e-c34a-489d-acd5-ff32c3967260] : The distributor iso_distributor indicated a failed response when publishing repository iso.

/pre>


Related issues

Related to RPM Support - Issue #1493: Iso repo creation doesn't describe its stepsCLOSED - WONTFIXActions

Also available in: Atom PDF