<div dir="ltr">damnit yes :-). Sorry!!! :-)<br></div><div class="gmail_extra"><br><br><div class="gmail_quote">2014-03-25 12:13 GMT+01:00 Yedidyah Bar David <span dir="ltr"><<a href="mailto:didi@redhat.com" target="_blank">didi@redhat.com</a>></span>:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div><div style="font-size:12pt;font-family:times new roman,new york,times,serif"><div>Wrong list ? :-)<br></div><div>-- </div>
<div>Didi</div><div><br></div><hr><blockquote style="padding-left:5px;font-size:12pt;font-style:normal;margin-left:5px;font-family:Helvetica,Arial,sans-serif;text-decoration:none;font-weight:normal;border-left:2px solid #1010ff">
<b>From: </b>"Koen Vanoppen" <<a href="mailto:vanoppen.koen@gmail.com" target="_blank">vanoppen.koen@gmail.com</a>><br><b>To: </b>"Alex Leonhardt" <<a href="mailto:alex.tuxx@gmail.com" target="_blank">alex.tuxx@gmail.com</a>>, <a href="mailto:users@ovirt.org" target="_blank">users@ovirt.org</a><br>
<b>Sent: </b>Tuesday, March 25, 2014 1:08:10 PM<br><b>Subject: </b>Re: [Users] [Pulp-list] unable to remove rpm<div><div class="h5"><br><div><br></div><div dir="ltr"><div><div><br></div>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.<br>
<div><br></div></div>Kind regrads<br></div><div class="gmail_extra">
<br><div><br></div><div class="gmail_quote">2014-03-25 11:29 GMT+01:00 Alex Leonhardt <span dir="ltr"><<a href="mailto:alex.tuxx@gmail.com" target="_blank">alex.tuxx@gmail.com</a>></span>:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div dir="ltr"><div class="gmail_default" style="font-size:small">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: </div><div class="gmail_default">
<div class="gmail_default"><br></div><div class="gmail_default"><div class="gmail_default"><br></div><div class="gmail_default"><div><div class="gmail_default">+----------------------------------------------------------------------+</div>
<div class="gmail_default"> Publishing Repository [#reponame#]</div><div class="gmail_default">+----------------------------------------------------------------------+</div><div class="gmail_default"><br></div>
<div class="gmail_default">This command may be exited by pressing ctrl+c without affecting the actual</div><div class="gmail_default">operation on the server.</div><div class="gmail_default"><br></div><div class="gmail_default">
Publishing packages...</div><div class="gmail_default">[==================================================] 100%</div><div class="gmail_default">Packages: 5/5 items</div></div><div class="gmail_default">Individual errors encountered during publishing:</div>
<div class="gmail_default"><br></div><div class="gmail_default">An unexpected error has occurred. More information can be found in the client</div><div class="gmail_default">log file ~/.pulp/admin.log.</div><div><br></div>
</div></div><div style="font-size:small"><br></div><div style="font-size:small">admin.log: </div></div><div class="gmail_default"><div class="gmail_default">TypeError: list indices must be integers, not str</div><div class="gmail_default">
2014-03-25 10:22:32,280 - ERROR - Client-side exception occurred</div><div class="gmail_default">Traceback (most recent call last):</div><div class="gmail_default"> File "/usr/lib/python2.6/site-packages/pulp/client/extensions/core.py", line 478, in run</div>
<div class="gmail_default"> exit_code = Cli.run(self, args)</div><div class="gmail_default"> File "/usr/lib/python2.6/site-packages/okaara/cli.py", line 966, in run</div><div class="gmail_default"> exit_code = command_or_section.execute(self.prompt, remaining_args)</div>
<div class="gmail_default"> File "/usr/lib/python2.6/site-packages/pulp/client/extensions/extensions.py", line 224, in execute</div><div class="gmail_default"> return self.method(*arg_list, **clean_kwargs)</div>
<div class="gmail_default"> File "/usr/lib/python2.6/site-packages/pulp/client/commands/repo/sync_publish.py", line 221, in run</div><div class="gmail_default"> status.display_task_status(self.context, self.renderer, task_id)</div>
<div class="gmail_default"> File "/usr/lib/python2.6/site-packages/pulp/client/commands/repo/status/status.py", line 41, in display_task_status</div><div class="gmail_default"> _display_status(context, renderer, task_list)</div>
<div class="gmail_default"> File "/usr/lib/python2.6/site-packages/pulp/client/commands/repo/status/status.py", line 95, in _display_status</div><div class="gmail_default"> _display_task_status(context, renderer, task.task_id, quiet_waiting=quiet_waiting)</div>
<div class="gmail_default"> File "/usr/lib/python2.6/site-packages/pulp/client/commands/repo/status/status.py", line 122, in _display_task_status</div><div class="gmail_default"> renderer.display_report(response.response_body.progress)</div>
<div class="gmail_default"> File "/usr/lib/python2.6/site-packages/pulp_rpm/extension/admin/status.py", line 74, in display_report</div><div class="gmail_default"> self.render_packages_step(progress_report)</div>
<div class="gmail_default"> File "/usr/lib/python2.6/site-packages/pulp_rpm/extension/admin/status.py", line 282, in render_packages_step</div><div class="gmail_default"> render_itemized_in_progress_state(self.prompt, data, _('packages'), self.packages_bar, state)</div>
<div class="gmail_default"> File "/usr/lib/python2.6/site-packages/pulp_rpm/common/status_utils.py", line 119, in render_itemized_in_progress_state</div><div class="gmail_default"> error_msg = error['error']</div>
<div style="font-size:small"><br></div><div style="font-size:small"><br></div><div style="font-size:small">I also did another </div><div style="font-size:small"><br></div><div><div><div> $ pulp-admin orphan remove --all</div>
<div>Request accepted</div></div></div><div><br></div><div>and tried to publish again, with the same result/s.</div><div><br></div><div><br></div><div><br></div><div>Alex</div><div><br></div><div><br></div><div><br></div>
<div style="font-size:small"><br></div></div></div><div class="gmail_extra"><div><div><br><div><br></div><div class="gmail_quote">On 25 March 2014 10:09, Koen Vanoppen <span dir="ltr"><<a href="mailto:vanoppen.koen@gmail.com" target="_blank">vanoppen.koen@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div>What happens when you remove the file from /var/lib/pulp/content/rpm/ ?<br><div><br></div></div><div>
Just an idea...<br>
<br></div><div>Kind regards,<br><div><br></div></div><div>Koen<br></div></div><div class="gmail_extra"><br>
<br><div class="gmail_quote">2014-03-25 10:47 GMT+01:00 Alex Leonhardt <span dir="ltr"><<a href="mailto:alex.tuxx@gmail.com" target="_blank">alex.tuxx@gmail.com</a>></span>:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div><div>
<div dir="ltr"><div class="gmail_default" style="font-size:small">hi,</div><div class="gmail_default" style="font-size:small"><br></div><div class="gmail_default" style="font-size:small">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. </div>
<div class="gmail_default" style="font-size:small"><br></div><div class="gmail_default" style="font-size:small">STR: </div><div class="gmail_default" style="font-size:small"><br></div><div class="gmail_default" style="font-size:small">
login to pulp with</div><div class="gmail_default" style="font-size:small">$ pulp-admin login -u admin -p therealpassword</div><div class="gmail_default" style="font-size:small"><br></div><div class="gmail_default" style="font-size:small">
remove the rpm with </div><div class="gmail_default">$ pulp-admin rpm repo remove rpm --repo-id #reponame# --match filename=#fullfilename#<br></div><div class="gmail_default">Output:</div><div class="gmail_default">Progress on this task can be viewed using the commands under "repo tasks".<br>
</div><div class="gmail_default"><br></div><div class="gmail_default">check progress with</div><div class="gmail_default">$ pulp-admin repo tasks list --repo-id #reponame#</div><div class="gmail_default">Output:</div><div class="gmail_default">
<div class="gmail_default">+----------------------------------------------------------------------+</div><div class="gmail_default"> Tasks</div><div class="gmail_default">+----------------------------------------------------------------------+</div>
<div class="gmail_default"><br></div><div class="gmail_default">Operations: unassociate</div><div class="gmail_default">Resources: #reponame# (repository)</div><div class="gmail_default">State: Successful</div><div class="gmail_default">
Start Time: 2014-03-25T09:42:19Z</div><div class="gmail_default">Finish Time: 2014-03-25T09:42:19Z</div><div class="gmail_default">Result: N/A</div><div class="gmail_default">Task Id: 4c8f6ea7-eedd-46fe-bf58-6bc0824ed3fc</div>
<div><br></div><div>check if rpm is now orphaned:</div><div><div> $ pulp-admin orphan list --details</div><div>+----------------------------------------------------------------------+</div><div> Summary</div>
<div>+----------------------------------------------------------------------+</div><div><br></div><div>Total: 0</div></div><div><br></div><div>ok, so lets try and re-publish the repo and check again</div><div><br></div>
<div>
<div> $ pulp-admin rpm repo publish run --repo-id=#reponame#</div><div>+----------------------------------------------------------------------+</div><div> Publishing Repository [#reponame#]</div><div>+----------------------------------------------------------------------+</div>
<div><br></div><div>This command may be exited by pressing ctrl+c without affecting the actual</div><div>operation on the server.</div><div><br></div><div>Publishing packages...</div><div>[==================================================] 100%</div>
<div>Packages: 5/5 items</div><div>... completed</div><div><br></div><div>Publishing distributions...</div><div>[==================================================] 100%</div><div>Distributions: 0/0 items</div><div>... completed</div>
<div><br></div><div>Generating metadata</div><div>[-]</div><div>... completed</div><div><br></div><div>Publishing repository over HTTPS</div><div>[-]</div><div>... completed</div><div><br></div><div>Publishing repository over HTTP</div>
<div>[-]</div><div>... completed</div></div><div><br></div><div><br></div><div>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 </div><div><br></div><div>
so let's check if it was orphaned now</div><div><br></div><div><div> $ pulp-admin orphan list --details</div><div>+----------------------------------------------------------------------+</div><div> Summary</div>
<div>+----------------------------------------------------------------------+</div><div><br></div><div>Total: 0</div></div><div><br></div><div>So, still not able to remove the RPM ! </div><div><br></div><div>What am I doing wrong ? What do you need ? Pulp logs ?? </div>
<span><span color="#888888" style="color:#888888">
<div><br></div><div>Alex</div><div><br></div><div><br></div></span></span></div>
</div>
<br></div></div>_______________________________________________<br>
Pulp-list mailing list<br>
<a href="mailto:Pulp-list@redhat.com" target="_blank">Pulp-list@redhat.com</a><br>
<a href="https://www.redhat.com/mailman/listinfo/pulp-list" target="_blank">https://www.redhat.com/mailman/listinfo/pulp-list</a><br></blockquote></div><br></div>
</blockquote></div><br><br clear="all"><div><br></div></div></div><span><span color="#888888" style="color:#888888">-- <br><div dir="ltr"><div></div>| RHCE | Sen Sys Engineer / Platform Architect | <a href="http://www.vcore.co" target="_blank">www.vcore.co</a> | <a href="http://www.vsearchcloud.com" target="_blank">www.vsearchcloud.com</a> | <br>
</div>
</span></span></div>
</blockquote></div><br></div>
<br></div></div>_______________________________________________<br>Users mailing list<br><a href="mailto:Users@ovirt.org" target="_blank">Users@ovirt.org</a><br><a href="http://lists.ovirt.org/mailman/listinfo/users" target="_blank">http://lists.ovirt.org/mailman/listinfo/users</a><br>
</blockquote><div><br></div></div></div></blockquote></div><br></div>