Bug 1213479 - UnknownNicError("Unknown network interface: 'eth0'",) after hitting BZ 1197668
Summary: UnknownNicError("Unknown network interface: 'eth0'",) after hitting BZ 1197668
Keywords:
Status: CLOSED INSUFFICIENT_DATA
Alias: None
Product: Red Hat Enterprise Virtualization Manager
Classification: Red Hat
Component: ovirt-node
Version: 3.5.0
Hardware: All
OS: Linux
high
high
Target Milestone: ovirt-3.5.6
: 3.5.6
Assignee: Fabian Deutsch
QA Contact: cshao
URL:
Whiteboard: node
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2015-04-20 16:29 UTC by Robert McSwain
Modified: 2019-08-15 04:30 UTC (History)
15 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2015-10-20 09:51:52 UTC
oVirt Team: Node
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Bugzilla 1215016 0 high CLOSED Wrong import prevents configuration update after update from 6.5 to 6.6 2021-02-22 00:41:40 UTC

Internal Links: 1215016

Description Robert McSwain 2015-04-20 16:29:31 UTC
Description of problem:
After applying the workaround in vdsm.conf from https://access.redhat.com/solutions/1346443, none of the network interfaces are working so RHEV-M cannot connect. When trying to change it on the RHEV-H console, it gives me this error:

"An error appeared in the UI: UnknownNicError("Unknown network interface: 'eth0'",)"

Version-Release number of selected component (if applicable):
Red Hat Enterprise Virtualization Hypervisor 6.6 (20150128.0.el6ev)


How reproducible:
Unknown

Steps to Reproduce:
1. Hit issues in Solution 1346443 
2. Attempt to configure this in Unified Persistence as workaround
3. Error: "An error appeared in the UI: UnknownNicError("Unknown network interface: 'eth0'",)"

Actual results:
"An error appeared in the UI: UnknownNicError("Unknown network interface: 'eth0'",)", reinstall 

Expected results:
eth0 is an accepted network interface and configuration sticks.

Additional info:

Comment 2 cshao 2015-04-21 08:27:41 UTC
RHEV-H QE can reproduce this bug.

Test version:
rhev-hypervisor6-6.6-20150128.0
ovirt-node-3.2.1-6.el6.noarch
RHEVM VT14.3 (3.5.1-0.4)

Test steps:
1. Install RHEV-H 6.6-20150128.
2. Configure network with [bond+ vlan]. 
3. Add rhevh to RHEV-M via RHEV-M UI.
4. Maintenance the host.
5. Upgrade to rhev-hypervisor6-6.6-20150128 via RHEVM

Test results:
1. The host show as Non responsive status.
2. Networking show as "Unknown" and the host can't obtain IP.
3. Try to configure bond1, below error appeared.
"An error appeared in the UI: UnknownNicError("Unknown network interface: 'bond1'",)"
press enter to logout.
or press s to drop to shell.

Comment 4 Fabian Deutsch 2015-04-23 12:46:54 UTC
This is interesting.

This error is only shown when udev is not aware of the NIC - and thats hould only happen if the nic is really (physically) not present.

Form a host where this error appears, and in the state where the error appears, can someone provide the output of:

$ python <<EOP
from ovirt.node.utils import network as n
print(n.all_ifaces())
EOP
$ ip link

Comment 5 cshao 2015-04-24 12:07:51 UTC
(In reply to Fabian Deutsch from comment #4)
> This is interesting.
> 
> This error is only shown when udev is not aware of the NIC - and thats hould
> only happen if the nic is really (physically) not present.
> 
> Form a host where this error appears, and in the state where the error
> appears, can someone provide the output of:
> 
> $ python <<EOP
> from ovirt.node.utils import network as n
> print(n.all_ifaces())
> EOP
> $ ip link

# python <<EOP
> from ovirt.node.utils import network as n
> print(n.all_ifaces())
> EOP
['eth0', 'eth1', 'eth2', 'eth3', 'bond1', 'lo']
[root@hp-xw4550-02 admin]# ip link
1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN 
    link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
2: eth0: <BROADCAST,MULTICAST> mtu 1500 qdisc noop state DOWN qlen 1000
    link/ether 00:10:18:81:a4:a0 brd ff:ff:ff:ff:ff:ff
3: eth1: <BROADCAST,MULTICAST,SLAVE,UP,LOWER_UP> mtu 1500 qdisc mq master bond1 state UP qlen 1000
    link/ether 00:10:18:81:a4:a2 brd ff:ff:ff:ff:ff:ff
4: eth2: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc mq state UP qlen 1000
    link/ether 00:23:7d:53:ab:75 brd ff:ff:ff:ff:ff:ff
5: eth3: <BROADCAST,MULTICAST,SLAVE,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast master bond1 state UP qlen 1000
    link/ether 00:10:18:81:a4:a2 brd ff:ff:ff:ff:ff:ff
9: bond1: <BROADCAST,MULTICAST,MASTER,UP,LOWER_UP> mtu 1500 qdisc noqueue state UP 
    link/ether 00:10:18:81:a4:a2 brd ff:ff:ff:ff:ff:ff

NOTE: 
The original nic IP was lost, I have to configure a public ip(eth2) for get above output .

Thanks!

Comment 6 Fabian Deutsch 2015-04-30 08:58:37 UTC
Robert, does this issue still exist in the regular use case of the customer with RHEV-H for 3.5.1?

Comment 7 Yaniv Lavi 2015-05-20 12:47:40 UTC
I'm closing this due to no reply, please reopen if needed.

Comment 10 Fabian Deutsch 2015-06-18 04:43:54 UTC
In addition to the sosreport please provide the file /etc/default/ovirt from the affected host.

Comment 26 Moran Goldboim 2015-10-20 09:51:52 UTC
Closing this bug due to no reply, please reopen if needed.


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