Description of problem:
Satellite users can use filters to customize content that only particular versions are made available to hosts. While for Puppet modules we only allow to have one particular version inside a CV we can use filters for RPM repositories to limit the availability of particular versions of the same RPM. For containers there are currently no filters at all. While publishing a content view all image layers and versions which are inside a repository at this point of time become part of this content view.
Version-Release number of selected component (if applicable):
Steps to Reproduce:
Currently while adding repositories containing container images you can not add filter rules based on image IDs, tags or errata.
While adding repositories containing container images you should be able to add filter rules based on image IDs, tags or errata.
Connecting redmine issue http://projects.theforeman.org/issues/17293 from this bug
I don't have ssh access to the machine I attempted to verify this on so I cannot provide a trace but I do get an error when attempting to verify on 6.3.0.
If I try to create a filter there is a 500 returned from the autocomplete call. The request looks like this:
"displayMessage": "ERROR: missing FROM-clause entry for table \"katello_docker_tags\"\nLINE 1: ...atello_repositories\".\"id\" IN (4, 5, 6, 7)))) AND (katello_do...\n ^\n",
"errors": ["ERROR: missing FROM-clause entry for table \"katello_docker_tags\"\nLINE 1: ...atello_repositories\".\"id\" IN (4, 5, 6, 7)))) AND (katello_do...\n ^\n"]
I am able to create the filter but it doesn't seem to actually filter anything. I am not sure if this could be due to the name being incorrect since I cannot autocomplete it.
I'm going to reopen this RFE and am requesting additional information from Tom.
Upstream bug assigned to firstname.lastname@example.org
This should go back to ON_QA with the "comment 3" bz fixed in https://bugzilla.redhat.com/show_bug.cgi?id=1506865 (separate issue and unrelated to this original bz and fix)
Moving back to ON_QA since other BZ has been VERIFIED
Verified on Sat 6.3 snap 30, docker tag filters can now be applied to content views.
Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA.
> > For information on the advisory, and where to find the updated files, follow the link below.
> > If the solution does not work for you, open a new bug report.
> > https://access.redhat.com/errata/RHSA-2018:0336