Red Hat Bugzilla – Bug 1293294
cannot add NIC using user portal (but it works in Admin portal)
Last modified: 2016-02-10 14:15:34 EST
Description of problem:
After upgrade to RHEV-M 3.6.1, the "New VM" dialog in User Portal does not offer any NIC profile for selection. Also, when creating a new VM from a template which has NIC attached, the NIC is not present in the resulting VM.
The "Network interfaces" tab on a existing VM has the "New" button is grayed out.
When I attempt to edit an existing template, I can click to "New" button on Network interfaces tab but the drop-down list "Profiles" is empty and I'm unable to create any NIC.
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1. Using User portal, create a new VM from a template which has NIC attached.
The VM is created without a NIC.
VM should be created with NIC as prescribed by the template.
The drop-down list of NIC profiles in "New VM" dialog is empty.
I'm able to create the VM from template by using Admin portal, so it seems to be a problem in User portal. Please note that I'm using the same credentials for user & admin portals so permissions are likely not an issue.
Smells like bug 1268298, but would you add engine.log?
You are describing here 3 different bugs-
1. The "New VM" dialog in User Portal does not offer any NIC profile for selection.
2. When creating a new VM from a template which has NIC attached, the NIC is not present in the resulting VM.
3. The "Network interfaces" tab on a existing VM has the "New" button is grayed out.
1. I managed to reproduce it in a certain scenario.
In case there are no templates in the dc, only the blank template should be presented in the templates drop down (in the new vm dialog).
The bug is - the blank template is not presented, so there are no templates in the templates drop down. Since the vnic profiles depend on the selected template, the lack of the template causes no vnic profiles to appear.
Pert, is this what happened to you? Or you cannot see the vnic profiles even if there is a selected template?
2, 3- are the second two bugs happen to you only in the user portal or also in the webadmin. I couldn't reproduce it.
Can you please add an engine.log and screenshots of the described bugs.
I do not have access to logs, hopefully firstname.lastname@example.org will be able to dig out what you need.
I've just reproduced the issue in the environment. Approximate timestamps follow to ease log digging:
~ 2016-01-04T09:23:32+0100 clicked to 'New VM'
When opening the New VM dialog, following exception was thrown:
09:23:40.755 Mon Jan 04 09:23:40 GMT+100 2016
__gwt$exception: <skipped>: gMk(...) is null
at Unknown.eOm(Unknown Source)
at Unknown.sFk(Unknown Source)
at Unknown.vFk(Unknown Source)
at Unknown.lJk(Unknown Source)
at Unknown.oJk(Unknown Source)
at Unknown.jIk(Unknown Source)
at Unknown.mIk(Unknown Source)
at Unknown.ASc(Unknown Source)
at Unknown.W5h(Unknown Source)
at Unknown.VS(Unknown Source)
at Unknown.mT(Unknown Source)
at Unknown.Izd/c.onreadystatechange<(Unknown Source)
at Unknown.Yp(Unknown Source)
at Unknown.aq(Unknown Source)
at Unknown._p/<(Unknown Source)
at Unknown.anonymous(Unknown Source)
Web console contained this line right after the exception:
[HTTP/1.1 401 Authorization Required 252ms]
Then I created VM 'pspacek-nic-reproducer' from template
ipa-Fedora-23-x86_64-developer-brq. I've clicked to Ok in New VM dialog at ~
The VM was created without any NIC (but the template does contain 1 NIC).
Created attachment 1111488 [details]
screencast of creating a new VM from template which has NIC specified
Seems like duplicate of https://bugzilla.redhat.com/1286984
*** This bug has been marked as a duplicate of bug 1286984 ***
*** Bug 1299049 has been marked as a duplicate of this bug. ***