Actions
Bug #4964
closedListing products is broken when content view publish in progress
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
Actions