Hi,
on a freshly installed Pulp 2.8.0 install (CentOS 7), pulp-admin
behaves different to 2.7.1 when searching RPM repos.
There is a single RPM repo with id "sum42" on Pulp. Searching for it
using the example syntax given in the command's help text yields
nothing:
$ pulp-admin rpm repo search --fields id --str-eq="id=sum42"
+----------------------------------------------------------------------+
Repositories
+----------------------------------------------------------------------+
However, using "repo_id" as attribute name works:
$ pulp-admin rpm repo search --fields id --str-eq="repo_id=sum42"
+----------------------------------------------------------------------+
Repositories
+----------------------------------------------------------------------+
Id: sum42
Interestingly, a raw JSON Mongo filter seems to accept both "id" and
"repo_id":
$ pulp-admin rpm repo search --fields id --filters '{"id": "sum42"}'
+----------------------------------------------------------------------+
Repositories
+----------------------------------------------------------------------+
Id: sum42
Given this inconsistency, this looks like a bug(?)
- Simon
_______________________________________________
Pulp-list mailing list
[email protected]
https://www.redhat.com/mailman/listinfo/pulp-list