Problem:
We are not able to download the host based full image to provision the server.
Below are foreman version installed in my foreman server.
i have tried using API to download but i got below error.
ERF42-1542 [Foreman::Exception]: Unable to download boot file with HTTP return code 400
But in hammer command im not getting subcommand options --host in CLI. Please let me know if i have missed to enable any plugin or any configuration.
Package List
tfm-rubygem-hammer_cli_foreman_tasks-0.0.13-1.fm1_22.el7.noarch
tfm-rubygem-hammer_cli_foreman_docker-0.0.4-4.el7.noarch
tfm-rubygem-hammer_cli_foreman_bootdisk-0.3.0-1.el7.noarch
tfm-rubygem-hammer_cli_foreman-0.19.6-1.el7.noarch
tfm-rubygem-foreman-tasks-core-0.3.3-1.fm1_24.el7.noarch
tfm-rubygem-foreman-tasks-0.17.5-1.fm1_24.el7.noarch
tfm-rubygem-foreman_docker-5.0.0-2.fm1_22.el7.noarch
tfm-rubygem-foreman_bootdisk-16.0.0-1.fm1_24.el7.noarch
rubygem-foreman_maintain-0.5.1-1.el7.noarch
foreman-selinux-1.24.2-1.el7.noarch
foreman-release-1.24.2-1.el7.noarch
foreman-proxy-1.24.2-1.el7.noarch
foreman-postgresql-1.24.2-1.el7.noarch
foreman-installer-katello-1.24.2-1.el7.noarch
foreman-installer-1.24.2-1.el7.noarch
foreman-debug-1.24.2-1.el7.noarch
foreman-cli-1.24.2-1.el7.noarch
foreman-1.24.2-1.el7.noarch
foreman-proxy-1.24.2-1.el7.noarch
Expected outcome:
Subcommand --host should be enabled to download the host image.
Please let me know if i have follow any type instruction.
Foreman and Proxy versions:
1.24.2
foreman-1.24.2-1.el7.noarch
foreman-proxy-1.24.2-1.el7.noarch
Foreman and Proxy plugin versions:
1.24.2
foreman-1.24.2-1.el7.noarch
foreman-proxy-1.24.2-1.el7.noarch
Distribution and version:
CentOS 7
Other relevant data:
OUTPUT
Usage:
hammer bootdisk host [OPTIONS]
Options:
âfile PATH File or device to write image to
âforce Force writing to existing destination (device etc.)
âsudo Use sudo to write to device
-h, --help Print help