Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.
Red Hat Satellite engineering is moving the tracking of its product development work on Satellite to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "Satellite project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs will be migrated starting at the end of May. If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "Satellite project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/SAT-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.

Bug 2183459

Summary: Incremental CV update fails with error "Version X does not exist for repository Y"
Product: Red Hat Satellite Reporter: Michael Schwabe <mschwabe>
Component: Content ViewsAssignee: satellite6-bugs <satellite6-bugs>
Status: CLOSED NOTABUG QA Contact: Satellite QE Team <sat-qe-bz-list>
Severity: medium Docs Contact:
Priority: unspecified    
Version: 6.11.5CC: iballou, pmoravec, sajha, sbible
Target Milestone: 6.14.0Keywords: Triaged
Target Release: Unused   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2023-04-20 13:22:52 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

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