Aha, seems to be gone now - or at least it's no longer on the webpage, but when I run publish on that repo again - I get this now:+----------------------------------------------------------------------+Publishing Repository [#reponame#]+----------------------------------------------------------------------+This command may be exited by pressing ctrl+c without affecting the actualoperation on the server.Publishing packages...[==================================================] 100%Packages: 5/5 itemsIndividual errors encountered during publishing:An unexpected error has occurred. More information can be found in the clientlog file ~/.pulp/admin.log.admin.log:TypeError: list indices must be integers, not str2014-03-25 10:22:32,280 - ERROR - Client-side exception occurredTraceback (most recent call last):File "/usr/lib/python2.6/site-packages/pulp/client/extensions/core.py", line 478, in runexit_code = Cli.run(self, args)File "/usr/lib/python2.6/site-packages/okaara/cli.py", line 966, in runexit_code = command_or_section.execute(self.prompt, remaining_args)File "/usr/lib/python2.6/site-packages/pulp/client/extensions/extensions.py", line 224, in executereturn self.method(*arg_list, **clean_kwargs)File "/usr/lib/python2.6/site-packages/pulp/client/commands/repo/sync_publish.py", line 221, in runstatus.display_task_status(self.context, self.renderer, task_id)File "/usr/lib/python2.6/site-packages/pulp/client/commands/repo/status/status.py", line 41, in display_task_status_display_status(context, renderer, task_list)File "/usr/lib/python2.6/site-packages/pulp/client/commands/repo/status/status.py", line 95, in _display_status_display_task_status(context, renderer, task.task_id, quiet_waiting=quiet_waiting)File "/usr/lib/python2.6/site-packages/pulp/client/commands/repo/status/status.py", line 122, in _display_task_statusrenderer.display_report(response.response_body.progress)File "/usr/lib/python2.6/site-packages/pulp_rpm/extension/admin/status.py", line 74, in display_reportself.render_packages_step(progress_report)File "/usr/lib/python2.6/site-packages/pulp_rpm/extension/admin/status.py", line 282, in render_packages_steprender_itemized_in_progress_state(self.prompt, data, _('packages'), self.packages_bar, state)File "/usr/lib/python2.6/site-packages/pulp_rpm/common/status_utils.py", line 119, in render_itemized_in_progress_stateerror_msg = error['error']I also did another$ pulp-admin orphan remove --allRequest acceptedand tried to publish again, with the same result/s.Alex--On 25 March 2014 10:09, Koen Vanoppen <vanoppen.koen@gmail.com> wrote:
What happens when you remove the file from /var/lib/pulp/content/rpm/ ?Just an idea...
Kind regards,Koen
2014-03-25 10:47 GMT+01:00 Alex Leonhardt <alex.tuxx@gmail.com>:_______________________________________________hi,for some odd reason i've stopped being able to remove a RPM from one of our repositories - the actions / checks seem to be returning OK although the RPM is not being removed.STR:login to pulp with$ pulp-admin login -u admin -p therealpasswordremove the rpm with$ pulp-admin rpm repo remove rpm --repo-id #reponame# --match filename=#fullfilename#Output:Progress on this task can be viewed using the commands under "repo tasks".
check progress with$ pulp-admin repo tasks list --repo-id #reponame#Output:+----------------------------------------------------------------------+Tasks+----------------------------------------------------------------------+Operations: unassociateResources: #reponame# (repository)State: SuccessfulStart Time: 2014-03-25T09:42:19ZFinish Time: 2014-03-25T09:42:19ZResult: N/ATask Id: 4c8f6ea7-eedd-46fe-bf58-6bc0824ed3fccheck if rpm is now orphaned:$ pulp-admin orphan list --details+----------------------------------------------------------------------+Summary+----------------------------------------------------------------------+Total: 0ok, so lets try and re-publish the repo and check again$ pulp-admin rpm repo publish run --repo-id=#reponame#+----------------------------------------------------------------------+Publishing Repository [#reponame#]+----------------------------------------------------------------------+This command may be exited by pressing ctrl+c without affecting the actualoperation on the server.Publishing packages...[==================================================] 100%Packages: 5/5 items... completedPublishing distributions...[==================================================] 100%Distributions: 0/0 items... completedGenerating metadata[-]... completedPublishing repository over HTTPS[-]... completedPublishing repository over HTTP[-]... completedso the 5/5 items tells me (as there are 5 rpms including the one i want to remove in the repo), it didnt work, stillso let's check if it was orphaned now$ pulp-admin orphan list --details+----------------------------------------------------------------------+Summary+----------------------------------------------------------------------+Total: 0So, still not able to remove the RPM !What am I doing wrong ? What do you need ? Pulp logs ??Alex
Pulp-list mailing list
Pulp-list@redhat.com
https://www.redhat.com/mailman/listinfo/pulp-list