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

Bug 835553

Summary: Edit Host error dialog: variables are not substituted in error message
Product: Red Hat Enterprise Virtualization Manager Reporter: Pavel Novotny <pnovotny>
Component: ovirt-engineAssignee: Oved Ourfali <oourfali>
Status: CLOSED CURRENTRELEASE QA Contact: Martin Pavlik <mpavlik>
Severity: low Docs Contact:
Priority: unspecified    
Version: 3.1.0CC: bazulay, dyasny, ecohen, gklein, iheim, lpeer, mpavlik, oramraz, Rhev-m-bugs, sgrinber, yeylon, ykaul, yzaslavs
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Linux   
Whiteboard: infra
Fixed In Version: si10 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2012-12-04 20:03:09 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: Infra RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Attachments:
Description Flags
Edit Host error dialog without replaced template variables. none

Description Pavel Novotny 2012-06-26 13:02:32 UTC
Created attachment 594475 [details]
Edit Host error dialog without replaced template variables.

Description of problem:
If you try to edit active host, an error message appears (which is correct), but the message contains variables which are not substituted.

Version-Release number of selected component (if applicable):
rhevm-3.1.0_0001-14.el6ev.noarch

How reproducible:
Always

Steps to Reproduce:
1. In RHEVM webadmin create new data center with new cluster in it.
2. Add a host into the new cluster and activate it.
3. Remove the data center created in step 1.
4. Edit host - open Edit Host dialog and just submit it without making any changes.
5. Error dialog appears:
  
Actual results:
"""
Error:

srh-10:

    Cannot ${action} ${type}. Host parameters cannot be modified while Host is operational.
    Please switch Host to Maintenance mode first.
"""

Expected results:
Variables '${action}' and '${type}' should be substituted with corresponding values.

Additional info:
See attached screenshot.

Comment 1 Barak 2012-07-04 12:38:21 UTC
I assume this is a backend issue, it is probably doesn't send the params (action, type) values to the UI.

Comment 2 Oved Ourfali 2012-07-05 13:09:30 UTC
Commit: a398b0ce0518c5ee04ada7e87b55b940bb76cebc

http://gerrit.ovirt.org/gitweb?p=ovirt-engine.git;a=commit;h=a398b0ce0518c5ee04ada7e87b55b940bb76cebc