Bugzilla will be upgraded to version 5.0. The upgrade date is tentatively scheduled for 2 December 2018, pending final testing and feedback.
Bug 1399102 - Provisioning of template based vm from Sat6 to RHEV3.6 do not respect the Allocation Policy of the template
Provisioning of template based vm from Sat6 to RHEV3.6 do not respect the All...
Status: CLOSED ERRATA
Product: Red Hat Satellite 6
Classification: Red Hat
Component: Compute Resources - RHEV (Show other bugs)
6.2.4
Unspecified Unspecified
high Severity high (vote)
: 6.3.2
: Unused
Assigned To: orabin
Ranjan Kumar
: Triaged
: 1505974 (view as bug list)
Depends On:
Blocks: 1541321 1459226
  Show dependency treegraph
 
Reported: 2016-11-28 04:48 EST by Roman Bobek
Modified: 2018-06-19 16:18 EDT (History)
16 users (show)

See Also:
Fixed In Version: foreman-1.15.6.42-1
Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of:
: 1572289 (view as bug list)
Environment:
Last Closed: 2018-06-19 16:17:00 EDT
Type: Bug
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)


External Trackers
Tracker ID Priority Status Summary Last Updated
Foreman Issue Tracker 10273 None None None 2016-12-14 07:02 EST
Red Hat Product Errata RHBA-2018:1950 None None None 2018-06-19 16:18 EDT

  None (edit)
Description Roman Bobek 2016-11-28 04:48:51 EST
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
Comment 10 orabin 2017-05-03 11:43:45 EDT
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.
Comment 11 Roman Bobek 2017-05-04 05:14:02 EDT
(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
Comment 12 pm-sat@redhat.com 2017-05-08 12:13:52 EDT
Upstream bug assigned to orabin@redhat.com
Comment 13 pm-sat@redhat.com 2017-05-08 12:13:57 EDT
Upstream bug assigned to orabin@redhat.com
Comment 18 Ivan Necas 2017-11-02 07:05:20 EDT
*** Bug 1505974 has been marked as a duplicate of this bug. ***
Comment 19 Ivan Necas 2017-11-03 08:53:57 EDT
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
Comment 30 pm-sat@redhat.com 2018-02-20 04:18:25 EST
Moving this bug to POST for triage into Satellite 6 since the upstream issue http://projects.theforeman.org/issues/10273 has been resolved.
Comment 35 Patrick Creech 2018-05-22 16:34:15 EDT
This failed to cherrypick downstream, Ori can you take a look?
Comment 45 errata-xmlrpc 2018-06-19 16:17:00 EDT
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

Note You need to log in before you can comment on or make changes to this bug.