Description of problem: The host's maintenance flag is now shown in the host's tab of the provision dialog. New attribute was added as part of Bug 1506268 and should be implemented for RHV provider as well. Version-Release number of selected component (if applicable): master How reproducible: always. Steps to Reproduce: 1. Have a host in maintenance state. 2. Perform refresh (full/target) 3. Open VM provision dialog, go to Environment tab and watch the list of hosts. 4. Check maintenance column is set according to the host state. Actual results: No data for RHV on maintenance column. Expected results: Maintenance column should reflect the host's maintenance state. Additional info: Github Issue: https://github.com/ManageIQ/manageiq-providers-ovirt/issues/141 The PR in which the new host maintenance attribute was introduced: https://github.com/ManageIQ/manageiq/pull/16464
https://github.com/ManageIQ/manageiq-providers-ovirt/pull/147
New commit detected on ManageIQ/manageiq-providers-ovirt/master: https://github.com/ManageIQ/manageiq-providers-ovirt/commit/ab73cb1394d385ef75aced6b9a5303c1d6158403 commit ab73cb1394d385ef75aced6b9a5303c1d6158403 Author: Moti Asayag <masayag> AuthorDate: Thu Nov 16 00:26:49 2017 +0200 Commit: Moti Asayag <masayag> CommitDate: Thu Nov 16 08:42:05 2017 +0200 Save host 'maintenance' value The host 'maintenance' attribute was added to provision vm dialog by https://github.com/ManageIQ/manageiq/pull/16464 RHV should store this information which is already available during host refresh. https://bugzilla.redhat.com/show_bug.cgi?id=1513413 .../manageiq/providers/redhat/infra_manager/refresh/parse/parser.rb | 1 + .../redhat/infra_manager/refresh/parse/strategies/host_inventory.rb | 1 + app/models/manageiq/providers/redhat/inventory/parser/infra_manager.rb | 1 + .../providers/redhat/inventory_collection_default/infra_manager.rb | 3 ++- .../providers/redhat/infra_manager/refresh/refresher_3_1_spec.rb | 1 + .../redhat/infra_manager/refresh/refresher_4_async_graph_spec.rb | 1 + .../providers/redhat/infra_manager/refresh/refresher_4_async_spec.rb | 1 + 7 files changed, 8 insertions(+), 1 deletion(-)