Project

Profile

Help

Issue #435

closed

Error during sync of suse errata, missing drpms

Added by demter@atix.de over 9 years ago. Updated about 5 years ago.

Status:
CLOSED - CURRENTRELEASE
Priority:
Normal
Assignee:
Sprint/Milestone:
-
Start date:
Due date:
Estimated time:
Severity:
1. Low
Version:
2.4 Beta
Platform Release:
2.6.1
OS:
Triaged:
Yes
Groomed:
No
Sprint Candidate:
No
Tags:
Pulp 2
Sprint:
Quarter:

Description

Test Repository reflecting suse repomd usage

Description of problem:
During sync of the repomd repositories of suse the following error "Error: 'NoneType' object has no attribute 'text'" appreas during errata sync. The delta rpms seem to be skipped aswell.

Version-Release number of selected component (if applicable):
rpm -qa |grep pulp
python-pulp-bindings-2.4.0-0.18.beta.el6.noarch
pulp-katello-plugins-0.3-1.el6.noarch
python-isodate-0.5.0-1.pulp.el6.noarch
python-pulp-common-2.4.0-0.18.beta.el6.noarch
pulp-nodes-parent-2.4.0-0.18.beta.el6.noarch
pulp-admin-client-2.4.0-0.18.beta.el6.noarch
pulp-selinux-2.4.0-0.18.beta.el6.noarch
createrepo-0.9.9-21.2.pulp.el6.noarch
pulp-server-2.4.0-0.18.beta.el6.noarch
python-pulp-rpm-common-2.4.0-0.18.beta.el6.noarch
python-pulp-puppet-common-2.4.0-0.18.beta.el6.noarch
python-rhsm-1.8.0-1.pulp.el6.x86_64
pulp-rpm-plugins-2.4.0-0.18.beta.el6.noarch
pulp-puppet-plugins-2.4.0-0.18.beta.el6.noarch
mod_wsgi-3.4-1.pulp.el6.x86_64
pulp-rpm-admin-extensions-2.4.0-0.18.beta.el6.noarch
pulp-nodes-common-2.4.0-0.18.beta.el6.noarch
python-pulp-client-lib-2.4.0-0.18.beta.el6.noarch
pulp-puppet-tools-2.4.0-0.18.beta.el6.noarch
m2crypto-0.21.1.pulp-8.el6.x86_64
python-kombu-3.0.15-5.pulp.el6.noarch

How reproducible:
Serve the attached test repository using http and try to sync it into pulp

Steps to Reproduce:
1. serve attached test repository using http
2. sync into pulp
3. pulp-admin rpm repo create --repo-id=test6 --display-name="test6" --feed=http://localhost/suse-test-repo/ --relative-url=test6 --serve-http=true --serve-https=true
4. run pulp-admin rpm repo sync run --repo-id=test6
5. output or task details for error

Actual results:
Sync with rpms & errors

Expected results:
Sync with drpms/rpms/erratum & no errors

- I have verified that its the erratum producing the errors by skipping it in a test.
- I have checked that the test repository works, its not properly signed though :)

Additional info:
[root@axkatello01-1 ~]# pulp-admin rpm repo create --repo-id=test6 --display-name="test6" --feed=http://localhost/suse-test-repo/ --relative-url=test6 --serve-http=true --serve-https=true --skip rpm,drpm,distribution && pulp-admin rpm repo sync run --repo-id=test6
Successfully created repository [test6]

--------------------------------------------------------------------
Synchronizing Repository [test6]
--------------------------------------------------------------------

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

Downloading metadata...
[|]
... completed

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

... completed

Importing errata...
[-]
... failed

Task Failed

Importer indicated a failed response

[root@axkatello01-1 ~]# pulp-admin tasks details --task-id=bf6b2d1b-b156-4083-8931-dd265af3df63
--------------------------------------------------------------------
Task Details
--------------------------------------------------------------------

Operations: sync
Resources: test6 (repository)
State: Failed
Start Time: 2014-05-23T14:38:22Z
Finish Time: 2014-05-23T14:38:25Z
Result: N/A
Task Id: bf6b2d1b-b156-4083-8931-dd265af3df63
Progress Report:
Yum Importer:
Comps:
State: NOT_STARTED
Content:
Details:
Drpm Done: 0
Drpm Total: 0
Rpm Done: 0
Rpm Total: 0
Error Details:
Items Left: 0
Items Total: 0
Size Left: 0
Size Total: 0
State: FINISHED
Distribution:
Error Details:
Items Left: 0
Items Total: 0
State: SKIPPED
Errata:
Error: 'NoneType' object has no attribute 'text'
State: FAILED
Metadata:
State: FINISHED
Traceback: Traceback (most recent call last): File
"/usr/lib/python2.6/site-packages/celery/app/trace.py", line
240, in trace_task R = retval = fun(*args, **kwargs)
File
"/usr/lib/python2.6/site-packages/pulp/server/async/tasks.py",
line 321, in call return super(Task,
self).__call__(*args, **kwargs) File
"/usr/lib/python2.6/site-packages/celery/app/trace.py", line
437, in protected_call return self.run(*args,
**kwargs) File
"/usr/lib/python2.6/site-packages/pulp/server/tasks/repository
.py", line 210, in sync_with_auto_publish sync_result =
managers.repo_sync_manager().sync(repo_id,
sync_config_override=overrides) File
"/usr/lib/python2.6/site-packages/pulp/server/managers/repo/sy
nc.py", line 113, in sync raise
PulpExecutionException(_('Importer indicated a failed
response')) PulpExecutionException: Importer indicated a
failed response

[root@axkatello01-1 ~]#

Without erratum:
[root@axkatello01-1 ~]# pulp-admin rpm repo create --repo-id=test6 --display-name="test6" --feed=http://localhost/suse-test-repo/ --relative-url=test6 --serve-http=true --serve-https=true --skip erratum && pulp-admin rpm repo sync run --repo-id=test6
Successfully created repository [test6]

--------------------------------------------------------------------
Synchronizing Repository [test6]
--------------------------------------------------------------------

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

Downloading metadata...
[|]
... completed

Downloading repository content...
[================================ ] 64%
RPMs: 1/2 items
Delta RPMs: 0/0 items

... completed

Downloading distribution files...
[==================================================] 100%
Distributions: 0/0 items
... completed

Importing package groups/categories...
[-]
... completed

Task Succeeded

Initializing repo metadata
[-]
... completed

Publishing Distribution files
[-]
... completed

Publishing RPMs
[==================================================] 100%
2 of 2 items
... completed

Publishing Delta RPMs
[-]
... completed

Publishing Errata
... skipped

Publishing Comps file
[-]
... completed

Publishing Metadata.
[==================================================] 100%
2 of 2 items
... completed

Closing repo metadata
[-]
... completed

Publishing files to web
[-]
... completed

Task Succeeded

+ This bug was cloned from Bugzilla Bug #1100838 +


Files

5c703abab431f7459fe71818933cf361 (7.41 MB) 5c703abab431f7459fe71818933cf361 demter@atix.de, 02/28/2015 11:08 PM

Also available in: Atom PDF