When uploading content on Satellite 6 repository using APIs it fails with error 'No route matches'

Solution Unverified - Updated -

Issue

  • How to upload content to custom repositories created on Red Hat Satellite 6 using APIs ?
  • Uploading content on Satellite 6 with API fails with message as below,
ActionController::RoutingError (No route matches [PUT] "/katello/api/v2/repositories/3/content_uploads/befb28fb-cbee-4f8d-b4c3-618137c8ab2e/upload_bits"):
  /usr/share/gems/gems/passenger-4.0.18/lib/phusion_passenger/rack/thread_handler_extension.rb:77:in `process_request'
  /usr/share/gems/gems/passenger-4.0.18/lib/phusion_passenger/request_handler/thread_handler.rb:140:in `accept_and_process_next_request'
  /usr/share/gems/gems/passenger-4.0.18/lib/phusion_passenger/request_handler/thread_handler.rb:108:in `main_loop'
  /usr/share/gems/gems/passenger-4.0.18/lib/phusion_passenger/request_handler.rb:441:in `block (3 levels) in start_threads'

Environment

  • Red Hat Satellite 6

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