Project

General

Profile

Actions

Bug #4964

closed

Listing products is broken when content view publish in progress

Added by Ivan Necas almost 11 years ago. Updated over 6 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

Also available in: Atom PDF