Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.

Bug 1469715

Summary: Scheduling Policies: property values are not shown in dialogs
Product: [oVirt] ovirt-engine Reporter: Pavel Novotny <pnovotny>
Component: Frontend.WebAdminAssignee: bugs <bugs>
Status: CLOSED DUPLICATE QA Contact: Pavel Stehlik <pstehlik>
Severity: medium Docs Contact:
Priority: unspecified    
Version: 4.2.0CC: bugs, dfediuck, oourfali
Target Milestone: ---Keywords: Regression, TestBlocker
Target Release: ---Flags: pnovotny: ovirt-4.2?
rule-engine: blocker?
pnovotny: planning_ack?
pnovotny: devel_ack?
pnovotny: testing_ack?
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2017-07-12 10:16:16 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: SLA RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Attachments:
Description Flags
screens: blank property values none

Description Pavel Novotny 2017-07-11 17:26:06 UTC
Created attachment 1296343 [details]
screens: blank property values

Description of problem:
Property values of a scheduling policy are not showing in related webadmin dialogs.
They are reported correctly via REST API so it looks like problem in the web UI.

Version-Release number of selected component (if applicable):
ovirt-engine-webadmin-portal-4.2.0-0.0.master.20170627181935.git9424f9b.el7.centos

How reproducible:
100%

Steps to Reproduce:
1. Get data of the scheduling policy 'none' via REST API:
   (Note: It is reproducible with any scheduling policy.)
   curl -u admin@internal:password -k https://engine/ovirt-engine/api/schedulingpolicies/<policyID>

   The response looks like this:
<scheduling_policy ...>
  <name>none</name>
  ...
    <property>
      <name>HighUtilization</name>
      <value>80</value>
    </property>
    <property>
      <name>CpuOverCommitDurationMinutes</name>
      <value>2</value>
    </property>
  ...
</scheduling_policy>

2. In Webadmin, go to Configure (top right corner) / Scheduling Policies and edit the 'none' policy.
3. Check the Properties section.

Actual results:
The values for properties HighUtilization and CpuOverCommitDurationMinutes are blank. See attached screenshot.

Expected results:
Values are shown in the dialog (HighUtilization=80 and CpuOverCommitDurationMinutes=2).

Additional info:

A regression against 4.1.x.
It also affects creation of a cluster, where the values are not loaded in the New Cluster dialog as well (see attached screenshot).

Comment 1 Red Hat Bugzilla Rules Engine 2017-07-11 17:26:10 UTC
This bug report has Keywords: Regression or TestBlocker.
Since no regressions or test blockers are allowed between releases, it is also being identified as a blocker for this release. Please resolve ASAP.

Comment 2 Doron Fediuck 2017-07-12 10:16:16 UTC

*** This bug has been marked as a duplicate of bug 1464763 ***