Project

General

Profile

Actions

Bug #4964

closed

Listing products is broken when content view publish in progress

Added by Ivan Necas almost 10 years ago. Updated over 5 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
API
Target version:
Difficulty:
easy
Triaged:
Yes
Fixed in Releases:
Found in Releases:

Description

1. promote content view
2. list the products in the mean time
3. the products listing fails on 404 from Pulp, because the repo was not yet created in Pulp

RestClient::ResourceNotFound: 404 Resource Not Found
Body: {"http_request_method": "GET", "exception": null, "error_message": "Missing resource(s): resource_id=ACME_Corporation-Library-rhel-Red_Hat_Enterprise_Linux_Server-Red_Hat_Enterprise_Linux_6_Server_RPMs_x86_64_6Server", "_href": "/pulp/api/v2/repositories/ACME_Corporation-Library-rhel-Red_Hat_Enterprise_Linux_Server-Red_Hat_Enterprise_Linux_6_Server_RPMs_x86_64_6Server/history/sync/", "http_status": 404, "traceback": null, "resources": {"resource_id": "ACME_Corporation-Library-rhel-Red_Hat_Enterprise_Linux_Server-Red_Hat_Enterprise_Linux_6_Server_RPMs_x86_64_6Server"}}
/opt/rh/ruby193/root/usr/share/gems/gems/rest-client-1.6.1/lib/restclient/abstract_response.rb:48:in `return!'

With respect to #4963, it would be nice to eliminate the number of calls needed for listing the products (and ideally not calling to pulp unless unnecessary), which should fix also this issue


Related issues 1 (0 open1 closed)

Related to Katello - Bug #4963: List products takes long timeClosedEric Helms03/31/2014Actions
Actions #1

Updated by Justin Sherrill almost 10 years ago

  • translation missing: en.field_release set to 13
Actions #2

Updated by Eric Helms almost 10 years ago

  • Related to Bug #4963: List products takes long time added
Actions #3

Updated by Eric Helms almost 10 years ago

  • Category set to API
  • Target version set to 45
  • Triaged changed from No to Yes
Actions #4

Updated by Eric Helms almost 10 years ago

  • Status changed from New to Assigned
  • Assignee set to Eric Helms
  • Difficulty set to easy
Actions #5

Updated by Eric Helms almost 10 years ago

  • Bugzilla link set to https://bugzilla.redhat.com/show_bug.cgi?id=1108399
Actions #6

Updated by Eric Helms almost 10 years ago

  • Status changed from Assigned to Closed
  • % Done changed from 0 to 100

Applied in changeset katello|commit:d4d8ad8f80c053ce8dd969549b63e8ae4af2606a.

Actions

Also available in: Atom PDF