Command "rhel-osp-installer" returns "invalid byte sequence in US-ASCII (ArgumentError)"

Solution Verified - Updated -

Issue

  • Command rhel-osp-installer returns "invalid byte sequence in US-ASCII (ArgumentError)"
  • Running rhel-osp-installer and the script finishes with the following error:
[root@openstack ]# rhel-osp-installer
/usr/share/gems/gems/highline-1.6.21/lib/highline.rb:724:in `gsub': invalid byte sequence in US-ASCII (ArgumentError)
    from /usr/share/gems/gems/highline-1.6.21/lib/highline.rb:724:in `format_statement'
    from /usr/share/gems/gems/highline-1.6.21/lib/highline.rb:617:in `say'
    from /usr/share/foreman-installer/hooks/lib/provisioning_wizard.rb:115:in `print_pair'
    from /usr/share/foreman-installer/hooks/lib/base_wizard.rb:81:in `block in print_configuration'
    from /usr/share/foreman-installer/hooks/lib/base_wizard.rb:78:in `each'
    from /usr/share/foreman-installer/hooks/lib/base_wizard.rb:78:in `print_configuration'
    from /usr/share/foreman-installer/hooks/lib/base_wizard.rb:37:in `start'
    from /usr/share/foreman-installer/hooks/lib/provisioning_wizard.rb:45:in `start'
    from /usr/share/foreman-installer/hooks/pre_validations/10-gather_and_set_staypuft_values.rb:6:in `block (4 levels) in load'
    from /usr/share/gems/gems/kafo-0.6.4/lib/kafo/hooking.rb:32:in `instance_eval'
    from /usr/share/gems/gems/kafo-0.6.4/lib/kafo/hooking.rb:32:in `block (4 levels) in load'
    from /usr/share/gems/gems/kafo-0.6.4/lib/kafo/hook_context.rb:13:in `instance_exec'
    from /usr/share/gems/gems/kafo-0.6.4/lib/kafo/hook_context.rb:13:in `execute'
    from /usr/share/gems/gems/kafo-0.6.4/lib/kafo/hooking.rb:48:in `block in execute'
    from /usr/share/gems/gems/kafo-0.6.4/lib/kafo/hooking.rb:47:in `each_pair'
    from /usr/share/gems/gems/kafo-0.6.4/lib/kafo/hooking.rb:47:in `execute'
    from /usr/share/gems/gems/kafo-0.6.4/lib/kafo/kafo_configure.rb:92:in `execute'
    from /usr/share/gems/gems/clamp-0.6.2/lib/clamp/command.rb:67:in `run'
    from /usr/share/gems/gems/clamp-0.6.2/lib/clamp/command.rb:125:in `run'
    from /usr/share/gems/gems/kafo-0.6.4/lib/kafo/kafo_configure.rb:116:in `run'
    from /usr/sbin/rhel-osp-installer:55:in `<main>'

Environment

  • Red Hat Enterprise OpenStack Platform
  • Ruby

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