Importing clients from Red Hat Satellite 5 to 6 using hammer fails with error "Caught RestClient::UnprocessableEntity:422 Unprocessable Entity while processing CSV line"

Solution Verified - Updated -

Issue

  • Importing clients from Red Hat Satellite 5 to 6 using hammer fails with error Caught RestClient::UnprocessableEntity:422 Unprocessable Entity while processing CSV line
Caught RestClient::UnprocessableEntity:422 Unprocessable Entity while processing CSV line:
{"server_id"=>"1000010022", "profile_name"=>"test_server01.example.com", "hostname"=>"test_server01.example.com", "description"=>"Initial Registration Parameters:\nOS: redhat-release-server\nRelease: 7Server\nCPU Arch: x86_64", "organization_id"=>"1", "base_channel_id"=>nil, "base_channel_label"=>"rhel-x86_64-server-7", "child_channel_id"=>"None", "system_group_id"=>nil, "release"=>"7Server", "architecture"=>"x86_64", "virtual_host"=>nil, "virtual_guest"=>nil}
Creation of host failed.

Environment

  • Red Hat Satellite 6
  • Migrating clients from Red Hat Satellite 5 to 6 using hammer-cli

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.

Current Customers and Partners

Log in for full access

Log In
Close

Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.