Red Hat Satellite 6.7 shows "no implicit conversion of Array into String (TypeError)" when provisioning or using remote execution

Solution Verified - Updated -

Issue

  • Remote execution jobs fail with below error after upgrade to Red Hat Satellite 6.7 version:

            no implicit conversion of Array into String (TypeError)
            /opt/theforeman/tfm/root/usr/share/gems/gems/foreman_remote_execution-2.0.10/app/models/concerns/foreman_remote_execution/host_extensions.rb:54:in `+'
            /opt/theforeman/tfm/root/usr/share/gems/gems/foreman_remote_execution-2.0.10/app/models/concerns/foreman_remote_execution/host_extensions.rb:54:in `host_params_hash'
            /usr/share/foreman/app/models/concerns/host_params.rb:54:in `host_params'
            /usr/share/foreman/app/models/concerns/host_params.rb:11:in `params'
            /opt/theforeman/tfm/root/usr/share/gems/gems/foreman_ansible-4.0.3.5/app/models/foreman_ansible/ansible_provider.rb:54:in `host_setting'
    
  • After upgrading to Red Hat Satellite 6.7, provisioning fails with:-

    Templates
    Failure parsing Kickstart default PXELinux VLAN: no implicit conversion of Array into String.
    Failure parsing Kickstart default PXEGrub: no implicit conversion of Array into String.
    

Environment

  • Red Hat Satellite 6.7

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