Bug #26099
closedUnable to build VM with bootdisk option using hammer-cli-foreman
Description
Description of problem:
Trying to build a vm with hammer using bootdisk build method returns the following:
Error: Option '--provision-method': Value must be one of 'build', 'image'..
Version-Release number of selected component (if applicable):
Satellite 6.4.2
Foreman-1.18.0.40
tfm-rubygem-hammer_cli-0.13.1.1-1.el7sat.noarch
tfm-rubygem-hammer_cli_katello-0.13.4.3-1.el7sat.noarch
tfm-rubygem-hammer_cli_foreman_bootdisk-0.1.3.3-3.el7sat.noarch
tfm-rubygem-hammer_cli_foreman-0.13.2.3-1.el7sat.noarch
How reproducible:
Steps to Reproduce:
1. Install Satellite 6.4.z
2. Setup hostgroup/compute resource/profile
3. Try to build vm with bootdisk
Actual results:
Error: Option '--provision-method': Value must be one of 'build', 'image'..
Expected results:
VM to build correctly
Updated by Chris Roberts almost 6 years ago
- Pull request https://github.com/theforeman/hammer-cli-foreman/pull/410 added
Updated by Chris Roberts almost 6 years ago
- Assignee deleted (
Chris Roberts) - Pull request deleted (
https://github.com/theforeman/hammer-cli-foreman/pull/410)
Updated by Lukas Zapletal almost 6 years ago
- Related to Bug #25717: Bootdisk provision_method not available in API (docs) added
Updated by Lukas Zapletal almost 6 years ago
- Triaged changed from No to Yes
The problem was fixed in Foreman 1.21. The problem was order of initialization in Rails and engine (Bootdisk).
Updated by Martin Bacovsky almost 6 years ago
- Status changed from New to Resolved
- Fixed in Releases hammer-cli-foreman-0.16.0 added