Bug 1773298 - GET /katello/api/srpms/compare always fails with error: Missing template katello/api/v2/common/compare
Summary: GET /katello/api/srpms/compare always fails with error: Missing template kate...
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Satellite
Classification: Red Hat
Component: Repositories
Version: 6.7.0
Hardware: Unspecified
OS: Unspecified
unspecified
medium
Target Milestone: 6.8.0
Assignee: satellite6-bugs
QA Contact: Stephen Wadeley
URL:
Whiteboard:
Depends On:
Blocks: 1378442
TreeView+ depends on / blocked
 
Reported: 2019-11-17 12:08 UTC by vijsingh
Modified: 2020-10-27 12:59 UTC (History)
2 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2020-10-27 12:59:33 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Foreman Issue Tracker 27546 0 Normal Closed GET /katello/api/srpms/compare always fails with error: Missing template katello/api/v2/common/compare 2020-12-01 11:49:54 UTC
Red Hat Product Errata RHSA-2020:4366 0 None None None 2020-10-27 12:59:49 UTC

Description vijsingh 2019-11-17 12:08:25 UTC
Description of problem:

GET /katello/api/srpms/compare always fails with error: Missing template katello/api/v2/common/compare


Version-Release number of selected component (if applicable):

@Satellite 6.7.0 snap 1.0

How reproducible:

Always

Steps to Reproduce:

1. Create two yum repos (repo1, repo2).
2. Upload SRPM into that.
3. Create two C.V.(by adding one in each) and publish it.
4. Now try to compare with below API:

$ curl --header "Accept:application/json,version=2" --header "Content-Type:application/json" --request GET --insecure --user admin:pass https://srpm-centos7-katello-devel.vijsingh.example.com/katello/api/srpms/compare --data "{\"content_view_version_ids\":[1,6]}" 
{"displayMessage":"Missing template katello/api/v2/common/compare with {:locale=\u003e[:en], :formats=\u003e[:json], :variants=\u003e[], :handlers=\u003e[:raw, :erb, :html, :builder, :ruby, :rabl]}. Searched in:\n  * \"/home/vagrant/foreman/app/views\"\n  * \"/home/vagrant/foreman/.vendor/ruby/2.5.0/gems/graphiql-rails-1.7.0/app/views\"\n  * \"/home/vagrant/katello/app/views\"\n  * \"/home/vagrant/katello/engines/bastion/app/views\"\n  * \"/home/vagrant/foreman/.vendor/ruby/2.5.0/gems/foreman-tasks-0.16.0/app/views\"\n  * \"/home/vagrant/foreman/.vendor/ruby/2.5.0/gems/apipie-rails-0.5.16/app/views\"\n","errors":["Missing template katello/api/v2/common/compare with {:locale=\u003e[:en], :formats=\u003e[:json], :variants=\u003e[], :handlers=\u003e[:raw, :erb, :html, :builder, :ruby, :rabl]}. Searched in:\n  * \"/home/vagrant/foreman/app/views\"\n  * \"/home/vagrant/foreman/.vendor/ruby/2.5.0/gems/graphiql-rails-1.7.0/app/views\"\n  * \"/home/vagrant/katello/app/views\"\n  * \"/home/vagrant/katello/engines/bastion/app/views\"\n  * \"/home/vagrant/foreman/.vendor/ruby/2.5.0/gems/foreman-tasks-0.16.0/app/views\"\n  * \"/home/vagrant/foreman/.vendor/ruby/2.5.0/gems/apipie-rails-0.5.16/app/views\"\

Comment 3 Bryan Kearney 2019-11-17 13:01:07 UTC
Upstream bug assigned to chrobert

Comment 6 Chris Roberts 2019-11-26 14:48:18 UTC
After talking to Vijay, this looks like it is being affected in multiple areas and we are going to push to 6.8 to allow proper time for fixing this.

Comment 8 James Jeffers 2020-06-15 11:49:43 UTC
Connecting redmine issue https://projects.theforeman.org/issues/27546 from this bug

Comment 9 Bryan Kearney 2020-06-15 20:01:25 UTC
Moving this bug to POST for triage into Satellite 6 since the upstream issue https://projects.theforeman.org/issues/27546 has been resolved.

Comment 14 errata-xmlrpc 2020-10-27 12:59:33 UTC
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 (Important: Satellite 6.8 release), 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-2020:4366


Note You need to log in before you can comment on or make changes to this bug.