Description of problem: RFE BZ#1559006 introduced some extra RHV options for Storage. e.g.: "Preallocate disk", "Wipe disk after delete", "disk interface" It is possible that these params can be simply passed as key=value inside cr_attributes, however it would be good to document them (show them in help) Version-Release number of selected component (if applicable): 6.6.0 snap 14 Steps to Reproduce: 1. navigate to Create new host page, use RHEV compute resource and at virtual machine tab, choose custom template. then observe all the options for "Storage" 2. Try to set these as parameters using hammer
Created redmine issue https://projects.theforeman.org/issues/27554 from this bug
Moving this bug to POST for triage into Satellite 6 since the upstream issue https://projects.theforeman.org/issues/27554 has been resolved.
In bug 1336437, I discovered that oVirt interface parameter is missing from help. With a quick look, I can see the other parameters mentioned in OP - preallocate and wipe_after_delete, are present.
If oVirt interface is the only parameter missing and is already tracked in bug 1336437, why is this bug failed qa?
Because I think the other bug is subset of this bug. I marked this one failed (rather than merely marking the other one as blocking for this one) because the field is explicitly mentioned in the OP. If you disagree, I think it won't hurt to flip this one back to ON_QA but it will still be blocked.
This was marked as blocking the other bug and now it depends on it so it's clear they can only be tested together. The other bug is modified and waiting to get merged so to keep track I'm changing this to on_qa and setting the "depends on" field. Once the other bug moves to on_qa they can be tested.
FailedQA with Sat 6.7 snap 11. The options are shown in "hammer host create --help" and they work, except "preallocate" - that one is ignored (the created VM has actually a thin provisioned disk; this doesn't happen in WebUI).
Added a new redmine issue and a new PR.
I can confirm that setting preallocate=1 causes the disk to indeed be preallocated (with Sat 6.7 snap 14). Once I check this information is included in snap 15 'hammer host create --help', I'll verify this BZ.
Verified with Sat 6.7 snap 15.
Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA. For information on the advisory, and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. https://access.redhat.com/errata/RHBA-2020:1455