Created attachment 1079434 [details] UP exception and API example Description of problem: Users in user portal can't assign vNIC profiles in spite of having VnicProfileUser permission Version-Release number of selected component (if applicable): 3.6.0-15 / rhevm-backend-3.6.0-0.18.el6.noarch How reproducible: always on my setup Steps to Reproduce: 1. create a separate VM network, make sure that Everyone has VnicProfileUser permission 2. as a power user, add a nic with <empty> vnic profile to the VM 3. try to assign the network profile to the VM Actual results: * userportal: * "SEVERE: Uncaught exception" in Error Console on open of Edit NIC dialog * Profile is empty, as is it's drop-down menu * Type, Custom MAC address and Link state are disabled * filtered API returns "detail" : "Network not found in cluster" Expected results: Users are able to assign profiles as in previous 3.6 builds & releases (such as 3.5 --> Regression) Additional info: *
1. David, you wrote- "Users in user portal can't assign vNIC profiles in spite of having VnicProfileUser permission". Do you mean the current user/everyone has VnicProfileUser role on the selected profile? Can you please attach a screenshot of the webadmin->configure dialog, when VnicProfileUser is selected. 2. Also attach a screenshot of the edit vnic dialog- with the vnic profiles list opened. 3. Try to add a new vnic profile to the desired network, make sure the "Allow all users to use this Profile" checkbox of the profile is checked. Do you manage to assign this new profile to the vnic? 4. Please attach the engine logs to the bug.
REST API part of the bug is gone, I can successfully: * create a nic: empty or with network or with vnic_profile specified * update a network-/profileless nic with either a network or a profile So the issue is now only in User Portal (whose behaviour didn't change) as of versions:e rhevm-backend-3.6.0-0.18.el6.noarch rhevm-userportal-3.6.0-0.18.el6.noarch rhevm-webadmin-portal-3.6.0-0.18.el6.noarch rhevm-restapi-3.6.0-0.18.el6.noarch
this happens only on the reporter's environment and we can't reproduce it. Hence moving to 3.6.1
I cannot reproduce the bug. David, is it still reproducible on your environment? Meni, can your team try to reproduce it?
Hi Alona, David I can't reproduce this report on 3.6.0.3-0.1.el6
(In reply to Alona Kaplan from comment #7) > I cannot reproduce the bug. > > David, is it still reproducible on your environment? > Yes, it is. I can't choose even <Empty> profile for new NICs. The environment is upgraded to latest build (3.6.0-20) with these versions: rhevm-backend-3.6.0.3-0.1.el6.noarch rhevm-webadmin-portal-3.6.0.3-0.1.el6.noarch rhevm-userportal-3.6.0.3-0.1.el6.noarch
Since we cannot reproduce it I'm moving it to 3.6.2. David, please check if it is still happening in 3.6.1.
Update: in 3.6.2-2 build (rhevm-backend-3.6.2-0.1.el6.noarch), granting VnicProfile to Everyone on logical network made things work, even after removal of that permission. Now all the profiles created with "Public" or "Allow all users to use this Profile" are available for choice. I'd close as CURRENTRELEASE if new installs are not affected (as comments #c7, #c8 and #c10 suggest).