Hide Forgot
Description of problem: http://projects.theforeman.org/rb/release/70 Steps to Reproduce: Add Katello 2.4 to ovirt. Navigate to errata page. Ovirt creates the following request: https://katello.example.org/katello/api/v2/systems?search=facts.network.hostname:node1.example.org&format=json Katello 2.4 returns: {"total":4,"subtotal":0,"page":1,"per_page":20,"search":"facts.network.hostname:node1.example.org","sort":{"by":null,"order":null},"results":[]} No errata is returned. The query should be more like: https://katello.example.org/katello/api/v2/systems?search=facts.network::hostname=node1.example.org&format=json which returns the actual result: {"total":4,"subtotal":1,"page":1,"per_page":20,"search":"facts.network::hostname=node1.example.org","sort":{"by":null,"order":null},"results":[{"katello_id":14,"uuid":"355141b3-dcc0-48fb-b2f8-db67b7e686dd","name":"node1.example.org","description":"Initial Registration Params","location":"None","content_view":{"id":2,"name":"Default Organization View","label":"1637bf1e-9f55-420c-a7aa-0ab503e08680","description":null,"organization_id":3,"default":true,"created_at":"2016-03-18T16:07:24Z","updated_at":"2016-03-18T16:07:24Z","composite":false,"next_version":1,"organization":"XXX","environments":["Library"],"versions":["1.0"],"versions_details":[{"version":"1.0","published":"2016-03-18 16:07:24 UTC","environments":["Library"]}]},"content_view_id":2,"distribution":"CentOS Linux 7","katello_agent_installed":true,"registered_by":null,"entitlementStatus":"valid","autoheal":true,"release":null,"checkin_time":"2016-03-30T14:24:09+01:00","created":"2016-03-30T13:24:04.864+0000","installedProducts":[],"environment":{"library":true,"id":2,"name":"Library","label":"Library","description":null,"organization":{"name":"XXX","label":"XXX","id":3},"created_at":"2016-03-18T16:07:24Z","updated_at":"2016-03-18T16:07:24Z","prior":null,"successor":null,"counts":{"content_hosts":4,"content_views":0,"packages":19839,"puppet_modules":0,"errata":{"security":241,"bugfix":1110,"enhancement":715,"total":3330},"yum_repositories":3,"docker_repositories":0,"products":2},"permissions":{"view_lifecycle_environments":true,"edit_lifecycle_environments":true,"destroy_lifecycle_environments":false,"promote_or_remove_content_views_to_environments":true}},"activation_keys":[{"id":2,"name":"node1.example.org","description":null}],"id":"355141b3-dcc0-48fb-b2f8-db67b7e686dd","errata_counts":{"security":2,"bugfix":1,"enhancement":4,"total":7}}]}
Closing as for ovirt-engine-4.0 supports Katello 2.1. It appears that at some version after 2.1 the API was changed according to the mentioned on Comment #1. For ovirt-engine 4.1 we will probably support Katello 3.0.