Red Hat Inventory upload not working on Red Hat Satellite 6.7

Solution Verified - Updated -

Issue

  • Schedule inventory plugin sync failed due to 'organization_id' typecasting
  • Red Hat Inventory upload not working on Red Hat Satellite 6 and fails with below error

    [E|app|] Error performing ForemanInventoryUpload::Async::GenerateReportJob (Job ID: d5b032b1-ccfd-44a2-8444-2c4a5f914518) from Dynflow(default) in 0.62ms:TypeError (no implicit conversion of Integer into String):
    /opt/rh/rh-ruby25/root/usr/share/ruby/open3.rb:199:in `spawn'
    /opt/rh/rh-ruby25/root/usr/share/ruby/open3.rb:199:in `popen_run'
    /opt/rh/rh-ruby25/root/usr/share/ruby/open3.rb:190:in `popen2e'
    /opt/theforeman/tfm/root/usr/share/gems/gems/foreman_rh_cloud-1.0.4.1/lib/foreman_inventory_upload/async/shell_process.rb:10:in `perform'
    /opt/theforeman/tfm/root/usr/share/gems/gems/foreman_rh_cloud-1.0.4.1/lib/foreman_inventory_upload/async/generate_report_job.rb:12:in `perform'
    /opt/theforeman/tfm-ror52/root/usr/share/gems/gems/activejob-5.2.1/lib/active_job/execution.rb:39:in `block in perform_now'
    /opt/theforeman/tfm-ror52/root/usr/share/gems/gems/activesupport-5.2.1/lib/active_support/callbacks.rb:109:in `block in run_callbacks'
    

Environment

  • Red Hat Satellite 6.7

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