Hello,
I'm trying to use machinery to gather system info for a possible SLES11sp4 to 
SLES12sp1 migration.  However, when running the following command machinery 
always errors out ---

machinery inspect  saplqs3ci01 --name saplqs3ci01 --extract-files 
--skip-files=@/root/skipfiles.txt<mailto:--skip-files=@/root/skipfiles.txt>

2016/10/17 12:39:27 open /usr/sap/trans/: permission denied
Machinery experienced an unexpected error. Please file a bug report at: 
https://github.com/SUSE/machinery/issues/new
Execution of "ssh root@saplqs3ci01 -o LogLevel\=ERROR LANGUAGE\= 
LC_ALL\=en_US.utf8 /root/machinery-helper --extract-metadata" failed with 
status 1 (error output streamed away).

Backtrace:
/usr/lib64/ruby/gems/2.1.0/gems/machinery-tool-1.18.0/bundle/ruby/2.1.0/gems/cheetah-0.4.0/lib/cheetah.rb:555:in
 `check_errors'
/usr/lib64/ruby/gems/2.1.0/gems/machinery-tool-1.18.0/bundle/ruby/2.1.0/gems/cheetah-0.4.0/lib/cheetah.rb:364:in
 `run'
/usr/lib64/ruby/gems/2.1.0/gems/machinery-tool-1.18.0/lib/logged_cheetah.rb:23:in
 `run'
/usr/lib64/ruby/gems/2.1.0/gems/machinery-tool-1.18.0/lib/remote_system.rb:92:in
 `run_command'
/usr/lib64/ruby/gems/2.1.0/gems/machinery-tool-1.18.0/lib/machinery_helper.rb:60:in
 `run_helper'
/usr/lib64/ruby/gems/2.1.0/gems/machinery-tool-1.18.0/plugins/unmanaged_files/unmanaged_files_inspector.rb:85:in
 `run_helper_inspection'
/usr/lib64/ruby/gems/2.1.0/gems/machinery-tool-1.18.0/plugins/unmanaged_files/unmanaged_files_inspector.rb:59:in
 `inspect'
/usr/lib64/ruby/gems/2.1.0/gems/machinery-tool-1.18.0/lib/inspect_task.rb:87:in 
`block in build_description'
/usr/lib64/ruby/gems/2.1.0/gems/machinery-tool-1.18.0/lib/inspect_task.rb:79:in 
`each'
/usr/lib64/ruby/gems/2.1.0/gems/machinery-tool-1.18.0/lib/inspect_task.rb:79:in 
`build_description'
/usr/lib64/ruby/gems/2.1.0/gems/machinery-tool-1.18.0/lib/inspect_task.rb:21:in 
`inspect_system'
/usr/lib64/ruby/gems/2.1.0/gems/machinery-tool-1.18.0/lib/cli.rb:610:in `block 
(2 levels) in <class:Cli>'
/usr/lib64/ruby/gems/2.1.0/gems/machinery-tool-1.18.0/bundle/ruby/2.1.0/gems/gli-2.11.0/lib/gli/command_support.rb:126:in
 `call'
/usr/lib64/ruby/gems/2.1.0/gems/machinery-tool-1.18.0/bundle/ruby/2.1.0/gems/gli-2.11.0/lib/gli/command_support.rb:126:in
 `execute'
/usr/lib64/ruby/gems/2.1.0/gems/machinery-tool-1.18.0/bundle/ruby/2.1.0/gems/gli-2.11.0/lib/gli/app_support.rb:284:in
 `block in call_command'
/usr/lib64/ruby/gems/2.1.0/gems/machinery-tool-1.18.0/bundle/ruby/2.1.0/gems/gli-2.11.0/lib/gli/app_support.rb:297:in
 `call'
/usr/lib64/ruby/gems/2.1.0/gems/machinery-tool-1.18.0/bundle/ruby/2.1.0/gems/gli-2.11.0/lib/gli/app_support.rb:297:in
 `call_command'
/usr/lib64/ruby/gems/2.1.0/gems/machinery-tool-1.18.0/bundle/ruby/2.1.0/gems/gli-2.11.0/lib/gli/app_support.rb:79:in
 `run'
/usr/lib64/ruby/gems/2.1.0/gems/machinery-tool-1.18.0/bin/machinery:33:in `<top 
(required)>'
/usr/bin/machinery:24:in `load'
/usr/bin/machinery:24:in `<main>'

cat skipfiles.txt
/usr/sap/trans

I've tried using the "skip-files" option several ways, none with any success.

I'm on a SLES12sp1 server w/ machinery-1.18.0-48.1.x86_64  ... and there 
doesn't seem to be any available updates.


Patrick H Swartz
Lead Technical Analyst/Linux

----------------------------------------------------------------------
This email and any files transmitted with it are confidential and intended 
solely for the use of the addressee. If you are not the intended addressee, 
then you have received this email in error and any use, dissemination, 
forwarding, printing, or copying of this email is strictly prohibited. Please 
notify us immediately of your unintended receipt by reply and then delete this 
email and your reply. Tyson Foods, Inc. and its subsidiaries and affiliates 
will not be held liable to any person resulting from the unintended or 
unauthorized use of any information contained in this email or as a result of 
any additions or deletions of information originally contained in this email.
_______________________________________________
Machinery mailing list
Machinery@lists.suse.com
http://lists.suse.com/mailman/listinfo/machinery

Reply via email to