Bug 1213145

Summary: Reprovisioning a ConfiguredSystem does not use the correct OS
Product: Red Hat CloudForms Management Engine Reporter: Brandon Dunne <bdunne>
Component: ProvisioningAssignee: Brandon Dunne <bdunne>
Status: CLOSED ERRATA QA Contact: Jan Krocil <jkrocil>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 5.4.0CC: jhardy, obarenbo
Target Milestone: GA   
Target Release: 5.4.0   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2015-06-16 12:58:59 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Brandon Dunne 2015-04-19 12:33:47 UTC
Description of problem:
Reprovisioning a ConfiguredSystem should use the Operating System from the chosen ConfigurationProfile


Expected results:
Configured System should be provisioned with the OS of the ConfigurationProfile

Additional info:
ConfigurationProfile Ptable and Media should also be used

Comment 2 CFME Bot 2015-04-20 13:55:10 UTC
New commit detected on manageiq/master:
https://github.com/ManageIQ/manageiq/commit/8a07c07589ca9afa321fd1d4ce31049494d071f4

commit 8a07c07589ca9afa321fd1d4ce31049494d071f4
Author:     Brandon Dunne <bdunne>
AuthorDate: Sun Apr 19 08:48:03 2015 -0400
Commit:     Brandon Dunne <bdunne>
CommitDate: Sun Apr 19 09:29:00 2015 -0400

    Nil out OperatingSystem, Ptable and Medium on the ConfiguredSystem
    
    Provisioning will not use these values from the Hostgroup unless they
    are nilled out.
    
    https://bugzilla.redhat.com/show_bug.cgi?id=1213145

 .../miq_provision_task_configured_system_foreman/options_helper.rb    | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

Comment 4 Jan Krocil 2015-06-04 20:25:30 UTC
Verified fixed in 5.4.0.4 (5.4.0.4.20150528174021_88cc76c).

Configured system's OS, media and partition table are correctly switched on reprovision with hostgroup change.

Comment 6 errata-xmlrpc 2015-06-16 12:58:59 UTC
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://rhn.redhat.com/errata/RHBA-2015-1100.html