Bugzilla will be upgraded to version 5.0. The upgrade date is tentatively scheduled for 2 December 2018, pending final testing and feedback.
Bug 1597649 - VM Portal - all VMs from VM Pool + VM Pool itself are displayed for a brand new VM Pool
VM Portal - all VMs from VM Pool + VM Pool itself are displayed for a brand n...
Status: CLOSED ERRATA
Product: Red Hat Enterprise Virtualization Manager
Classification: Red Hat
Component: ovirt-web-ui (Show other bugs)
4.2.1
x86_64 Linux
high Severity high
: ovirt-4.2.6
: ---
Assigned To: Greg Sheremeta
Lucie Leistnerova
: ZStream
Depends On:
Blocks:
  Show dependency treegraph
 
Reported: 2018-07-03 07:00 EDT by Olimp Bockowski
Modified: 2018-09-04 09:47 EDT (History)
4 users (show)

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Previously, all virtual machines in a pool were returned to the VM Portal when only the virtual machines that were checked out should have been returned. In this release, only the virtual machines that were checked out are returned to the VM Portal.
Story Points: ---
Clone Of:
Environment:
Last Closed: 2018-09-04 09:47:15 EDT
Type: Bug
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: UX
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)
poolsIcons (81.98 KB, image/png)
2018-07-03 07:01 EDT, Olimp Bockowski
no flags Details
VMsIcons (67.69 KB, image/png)
2018-07-03 07:02 EDT, Olimp Bockowski
no flags Details
webConsoleBadRequest (19.84 KB, text/plain)
2018-07-03 08:46 EDT, Olimp Bockowski
no flags Details


External Trackers
Tracker ID Priority Status Summary Last Updated
oVirt gerrit 93753 None None None 2018-08-24 14:31 EDT
oVirt gerrit 93785 None None None 2018-08-24 14:31 EDT
Red Hat Product Errata RHBA-2018:2641 None None None 2018-09-04 09:47 EDT

  None (edit)
Description Olimp Bockowski 2018-07-03 07:00:46 EDT
Description of problem:

There are visible icons for all VMs' from VM Pool + VM Pool itself for a brand new VM Pool, type automatic without pre-started VMs

According to our internal communication it is confirmed that in ovirt-web-ui it should work in following way:
- have a pool called myVmPool with 2 VMs none of them started and you are allowed to assign 2 VMs from this pool to yourself -> you will see only the pool (e.g. myVmPool).
- start one -> you will see one VM (myVmPool-1) and the pool (myVmPool).
- start the second one -> you will see only the two VMs (myVmPool-1, myVmPool-2)

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

4.2.3.5-0.1.el7
RHEL 7.5, 
google-chrome-stable-67.0.3396.79-1.x86_64
firefox-52.8.0-1.el7_5.x86_64

How reproducible:
50% - 1 RHV env out of 2 tested

Steps to Reproduce:

1. setup a new user with role UserRole
2. as the admin@internal create VM Pool with Number of VMs: 2, Maximum number of VMs per user: 1, default type (automatic)
3. log as the new user to User Portal and see all VMs + Pool itself

Actual results:
Not expected behaviour

Expected results:
It is consistent

Additional info:
maybe having many VMs leads to this problem? to see all VMs + Pools I have to scroll quite long and it refreshes everytime
2x screnshots
Comment 1 Olimp Bockowski 2018-07-03 07:01 EDT
Created attachment 1456200 [details]
poolsIcons
Comment 2 Olimp Bockowski 2018-07-03 07:02 EDT
Created attachment 1456201 [details]
VMsIcons
Comment 3 Olimp Bockowski 2018-07-03 08:46 EDT
Created attachment 1456234 [details]
webConsoleBadRequest
Comment 4 Olimp Bockowski 2018-07-03 08:47:49 EDT
looks like an icon is dummy. Clicking it gives Bad Request like:

jquery.js:9566 POST https://sbr-virt-rhv-nested/ovirt-engine/api/vms/2b8ceb43-ccae-43e2-8833-636e8e673bed/start 400 (Bad Request)

(in attachment all details)
Comment 5 Michal Skrivanek 2018-08-16 07:32:13 EDT
might improve in ovirt-web-ui-1.4
Comment 6 Michal Skrivanek 2018-08-22 08:14:07 EDT
should be fixed by bug 1609147. Can you test that?
Comment 8 Michal Skrivanek 2018-08-24 08:47:31 EDT
there were also general fixes in display of VMs along the way, so it's hard to say. Probably not worth bisecting

The refresh and reset of view was also fixed along the way. There are further improvements in 4.2.6(e.g. that bug 1609147 for the case where you see other-than-yours VMs in the pool)
Comment 11 Lucie Leistnerova 2018-08-29 05:20:22 EDT
There is only pool icon for new pool in VM portal. When user exceed number of allowed running VMs, pool icon disappears. When there is no VM free, error message is shown.
When user stops VM, icon disappears and pool icon is back.

verified in ovirt-engine-4.2.6.4-0.1.el7ev.noarch with ovirt-web-ui-1.4.2-1.el7ev.noarch
Comment 13 errata-xmlrpc 2018-09-04 09:47:15 EDT
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory, and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

https://access.redhat.com/errata/RHBA-2018:2641

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