Project

General

Profile

Actions

Bug #23546

closed

Advanced procedure by-tag backup returns ArgumentError

Added by Nikhil Kathole about 6 years ago. Updated 3 months ago.

Status:
Rejected
Priority:
Normal
Assignee:
-
Category:
-
Target version:
-
Difficulty:
Triaged:
Fixed in Releases:
Found in Releases:

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 #1

Updated by Eric Helms 3 months ago

  • Status changed from New to Rejected
Actions

Also available in: Atom PDF