Description of problem: When provisioning template based vm from Satellite 6 (6.2.4) to RHEV 3.6, the provisioned machine do not respect the disk settings in the template. The disk in the template is set as Preallocated, but the provisioned machine has Thin Provisioned disk. Version-Release number of selected component (if applicable): Red Hat Satellite 6.2.4 How reproducible: Always Steps to Reproduce: 1. Create RHEV compute resource 2. Create a template on RHEV with Preallocated disk 3. Create a new Host, choose the correct template 4. On the Virtual Machine tab tick the Preallocated checkbox 5. Create the host and check the disk type in the RHEV-M (vm > Disks > Edit > Allocation Policy) 6. Now in Sat check Hosts > All Hosts > choose the host > Edit > Virtual Machine tab > the Preallocated checkbox is not checked anymore Actual results: The VM is provisioned with Thin Provisioned disk. Expected results: The VM should be provisioned with Preallocated disk. Additional info: This is probably a regression of: https://bugzilla.redhat.com/show_bug.cgi?id=1286033 https://bugzilla.redhat.com/show_bug.cgi?id=1320313
Can you please share how you created a preallocated disk on a RHEV template? I tried with RHEV 3.6 by creating a template from a vm with a preallocated disk and the template was created with a thin provisioning disk. With the disk in the template as thin, I was unable to create a vm (in RHEV) that turns the disk to preallocated, it remained thin provisioning.
(In reply to orabin from comment #10) > Can you please share how you created a preallocated disk on a RHEV template? > > I tried with RHEV 3.6 by creating a template from a vm with a preallocated > disk and the template was created with a thin provisioning disk. > > With the disk in the template as thin, I was unable to create a vm (in RHEV) > that turns the disk to preallocated, it remained thin provisioning. Hello, I made the template via RHEV 3.6 GUI. I stopped the machine, clicked it with right mouse, choose 'Make template', set the name... and the template was created with Preallocated disk. I can share our environment, if needed. -Roman
Upstream bug assigned to orabin
*** Bug 1505974 has been marked as a duplicate of this bug. ***
Progress update: after more investigation, we discovered that there was a change between RHEV 3.6 and 4.1, that made the patches not working against newer versions. The new patches are being worked on, see https://github.com/theforeman/foreman/pull/4512#issuecomment-341683342
Moving this bug to POST for triage into Satellite 6 since the upstream issue http://projects.theforeman.org/issues/10273 has been resolved.
This failed to cherrypick downstream, Ori can you take a look?
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-2018:1950