Bug 1454880 - Maintenance mode flag not being set on SCVMM hosts.
Summary: Maintenance mode flag not being set on SCVMM hosts.
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Red Hat CloudForms Management Engine
Classification: Red Hat
Component: UI - OPS
Version: 5.8.0
Hardware: Unspecified
OS: Unspecified
high
medium
Target Milestone: GA
: 5.9.0
Assignee: Dan Clarizio
QA Contact: Leo Khomenko
URL:
Whiteboard: provider:scvmm:inventory
Depends On:
Blocks: 1452823 1461535
TreeView+ depends on / blocked
 
Reported: 2017-05-23 16:49 UTC by Jeff Teehan
Modified: 2018-03-06 15:19 UTC (History)
11 users (show)

Fixed In Version: 5.9.0.12
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
: 1461535 (view as bug list)
Environment:
Last Closed: 2018-03-06 15:19:10 UTC
Category: Bug
Cloudforms Team: CFME Core
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)

Description Jeff Teehan 2017-05-23 16:49:43 UTC
Description of problem:
 get_inventory.ps is checking HyperVStateString instead of OverallState

Name                                                  OverallState HyperVStateString
----                                                  ------------ -----------------
hyperv16d.cfme-qe-vmm-ad.rhq.lab.eng.bos.redhat.com NeedsAttention Unknown
hyperv16a.cfme-qe-vmm-ad.rhq.lab.eng.bos.redhat.com             OK Running
hyperv16c.cfme-qe-vmm-ad.rhq.lab.eng.bos.redhat.com             OK Running

Need to set mainenance flag to true if OK else false.

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

How reproducible:
All versions, all the time.

Steps to Reproduce:
1.  Attempt to provision onto a host in maintenance mode.
2.  https://bugzilla.redhat.com/show_bug.cgi?id=1452823
3.

Actual results:
Fails with error

Expected results:
Code implemented below should check that.

Additional info:
https://bugzilla.redhat.com/show_bug.cgi?id=1452823

Comment 2 Daniel Berger 2017-05-23 16:51:53 UTC
https://github.com/ManageIQ/manageiq/pull/15202

Comment 15 Adam Grare 2017-12-05 13:16:00 UTC
Leo this should have been fixed by https://bugzilla.redhat.com/show_bug.cgi?id=1514986, moving to POST


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