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

Bug 1090934

Summary: [User Portal] Username of logged-in user appears in error dialog instead of pool name
Product: Red Hat Enterprise Virtualization Manager Reporter: Jiri Belka <jbelka>
Component: ovirt-engineAssignee: Shahar Havivi <shavivi>
Status: CLOSED CURRENTRELEASE QA Contact: Jiri Belka <jbelka>
Severity: low Docs Contact:
Priority: low    
Version: 3.4.0CC: gklein, jbelka, lsurette, michal.skrivanek, rbalakri, Rhev-m-bugs, srevivo, ykaul
Target Milestone: ovirt-3.6.1   
Target Release: 3.6.0   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2016-04-20 01:10:12 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: Virt RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Attachments:
Description Flags
screenshot none

Description Jiri Belka 2014-04-24 12:25:31 UTC
Created attachment 889264 [details]
screenshot

Description of problem:
Username of logged-in user appears in error dialog instead of pool name. See screenshot.

Version-Release number of selected component (if applicable):
rhevm-userportal-3.4.0-0.13.beta3.el6ev.noarch

How reproducible:
100%

Steps to Reproduce:
1. have not enough memory on a host to run a pooled vm
2. try to acquire a pool's vm in user portal
3.

Actual results:
error msg contains '$username:' instead of '$pool_name'

Expected results:
	
Operation Canceled
Error while executing action:

$pool_name:

    Cannot allocate and run VM from VM-Pool. $real_msg.

Additional info:

Comment 1 Michal Skrivanek 2014-08-22 13:01:51 UTC
this bug won't fit into 3.5 release and is being deferred to a later release. If you deeply care about this bug and deserves to be re-evaluated please let me know

Comment 2 Shahar Havivi 2015-09-01 12:42:40 UTC
Please add the message that you are getting in the userportal

Comment 3 Shahar Havivi 2015-09-02 09:31:26 UTC
Jiri please look at bz# 1259244 if its the same issue

Comment 4 Jiri Belka 2015-09-21 10:00:42 UTC
There's something odd - I don't see the error popup at all and there are some strange events in Extended view. Investigation in progress...

Anyway there is attached screenshot in this BZ :)

Comment 5 Jiri Belka 2015-09-21 10:34:49 UTC
Ignore #4, I thought the issue is related to free memory on hosts. But in fact this BZ is related to non availability of VMs to be allocated for an user from a pool.

rhevm-userportal-3.6.0-0.16.master.el6.noarch

The pool is named 'a-pool-jbelka' in following scenario.

~~~
Error while executing action:

admin:

    Cannot allocate and run VM from VM-Pool. There are no available VMs in the VM-Pool.
~~~

Comment 6 Jiri Belka 2015-09-21 10:39:19 UTC
The 'username' leaks into similar dialog too :)

~~~
Operation Canceled
Error while executing action:

admin:

    Cannot allocate and run VM from VM-Pool. There is no host that satisfies current scheduling constraints. See below for details:
    The host dell-r210ii-13.rhev.lab.eng.brq.redhat.com did not satisfy internal filter Memory because has availabe 7342 MB memory. Insufficient free memory to run the VM.
    Cannot attach VM to VM-Pool. There are no available VMs in the VM-Pool.
~~~

Comment 7 Jiri Belka 2015-12-03 12:34:21 UTC
ok, rhevm-userportal-3.6.1.1-0.1.el6.noarch

the dialog doesn't show logged-in user anymore.