Project

Profile

Help

Issue #2069

closed

Improve documentation for search queries

Added by lhorace almost 8 years ago. Updated about 5 years ago.

Status:
CLOSED - WONTFIX
Priority:
Normal
Assignee:
-
Category:
-
Sprint/Milestone:
-
Start date:
Due date:
Estimated time:
Severity:
2. Medium
Version:
2.8.4
Platform Release:
OS:
Triaged:
Yes
Groomed:
No
Sprint Candidate:
No
Tags:
Documentation, Pulp 2
Sprint:
Quarter:

Description

I've asked this question on the ML and IRC channel but have no luck getting help on this issue. Mean time, I think it's beneficial that I start investigating for another solution. Mean time, this might be helpful indexed by Google and be helpful for someone else.

I am having trouble finding any documentation on how to properly use the
various command arguments, ie --str-eq, --match, etc. I am trying to run
a query for a package, that after several syncs, doesn't seem to appear.

For example:

pulp-admin rpm repo content rpm --repo-id=centos7-x86_64-updates
--match="id=device-mapper".

Here is a snippet of my mongodb logs:

2016-07-07T16:01:55.361+0000 [conn663] warning: log line attempted
(78k) over max size (10k), printing beginning and end ... query
pulp_database.units_rpm query: { $query: { _id: { $in:
[ "eb82791c-fb37-4ae3-827 7-d472fec0a466",
"6a6b3390-68df-4be5-8883-dd6ea17c2144",
"54a27a18-3644-4992-8f77-16571337db5b",
"a0897f8f-adca-42cc-a4c1-5a7125196a72",
"992c7246-93fa-47fc-9eaa-52d76e4ccde4",
"00611cab-dd43-4359-8aae-86ef58299 b6f",
"f452eca5-870d-48b8-91e5-787b718b5a11",
"f65a20d0-5ed5-473e-8786-fd4405838666",
"ea23de3b-f834-4da1-9837-50ec3e4969bf",
"2a757f63-eb67-4164-b304-c24f73ad4ca0", <snip>.

Am I wrong to believe that packages are not stored with their names? If
that's the case, how would one translate
6a6b3390-68df-4be5-8883-dd6ea17c2144 to a package name? Is this a bug
that needs to be reported?

Also available in: Atom PDF