Bug 2183459 - Incremental CV update fails with error "Version X does not exist for repository Y"
Summary: Incremental CV update fails with error "Version X does not exist for reposito...
Keywords:
Status: CLOSED NOTABUG
Alias: None
Product: Red Hat Satellite
Classification: Red Hat
Component: Content Views
Version: 6.11.5
Hardware: x86_64
OS: Linux
unspecified
medium
Target Milestone: 6.14.0
Assignee: satellite6-bugs
QA Contact: Satellite QE Team
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2023-03-31 08:40 UTC by Michael Schwabe
Modified: 2023-08-06 14:08 UTC (History)
3 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2023-04-20 13:22:52 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Issue Tracker SAT-16876 0 None None None 2023-05-11 09:31:59 UTC

Description Michael Schwabe 2023-03-31 08:40:35 UTC
Description of problem:
As per customer statement (I removed customer specific data from this statement):
we run satellite 6.11.5 and try to make an incremental update to one of our content views, but this fails.

command:
hammer content-view version incremental-update --content-view-version-id <id> --lifecycle-environments <environment> --package-ids '4id,id,id' --organization-id <id>

output:

Incremental Update incomplete.
Error: Error message: the server returns an error
HTTP status code: 400
Response headers: {"Date"=>"Tue, 21 Mar 2023 12:56:30 GMT", "Server"=>"example", "Content-Type"=>"application/json", "Vary"=>"Accept,Cookie", "Allow"=>"POST, OPTIONS", "X-Frame-Options"=>"DENY", "Content-Length"=>"108", "X-Content-Type-Options"=>"nosniff", "Referrer-Policy"=>"same-origin", "Correlation-ID"=>"a4eb23eb-fa4e-4916-92d7-db8243d19622", "Access-Control-Expose-Headers"=>"Correlation-ID", "Via"=>"1.1 host.example.com", "Connection"=>"close"}
Response body: ["Version 2 does not exist for repository 'Red_Hat_Satellite_Tools_6_10_for_RHEL_8_x86_64_RPMs-147672475'."]


Actual results:
Incremental content view update fails

Expected results:
New version should be published

Additional info:
1. will follow in a private comment
2. this may be a regression of https://bugzilla.redhat.com/show_bug.cgi?id=2041497


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