damnit yes :-). Sorry!!! :-)
2014-03-25 12:13 GMT+01:00 Yedidyah Bar David <didi(a)redhat.com>:
Wrong list ? :-)
--
Didi
------------------------------
*From: *"Koen Vanoppen" <vanoppen.koen(a)gmail.com>
*To: *"Alex Leonhardt" <alex.tuxx(a)gmail.com>, users(a)ovirt.org
*Sent: *Tuesday, March 25, 2014 1:08:10 PM
*Subject: *Re: [Users] [Pulp-list] unable to remove rpm
You have this error after you have removed the rpm? If it is possible for
you, could you lpease try to restart your server? And check again.
Kind regrads
2014-03-25 11:29 GMT+01:00 Alex Leonhardt <alex.tuxx(a)gmail.com>:
> 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 actual
> operation on the server.
>
> Publishing packages...
> [==================================================] 100%
> Packages: 5/5 items
> Individual errors encountered during publishing:
>
> An unexpected error has occurred. More information can be found in the
> client
> log file ~/.pulp/admin.log.
>
>
> admin.log:
> TypeError: list indices must be integers, not str
> 2014-03-25 10:22:32,280 - ERROR - Client-side exception occurred
> Traceback (most recent call last):
> File "/usr/lib/python2.6/site-packages/pulp/client/extensions/core.py",
> line 478, in run
> exit_code = Cli.run(self, args)
> File "/usr/lib/python2.6/site-packages/okaara/cli.py", line 966, in run
> exit_code = command_or_section.execute(self.prompt, remaining_args)
> File
> "/usr/lib/python2.6/site-packages/pulp/client/extensions/extensions.py",
> line 224, in execute
> return self.method(*arg_list, **clean_kwargs)
> File
>
"/usr/lib/python2.6/site-packages/pulp/client/commands/repo/sync_publish.py",
> line 221, in run
> status.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_status
> renderer.display_report(response.response_body.progress)
> File
> "/usr/lib/python2.6/site-packages/pulp_rpm/extension/admin/status.py",
line
> 74, in display_report
> self.render_packages_step(progress_report)
> File
> "/usr/lib/python2.6/site-packages/pulp_rpm/extension/admin/status.py",
line
> 282, in render_packages_step
> render_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_state
> error_msg = error['error']
>
>
> I also did another
>
> $ pulp-admin orphan remove --all
> Request accepted
>
> and tried to publish again, with the same result/s.
>
>
>
> Alex
>
>
>
>
>
>
> On 25 March 2014 10:09, Koen Vanoppen <vanoppen.koen(a)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(a)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 therealpassword
>>>
>>> remove 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: unassociate
>>> Resources: #reponame# (repository)
>>> State: Successful
>>> Start Time: 2014-03-25T09:42:19Z
>>> Finish Time: 2014-03-25T09:42:19Z
>>> Result: N/A
>>> Task Id: 4c8f6ea7-eedd-46fe-bf58-6bc0824ed3fc
>>>
>>> check if rpm is now orphaned:
>>> $ pulp-admin orphan list --details
>>> +----------------------------------------------------------------------+
>>> Summary
>>> +----------------------------------------------------------------------+
>>>
>>> Total: 0
>>>
>>> ok, 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
>>> actual
>>> operation on the server.
>>>
>>> Publishing packages...
>>> [==================================================] 100%
>>> Packages: 5/5 items
>>> ... completed
>>>
>>> Publishing distributions...
>>> [==================================================] 100%
>>> Distributions: 0/0 items
>>> ... completed
>>>
>>> Generating metadata
>>> [-]
>>> ... completed
>>>
>>> Publishing repository over HTTPS
>>> [-]
>>> ... completed
>>>
>>> Publishing repository over HTTP
>>> [-]
>>> ... completed
>>>
>>>
>>> so the 5/5 items tells me (as there are 5 rpms including the one i want
>>> to remove in the repo), it didnt work, still
>>>
>>> so let's check if it was orphaned now
>>>
>>> $ pulp-admin orphan list --details
>>> +----------------------------------------------------------------------+
>>> Summary
>>> +----------------------------------------------------------------------+
>>>
>>> Total: 0
>>>
>>> So, 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(a)redhat.com
>>>
https://www.redhat.com/mailman/listinfo/pulp-list
>>>
>>
>>
>
>
> --
> | RHCE | Sen Sys Engineer / Platform Architect |
www.vcore.co |
>
www.vsearchcloud.com |
>
_______________________________________________
Users mailing list
Users(a)ovirt.org
http://lists.ovirt.org/mailman/listinfo/users