Login
[x]
Log in using an account from:
Fedora Account System
Red Hat Associate
Red Hat Customer
Or login using a Red Hat Bugzilla account
Forgot Password
Login:
Hide Forgot
Create an Account
Red Hat Bugzilla – Attachment 889774 Details for
Bug 1063213
pulp-admin fails to recognize rpm repo publish error
[?]
New
Simple Search
Advanced Search
My Links
Browse
Requests
Reports
Current State
Search
Tabular reports
Graphical reports
Duplicates
Other Reports
User Changes
Plotly Reports
Bug Status
Bug Severity
Non-Defaults
|
Product Dashboard
Help
Page Help!
Bug Writing Guidelines
What's new
Browser Support Policy
5.0.4.rh83 Release notes
FAQ
Guides index
User guide
Web Services
Contact
Legal
This site requires JavaScript to be enabled to function correctly, please enable it.
verifying screen log
screen.log (text/plain), 6.55 KB, created by
mkovacik
on 2014-04-25 14:16:40 UTC
(
hide
)
Description:
verifying screen log
Filename:
MIME Type:
Creator:
mkovacik
Created:
2014-04-25 14:16:40 UTC
Size:
6.55 KB
patch
obsolete
>[root@ec2-54-73-150-13 pulp_auto]# head -70 /usr/lib/python2.7/site-packages/pulp_rpm/plugins/distributors/yum/publish.py | tail -34 > > >class Publisher(BasePublisher): > """ > Yum HTTP/HTTPS publisher class that is responsible for the actual publishing > of a yum repository over HTTP and/or HTTPS. > """ > > def __init__(self, repo, publish_conduit, config): > """ > :param repo: Pulp managed Yum repository > :type repo: pulp.plugins.model.Repository > :param publish_conduit: Conduit providing access to relative Pulp functionality > :type publish_conduit: pulp.plugins.conduits.repo_publish.RepoPublishConduit > :param config: Pulp configuration for the distributor > :type config: pulp.plugins.config.PluginCallConfiguration > """ > repomd_step = PublishRepoMetaDataStep() > steps = [PublishDistributionStep(), > PublishRpmStep(), > PublishDrpmStep(), > PublishErrataStep(), > PublishCompsStep(), > PublishMetadataStep()] > > super(Publisher, self).__init__(repo, publish_conduit, config, > initialize_steps=[repomd_step], > process_steps=steps, > finalize_steps=[repomd_step], > post_process_steps=[PublishToMasterStep(), > PublishOverHttpStep(), > PublishOverHttpsStep(), > ClearOldMastersStep()]) > raise RuntimeError("Test Error by milan") >[root@ec2-54-73-150-13 pulp_auto]# systemctl restart `systemctl list-unit-files | egrep 'pulp|celery|httpd|goferd' | cut -d\ -f1,1` >Job for pulp_worker-0.service canceled. >[root@ec2-54-73-150-13 pulp_auto]# pulp-admin -u admin -p admin rpm repo create --repo-id zoo --feed http://repos.fedorapeople.org/repos/pulp/pulp/demo_repos/zoo/ >Successfully created repository [zoo] > >[root@ec2-54-73-150-13 pulp_auto]# pulp-admin -u admin -p admin rpm repo sync run --repo-id zoo >+----------------------------------------------------------------------+ > Synchronizing Repository [zoo] >+----------------------------------------------------------------------+ > >This command may be exited via ctrl+c without affecting the request. > > >[-] >Waiting to begin... >Downloading metadata... >[|] >... completed > >Downloading repository content... >[ ] 0% >RPMs: 0/32 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 > >Pulp exception occurred: PulpExecutionException > >[root@ec2-54-73-150-13 pulp_auto]# pulp-admin -u admin -p admin rpm repo sync run --repo-id zoo >+----------------------------------------------------------------------+ > Synchronizing Repository [zoo] >+----------------------------------------------------------------------+ > >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 > >Downloading distribution files... >[==================================================] 100% >Distributions: 0/0 items >... completed > >Importing errata... >[-] >... completed > >Importing package groups/categories... >[-] >... completed > > >Task Succeeded > > > > >Task Failed > >Pulp exception occurred: PulpExecutionException > >[root@ec2-54-73-150-13 pulp_auto]# less ~/.pulp/admin.log >[root@ec2-54-73-150-13 pulp_auto]# less ~/.pulp/server_calls.log >[root@ec2-54-73-150-13 pulp_auto]# tail -50 ~/.pulp/server_calls.log > }, > "distribution": { > "items_total": 0, > "state": "FINISHED", > "error_details": [], > "items_left": 0 > }, > "errata": { > "state": "FINISHED" > }, > "metadata": { > "state": "FINISHED" > } > } > }, > "_id": { > "$oid": "535a6ceef4ead725e717a9e0" > } >} > >2014-04-25 14:11:01,646 - INFO - GET request to /pulp/api/v2/tasks/75c8c92c-6dd6-4058-b980-f31672b39ff7/ with parameters None >2014-04-25 14:11:01,647 - INFO - Response status : 200 > >2014-04-25 14:11:01,647 - INFO - Response body : > { > "task_type": "pulp.server.managers.repo.publish.publish", > "_href": "/pulp/api/v2/tasks/75c8c92c-6dd6-4058-b980-f31672b39ff7/", > "task_id": "75c8c92c-6dd6-4058-b980-f31672b39ff7", > "tags": [ > "pulp:repository:zoo", > "pulp:action:publish" > ], > "finish_time": "2014-04-25T14:11:00Z", > "_ns": "task_status", > "start_time": "2014-04-25T14:11:00Z", > "traceback": "Traceback (most recent call last):\n File \"/usr/lib/python2.7/site-packages/celery/app/trace.py\", line 240, in trace_task\n R = retval = fun(*args, **kwargs)\n File \"/usr/lib/python2.7/site-packages/pulp/server/async/tasks.py\", line 416, in __call__\n return super(Task, self).__call__(*args, **kwargs)\n File \"/usr/lib/python2.7/site-packages/celery/app/trace.py\", line 437, in __protected_call__\n return self.run(*args, **kwargs)\n File \"/usr/lib/python2.7/site-packages/pulp/server/managers/repo/publish.py\", line 98, in publish\n transfer_repo, conduit, call_config)\n File \"/usr/lib/python2.7/site-packages/pulp/server/managers/repo/publish.py\", line 126, in _do_publish\n publish_report = publish_repo(transfer_repo, conduit, call_config)\n File \"/usr/lib/python2.7/site-packages/pulp/server/async/tasks.py\", line 563, in wrap_f\n return f(*args, **kwargs)\n File \"/usr/lib/python2.7/site-packages/pulp_rpm/plugins/distributors/yum/distributor.py\", line 127, in publish_repo\n self._publisher = publish.Publisher(repo, publish_conduit, config)\n File \"/usr/lib/python2.7/site-packages/pulp_rpm/plugins/distributors/yum/publish.py\", line 70, in __init__\n raise RuntimeError(\"Test Error by milan\")\nPulpExecutionException: Pulp exception occurred: PulpExecutionException\n", > "spawned_tasks": [], > "queue": "reserved_resource_worker-0@ec2-54-73-150-13.eu-west-1.compute.amazonaws.com", > "state": "error", > "error": { > "code": "PLP0000", > "data": {}, > "description": "Pulp exception occurred: PulpExecutionException", > "sub_errors": [] > }, > "_id": { > "$oid": "535a6cf4f4ead725e717a9e1" > } >} > >[root@ec2-54-73-150-13 pulp_auto]#
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Actions:
View
Attachments on
bug 1063213
:
861309
| 889774