SUSE / machinery

A systems management toolkit for Linux
GNU General Public License v3.0
158 stars 32 forks source link

Machinery experienced an unexpected error. Please file a bug report at: https://github.com/SUSE/machinery/issues/new #2244

Closed matwey closed 6 years ago

matwey commented 6 years ago
Inspecting unmanaged-files...
Machinery experienced an unexpected error. Please file a bug report at: https://github.com/SUSE/machinery/issues/new
Execution of "ssh matwey@192.168.10.8 -o LogLevel\=ERROR LANGUAGE\= LC_ALL\=en_US.utf8 /home/matwey/machinery-helper --version" failed with status 255 (no error output).

Backtrace:
/usr/lib64/ruby/gems/2.1.0/gems/machinery-tool-1.23.0/bundle/ruby/2.1.0/gems/cheetah-0.5.0/lib/cheetah.rb:641:in `check_errors'
/usr/lib64/ruby/gems/2.1.0/gems/machinery-tool-1.23.0/bundle/ruby/2.1.0/gems/cheetah-0.5.0/lib/cheetah.rb:404:in `run'
/usr/lib64/ruby/gems/2.1.0/gems/machinery-tool-1.23.0/lib/logged_cheetah.rb:23:in `run'
/usr/lib64/ruby/gems/2.1.0/gems/machinery-tool-1.23.0/lib/remote_system.rb:98:in `run_command'
/usr/lib64/ruby/gems/2.1.0/gems/machinery-tool-1.23.0/lib/machinery_helper.rb:77:in `has_compatible_version?'
/usr/lib64/ruby/gems/2.1.0/gems/machinery-tool-1.23.0/plugins/unmanaged_files/unmanaged_files_inspector.rb:77:in `run_helper_inspection'
/usr/lib64/ruby/gems/2.1.0/gems/machinery-tool-1.23.0/plugins/unmanaged_files/unmanaged_files_inspector.rb:60:in `inspect'
/usr/lib64/ruby/gems/2.1.0/gems/machinery-tool-1.23.0/lib/inspect_task.rb:87:in `block in build_description'
/usr/lib64/ruby/gems/2.1.0/gems/machinery-tool-1.23.0/lib/inspect_task.rb:79:in `each'
/usr/lib64/ruby/gems/2.1.0/gems/machinery-tool-1.23.0/lib/inspect_task.rb:79:in `build_description'
/usr/lib64/ruby/gems/2.1.0/gems/machinery-tool-1.23.0/lib/inspect_task.rb:21:in `inspect_system'
/usr/lib64/ruby/gems/2.1.0/gems/machinery-tool-1.23.0/lib/cli.rb:768:in `block (2 levels) in <class:Cli>'
/usr/lib64/ruby/gems/2.1.0/gems/machinery-tool-1.23.0/bundle/ruby/2.1.0/gems/gli-2.13.1/lib/gli/command_support.rb:126:in `call'
/usr/lib64/ruby/gems/2.1.0/gems/machinery-tool-1.23.0/bundle/ruby/2.1.0/gems/gli-2.13.1/lib/gli/command_support.rb:126:in `execute'
/usr/lib64/ruby/gems/2.1.0/gems/machinery-tool-1.23.0/bundle/ruby/2.1.0/gems/gli-2.13.1/lib/gli/app_support.rb:296:in `block in call_command'
/usr/lib64/ruby/gems/2.1.0/gems/machinery-tool-1.23.0/bundle/ruby/2.1.0/gems/gli-2.13.1/lib/gli/app_support.rb:309:in `call'
/usr/lib64/ruby/gems/2.1.0/gems/machinery-tool-1.23.0/bundle/ruby/2.1.0/gems/gli-2.13.1/lib/gli/app_support.rb:309:in `call_command'
/usr/lib64/ruby/gems/2.1.0/gems/machinery-tool-1.23.0/bundle/ruby/2.1.0/gems/gli-2.13.1/lib/gli/app_support.rb:83:in `run'
/usr/lib64/ruby/gems/2.1.0/gems/machinery-tool-1.23.0/bin/machinery:41:in `<top (required)>'
/usr/bin/machinery:24:in `load'
/usr/bin/machinery:24:in `<main>'
thardeck commented 6 years ago

Thx for the report. Could this host also be a 32 bit system? It seems that the helper could not be executed or was not copied over properly.

thardeck commented 6 years ago

According to https://stackoverflow.com/questions/14885748/ssh-script-returns-255-error this could happen if the connection was not possible at all because of login issues for example.

What happens if you run ssh matwey@192.168.10.8?

matwey commented 6 years ago

2017-11-20 13:04 GMT+03:00 Tim Hardeck notifications@github.com:

According to https://stackoverflow.com/questions/14885748/ssh-script- returns-255-error this could happen if the connection was not possible at all because of login issues for example.

What happens if you run ssh matwey@192.168.10.8?

I am getting remote shell as usual...

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/SUSE/machinery/issues/2244#issuecomment-345648318, or mute the thread https://github.com/notifications/unsubscribe-auth/AAJj00Zu37URKW7AaaIjVIZah1DmVMaZks5s4U69gaJpZM4Qj4Rv .

-- With best regards, Matwey V. Kornilov

matwey commented 6 years ago

Hi,

This host is 32-bit x86 based openSUSE 11.2.

> uname -a
Linux eagle 2.6.31.14-0.8-default #1 SMP 2011-04-06 18:09:24 +0200 i686 i686 i386 GNU/Linux
thardeck commented 6 years ago

I think this issue might be a duplicate of #2243 . We will see as soon as the other is fixed.

thardeck commented 6 years ago

Closing since it seems to be a duplicate of https://github.com/SUSE/machinery/issues/2243#issuecomment-345992239