Project

General

Profile

Actions

Bug #26099

closed

Unable to build VM with bootdisk option using hammer-cli-foreman

Added by Chris Roberts about 5 years ago. Updated almost 5 years ago.

Status:
Resolved
Priority:
Normal
Assignee:
-
Category:
Other commands
Target version:
-
Difficulty:
easy
Triaged:
Yes
Team Backlog:
Fixed in Releases:
Found in Releases:
In Kanboard:

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


Related issues 1 (0 open1 closed)

Related to Foreman - Bug #25717: Bootdisk provision_method not available in API (docs)ClosedIvan NecasActions
Actions #1

Updated by Chris Roberts about 5 years ago

  • Pull request https://github.com/theforeman/hammer-cli-foreman/pull/410 added
Actions #2

Updated by Chris Roberts about 5 years ago

  • Assignee deleted (Chris Roberts)
  • Pull request deleted (https://github.com/theforeman/hammer-cli-foreman/pull/410)
Actions #3

Updated by Lukas Zapletal almost 5 years ago

  • Related to Bug #25717: Bootdisk provision_method not available in API (docs) added
Actions #4

Updated by Lukas Zapletal almost 5 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).

https://projects.theforeman.org/issues/25717

Actions #5

Updated by Martin Bacovsky almost 5 years ago

  • Status changed from New to Resolved
  • Fixed in Releases hammer-cli-foreman-0.16.0 added
Actions

Also available in: Atom PDF