Bug 1448137

Summary: VM provision from ISO fail
Product: Red Hat CloudForms Management Engine Reporter: Ilanit Stein <istein>
Component: ProvidersAssignee: Boriso <bodnopoz>
Status: CLOSED CURRENTRELEASE QA Contact: Ilanit Stein <istein>
Severity: high Docs Contact:
Priority: high    
Version: 5.8.0CC: cpelland, jfrey, jhardy, obarenbo, simaishi
Target Milestone: GAKeywords: TestOnly
Target Release: 5.9.0   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard: rhev, ISO provision
Fixed In Version: 5.9.0.1 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of:
: 1449190 (view as bug list) Environment:
Last Closed: 2018-03-06 15:55:06 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: Bug
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: RHEVM Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 1449190    
Attachments:
Description Flags
evm.log none

Description Ilanit Stein 2017-05-04 15:23:23 UTC
Description of problem:
Provision VM from ISO (without using any custom template), fail on 
[EVM] VM [istein_iso] Step [CheckProvisioned] Status [[NameError]: undefined local variable or method `ext_management_system] Message [[NameError]: undefined local variable or method `ext_management_system' for #<ManageIQ::Providers::Redhat::InfraManag...

Version-Release number of selected component (if applicable):
CFME-5.8.0.13
RHV-4.1.1.8

How reproducible:


Steps to Reproduce:
1.
2.
3.

Actual results:


Expected results:


Additional info:

Comment 2 Ilanit Stein 2017-05-04 15:25:26 UTC
Created attachment 1276377 [details]
evm.log

Comment 4 CFME Bot 2017-05-08 17:53:49 UTC
New commit detected on ManageIQ/manageiq-providers-ovirt/master:
https://github.com/ManageIQ/manageiq-providers-ovirt/commit/f898c19a2ede1bd198077adc8983589f4cb0ccd2

commit f898c19a2ede1bd198077adc8983589f4cb0ccd2
Author:     Boris Odnopozov <bodnopoz>
AuthorDate: Wed May 3 15:18:38 2017 +0300
Commit:     Boris Odnopozov <bodnopoz>
CommitDate: Mon May 8 11:23:52 2017 +0300

    Fix iso and pxe provisioning
    
    Fix provisioning VM from ISO and PXE and add specs
    
    https://bugzilla.redhat.com/show_bug.cgi?id=1448137

 .../infra_manager/ovirt_services/strategies/v3.rb  |  4 ++
 .../infra_manager/ovirt_services/strategies/v4.rb  | 72 +++++++++++++---------
 .../infra_manager/provision/state_machine.rb       |  4 ++
 .../provision_via_iso/state_machine.rb             |  2 +-
 .../provision_via_pxe/state_machine.rb             |  2 +-
 .../provision_via_iso/state_machine_spec.rb        | 70 +++++++++++++++++++--
 .../provision_via_pxe/state_machine_spec.rb        |  1 +
 7 files changed, 119 insertions(+), 36 deletions(-)

Comment 8 Ilanit Stein 2017-11-09 12:57:57 UTC
Verified on CFME-5.9.0.4/RHV-4.1.6.

VM was provisioned successfully from ISO image.