Bug 1482270 - prov.set_host fails on 4.5.1 (5.8.1.5.20170725160636_e433fc0)
Summary: prov.set_host fails on 4.5.1 (5.8.1.5.20170725160636_e433fc0)
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Red Hat CloudForms Management Engine
Classification: Red Hat
Component: Automate
Version: 5.8.0
Hardware: Unspecified
OS: Unspecified
unspecified
urgent
Target Milestone: GA
: 5.9.0
Assignee: Lucy Fu
QA Contact: Leo Khomenko
URL:
Whiteboard:
: 1490630 1491341 (view as bug list)
Depends On:
Blocks: 1482668
TreeView+ depends on / blocked
 
Reported: 2017-08-16 23:04 UTC by Saif Ali
Modified: 2020-12-14 09:34 UTC (History)
10 users (show)

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


Attachments (Terms of Use)

Description Saif Ali 2017-08-16 23:04:24 UTC
Description of problem:
prov.set_host starting failing for us in 4.5.1 (see attached automation.log), we believe it may be related to eligible_hosts returning an empty array in 4.5.1 (see below)

I have attached a logs.tar.gz which has the automation and evm logs from todays attempts. You should be able to see a working 4.5.0 provision of "cf45test28", the upgrade to 4.5.1, and the failing 4.5.1 provision of "cf45test29".

# 4.5.0 (5.8.0.17.20170525183055_6317a22)
> prov = $evm.vmdb(:miq_provision).find(100000000000057)
> prov.eligible_hosts
=> [#<MiqAeServiceManageIQ_Providers_Vmware_InfraManager_HostEsx:0x9d9d7b8 @object=#<ManageIQ::Providers::Vmware::InfraManager::HostEsx id: 100000000000002, name: "dc-esx02.ied.cbnms.com", hostname: "dc-esx02.ied.cbnms.com", ipaddress: "172.20.214.50", vmm_vendor: "vmware", vmm_version: "6.0.0", vmm...]

Version-Release number of selected component (if applicable):
5.8.1.5.20170725160636_e433fc0

How reproducible:


Steps to Reproduce:
1.
2.
3.

Actual results:


Expected results:


Additional info:

Comment 4 CFME Bot 2017-08-17 01:53:38 UTC
New commit detected on ManageIQ/manageiq-providers-vmware/master:
https://github.com/ManageIQ/manageiq-providers-vmware/commit/3032d51502d19e7200e1b0609d131602f392f2d9

commit 3032d51502d19e7200e1b0609d131602f392f2d9
Author:     Lucy Fu <lufu>
AuthorDate: Wed Aug 16 20:30:54 2017 -0400
Commit:     Lucy Fu <lufu>
CommitDate: Wed Aug 16 21:31:07 2017 -0400

    Fix the issue where dvs_ prefix is removed from :vlan in provision's options.
    
    https://bugzilla.redhat.com/show_bug.cgi?id=1482270

 .../manageiq/providers/vmware/infra_manager/provision_workflow.rb     | 4 ++--
 .../providers/vmware/infra_manager/provision_workflow_spec.rb         | 1 +
 2 files changed, 3 insertions(+), 2 deletions(-)

Comment 8 Lucy Fu 2017-09-18 13:28:40 UTC
*** Bug 1490630 has been marked as a duplicate of this bug. ***

Comment 9 Greg McCullough 2017-09-21 14:31:37 UTC
*** Bug 1491341 has been marked as a duplicate of this bug. ***


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