Actions
Bug #23546
closedAdvanced procedure by-tag backup returns ArgumentError
Status:
Rejected
Priority:
Normal
Assignee:
-
Category:
-
Target version:
-
Description
Running ./bin/foreman-maintain advanced procedure by-tag backup --backup-dir /tmp/ gives ArgumentError as follows
# ./bin/foreman-maintain advanced procedure by-tag backup --backup-dir /tmp/ /root/foreman_maintain/lib/foreman_maintain/param.rb:36:in `process': Param mount_dir is required but no value given (ArgumentError) from /root/foreman_maintain/lib/foreman_maintain/executable.rb:35:in `block in setup_params' from /root/foreman_maintain/lib/foreman_maintain/executable.rb:34:in `each_value' from /root/foreman_maintain/lib/foreman_maintain/executable.rb:34:in `setup_params' from /root/foreman_maintain/lib/foreman_maintain/executable.rb:14:in `initialize' from /root/foreman_maintain/lib/foreman_maintain/cli/advanced/procedure/abstract_by_tag_command.rb:41:in `new' from /root/foreman_maintain/lib/foreman_maintain/cli/advanced/procedure/abstract_by_tag_command.rb:41:in `block in scenario' from /root/foreman_maintain/lib/foreman_maintain/cli/advanced/procedure/abstract_by_tag_command.rb:40:in `each' from /root/foreman_maintain/lib/foreman_maintain/cli/advanced/procedure/abstract_by_tag_command.rb:40:in `scenario' from /root/foreman_maintain/lib/foreman_maintain/cli/advanced/procedure/abstract_by_tag_command.rb:28:in `execute' from /usr/share/gems/gems/clamp-1.1.2/lib/clamp/command.rb:63:in `run' from /usr/share/gems/gems/clamp-1.1.2/lib/clamp/subcommand/execution.rb:11:in `execute' from /usr/share/gems/gems/clamp-1.1.2/lib/clamp/command.rb:63:in `run' from /usr/share/gems/gems/clamp-1.1.2/lib/clamp/subcommand/execution.rb:11:in `execute' from /usr/share/gems/gems/clamp-1.1.2/lib/clamp/command.rb:63:in `run' from /usr/share/gems/gems/clamp-1.1.2/lib/clamp/subcommand/execution.rb:11:in `execute' from /usr/share/gems/gems/clamp-1.1.2/lib/clamp/command.rb:63:in `run' from /usr/share/gems/gems/clamp-1.1.2/lib/clamp/subcommand/execution.rb:11:in `execute' from /usr/share/gems/gems/clamp-1.1.2/lib/clamp/command.rb:63:in `run' from /root/foreman_maintain/lib/foreman_maintain/cli.rb:25:in `run' from /usr/share/gems/gems/clamp-1.1.2/lib/clamp/command.rb:132:in `run' from ./bin/foreman-maintain:12:in `<main>'
Actions