Content View Publish or Remove tasks fails with Error "PulpRpmClient::ApiError Error message: the server returns an error HTTP status code: 400 Response headers" on Red Hat Satellite.

Solution Verified - Updated -

Issue

  • Publish or Incremental Publish or Remove action for a Content View fails with following error:

    Input:
    
    filter_ids:
    - 55
    solve_dependencies: false
    rpm_filenames: 
    remove_all: true
    source_repository_id: 984
    target_repository_id: 8159
    smart_proxy_id: 1
    remote_user: admin
    remote_cp_user: admin
    current_request_id: '05192271-a452-4845-833d-5bbef6661108'
    current_timezone: Europe/Prague
    current_organization_id: 1
    current_location_id: 
    current_user_id: 4
    Output:
    
    Error:
    
    PulpRpmClient::ApiError
    
    Error message: the server returns an error HTTP status code: 400 Response headers: {"Date"=>"Tue, 14 Dec 2021 10:56:16 GMT", "Server"=>"gunicorn", "Content-Type"=>"application/json", "Vary"=>"Accept,Cookie", "Allow"=>"POST, OPTIONS", "X-Frame-Options"=>"SAMEORIGIN", "Content-Length"=>"1049", "Correlation-ID"=>"05192271-a452-4845-833d-5bbef6661108", "Access-Control-Expose-Headers"=>"Correlation-ID", "Via"=>"1.1 satellite.example.com", "Connection"=>"close"} Response body: ["Could not find the following content units: ['/pulp/api/v3/content/rpm/advisories/8ab5fcfb-3b52-4651-86da-59dea3bde275/', '/pulp/api/v3/content/rpm/advisories/67455a3f-f739-49a4-a0c8-ff035ff51bb5/', '/pulp/api/v3/content/rpm/advisories/81c59401-6697-4c62-b335-35c1b625dd11/', '/pulp/api/v3/content/rpm/advisories/40642ec2-9fc6-4dae-ac28-97291a2e1530/', '/pulp/api/v3/content/rpm/advisories/c25b64ba-0210-4cac-b4a6-57bee96cba57/', '/pulp/api/v3/content/rpm/advisories/48037fa4-a4f1-4bf3-adcc-231cfc365c7a/', '/pulp/api/v3/content/rpm/advisories/56dae5a6-3826-45df-b644-74204f0c41a0/', '/pulp/api/v3/content/rpm/advisories/327f608d-5a97-4336-a726-dcb532be480f/', '/pulp/api/v3/content/rpm/advisories/d93a95c3-d98f-49ca-ac19-88cbf477a048/', '/pulp/api/v3/content/rpm/advisories/babda2f9-5bff-426b-9ef6-462fa763b47a/', '/pulp/api/v3/content/rpm/advisories/519083ed-cc59-4193-ac28-81e742501914/', '/pulp/api/v3/content/rpm/advisories/0b520468-ba34-4c45-bcaa-63d7b9208472/', '/pulp/api/v3/content/rpm/advisories/74221edc-878c-4064-9aa3-b1faebc5916e/']"]
    
    

Environment

  • Red Hat Satellite 6.10
  • Pulp 3

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content