Bug 1448137 - VM provision from ISO fail
Summary: VM provision from ISO fail
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Red Hat CloudForms Management Engine
Classification: Red Hat
Component: Providers
Version: 5.8.0
Hardware: Unspecified
OS: Unspecified
high
high
Target Milestone: GA
: 5.9.0
Assignee: Boriso
QA Contact: Ilanit Stein
URL:
Whiteboard: rhev, ISO provision
Depends On:
Blocks: 1449190
TreeView+ depends on / blocked
 
Reported: 2017-05-04 15:23 UTC by Ilanit Stein
Modified: 2018-03-06 15:55 UTC (History)
5 users (show)

Fixed In Version: 5.9.0.1
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
: 1449190 (view as bug list)
Environment:
Last Closed: 2018-03-06 15:55:06 UTC
Category: Bug
Cloudforms Team: RHEVM
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)
evm.log (1.66 MB, application/x-gzip)
2017-05-04 15:25 UTC, Ilanit Stein
no flags Details

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.


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