Bug 1301660 - ISO provisioning always fails because it can't start the VM while the disk is locked
Summary: ISO provisioning always fails because it can't start the VM while the disk is...
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat CloudForms Management Engine
Classification: Red Hat
Component: Automate
Version: 5.5.0
Hardware: All
OS: All
high
medium
Target Milestone: GA
: 5.5.3
Assignee: Drew Bomhof
QA Contact: Shveta
URL:
Whiteboard:
Depends On: 1298748 1301662
Blocks:
TreeView+ depends on / blocked
 
Reported: 2016-01-25 15:49 UTC by Drew Bomhof
Modified: 2019-10-10 10:59 UTC (History)
10 users (show)

Fixed In Version: 5.5.3.2
Doc Type: Bug Fix
Doc Text:
When provisioning from an ISO in Red Hat CloudForms 4.0, the automation state machine previously exited with an oVirt error reporting locked disks. This was caused due to the destination_image_locked? method only being called on native Red Hat Enterprise Virtualization provisioning. This release adds a destination_image_locked? check for all Red Hat Enterprise Virtualization ISO and PXE provisioning.
Clone Of: 1298748
Environment:
Last Closed: 2016-04-13 18:41:52 UTC
Category: ---
Cloudforms Team: ---
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHBA-2016:0616 0 normal SHIPPED_LIVE CFME 5.5.3 bug fixes and enhancement update 2016-04-13 22:38:44 UTC

Comment 2 CFME Bot 2016-02-10 19:54:54 UTC
New commit detected on cfme/5.5.z:
https://code.engineering.redhat.com/gerrit/gitweb?p=cfme.git;a=commitdiff;h=8dae5301ab421df2303ac37c75a34f4892c4a2fe

commit 8dae5301ab421df2303ac37c75a34f4892c4a2fe
Merge: 0b8f8d7 d547fbc
Author:     Greg McCullough <gmccullo>
AuthorDate: Wed Feb 10 14:28:56 2016 -0500
Commit:     Greg McCullough <gmccullo>
CommitDate: Wed Feb 10 14:28:56 2016 -0500

    Merge branch '5.5.z_cannot_provision_iso' into '5.5.z'
    
    Added destination_image_locked? check to RHEV iso/pxe provisioning
    
    https://bugzilla.redhat.com/show_bug.cgi?id=1301660
    
    The destination_image_locked? method was only being
    called on native RHEV provisioning.  This change slightly
    refactors the customize_destination method to enable
    the destination_image_locked? check for all RHEV
    provisioning types
    
    PR: https://github.com/ManageIQ/manageiq/pull/6251
    
    Cherry Pick was not clean. Conflicts showed up in spec ..infra_manager/provision/state_machine_spec.rb
    
    See merge request !747

 .../infra_manager/provision/state_machine.rb       |  9 +++--
 .../provision_via_iso/state_machine.rb             |  8 +---
 .../provision_via_pxe/state_machine.rb             |  7 +---
 .../infra_manager/provision/state_machine_spec.rb  | 44 ++++++++++++----------
 .../provision_via_iso/state_machine_spec.rb        | 15 +++++---
 .../provision_via_pxe/state_machine_spec.rb        | 29 ++++++++++++++
 6 files changed, 72 insertions(+), 40 deletions(-)

Comment 4 Shveta 2016-03-29 23:49:33 UTC
Tested ISO provisioning . No disc locked error observed in logs .
Provisioning failed due to other ISO bug https://bugzilla.redhat.com/show_bug.cgi?id=1316735

Verified in 5.5.3.2.20160318152106_92d2d67

Comment 6 errata-xmlrpc 2016-04-13 18:41:52 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://access.redhat.com/errata/RHBA-2016:0616


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