Bug 1210235 - vlan network status show as "unknown" after upgrade from 6.5 to 6.6 via TUI
Summary: vlan network status show as "unknown" after upgrade from 6.5 to 6.6 via TUI
Keywords:
Status: CLOSED WONTFIX
Alias: None
Product: Red Hat Enterprise Virtualization Manager
Classification: Red Hat
Component: ovirt-node
Version: 3.5.1
Hardware: Unspecified
OS: Unspecified
high
high
Target Milestone: ---
: ---
Assignee: Douglas Schilling Landgraf
QA Contact: cshao
URL:
Whiteboard: node
Depends On:
Blocks: 1264358
TreeView+ depends on / blocked
 
Reported: 2015-04-09 09:06 UTC by cshao
Modified: 2022-04-15 10:11 UTC (History)
11 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2015-11-23 15:33:03 UTC
oVirt Team: Node
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)
vlan-nic-info.png (1.05 MB, image/png)
2015-04-09 09:06 UTC, cshao
no flags Details
vlan.tag.gz (6.31 MB, application/x-gzip)
2015-04-09 09:11 UTC, cshao
no flags Details
etc-default-ovirt.png (151.13 KB, image/png)
2015-05-12 05:15 UTC, cshao
no flags Details


Links
System ID Private Priority Status Summary Last Updated
Red Hat Issue Tracker RHV-45684 0 None None None 2022-04-15 10:11:25 UTC

Description cshao 2015-04-09 09:06:27 UTC
Created attachment 1012583 [details]
vlan-nic-info.png

Description of problem:
vlan network status show as "unknown" after upgrade from 6.5 to 6.6 via TUI.

Version-Release number of selected component (if applicable):
rhev-hypervisor6-6.5-20150115.0
rhev-hypervisor6-6.6-20150402.0
ovirt-node-3.2.2-3.el6.noarch

How reproducible:
100%

Steps to Reproduce:
1. Install rhev-hypervisor6-6.5-20150115.0 to vlan host which have 2 nic(one vlan nic & one public nic).
2. Configure network with vlan ID (e.g. 20).
3. TUI upgrade to rhev-hypervisor6-6.6-20150402.0
4. Check network status.
5. Enter network menu, try to config another public nic.
6. Press F2 key to drop to shell mode, run ifconfig command.

Actual results:
1. Step4, vlan network status show as "unknown" after upgrade from 6.5 to 6.6 via TUI.
2. Step5, It will drop to shell directly.
3. Step6, vlan IP can show correctly in shell.

Expected results:
1. Vlan network still can obtain IP after upgrade from 6.5 to 6.6 via TUI.
2. User can config another nic after upgrade.

Additional info:
No such issue when upgrade via RHEVM.

Comment 1 cshao 2015-04-09 09:11:14 UTC
Created attachment 1012585 [details]
vlan.tag.gz

Comment 2 Douglas Schilling Landgraf 2015-04-09 13:25:43 UTC
Hi shaochen,

> Step4, vlan network status show as "unknown" after upgrade from 6.5 to 6.6 via
> TUI.

Could you please provide the steps to upgrade the node via TUI? 

Thanks!

Comment 3 cshao 2015-04-10 02:20:54 UTC
(In reply to Douglas Schilling Landgraf from comment #2)
> Hi shaochen,
> 
> > Step4, vlan network status show as "unknown" after upgrade from 6.5 to 6.6 via
> > TUI.
> 
> Could you please provide the steps to upgrade the node via TUI? 
> 
> Thanks!

1. After finished rhev-hypervisor6-6.5-20150115.0 install and vlan(p3p1 nic) configure, reboot the host. 
2. Enter pxe, choose the latest rhev-hypervisor6-6.6-20150402.0 profile, without doing anything append, and then press enter key directly.
3. It will jump to upgrading process, goes on press enter key, and input password.
4. reoot.

In pxe profile the default BOOTIF=xxx always use the first nic(em1), but the vlan nic is p3p1, maybe the issue is there.

Comment 4 Ryan Barry 2015-04-10 18:29:35 UTC
I'll also see if I can reproduce this on a system with multiple NICs

Comment 5 Fabian Deutsch 2015-04-13 11:19:26 UTC
Maybe this is also related to bug 1209486

Comment 6 Fabian Deutsch 2015-04-20 15:03:18 UTC
This bug is not a duplicate of bug 1209486 or bug 1209401 , because the upgrade in the description goes from 3.4.z to 3.5.1, and that upgrade path is _not_ affected by (at least) bug 1209401.
Also the descirption says that the VLAN device got an ipea, which means that the ip was brought up an d vdsm is there (vdsm is not there in bug 1209401).

Comment 7 Douglas Schilling Landgraf 2015-04-23 01:59:18 UTC
Hi shaochen,

I have tried to reproduce your report:

#1 - Installed rhev-hypervisor6-6.5-20150115.0 with two nics (eth0 and eth1)
#2 - Network tab in TUI
     -> Setup Static IP Address 192.168.1.34
     -> Vlan ID: 100

#3 - Upgraded to rhev-hypervisor6-6.6-20150402.0

#4 - Network tab in TUI 
     -> Try to configure eth1
     TUI display:

     "Confirm Network Settings"
     "Network Configuration detected an already configured NIC. The configuration for that NIC is going to be removed if changes are made. Proceed?"

    I have selected "Yes", later in TUI it shows eth0 as unconfigured as TUI shared previously.


Could you please confirm if this is your report? 

Thanks!

Comment 11 Douglas Schilling Landgraf 2015-04-30 01:05:12 UTC
Hi,

I have reproduced the report:

#1 - Installed rhev-hypervisor6-6.5-20150115.0 with two nics (eth0 and eth1)
#2 - Network tab in TUI
     -> Setup eth1 as static IP Address 192.168.1.34
     -> Vlan ID: 100

#3 - Boot rhev-hypervisor6-6.6-20150402.0 for upgrade adding BOOTIF=eth0 in the
     grub argument, execute the upgrade normally.

#4 - After the upgrade, go to network tab in TUI and eth0 and eth1 will be as
     "unconfigured". However, the vlan settings still persist (eth0.100),
     only TUI display is affected.

Comment 12 Fabian Deutsch 2015-05-05 15:02:32 UTC
I recall something along the lines that the /etc/default/ovirt file was incorrect after the upgrade.

Douglas/Chen, when you reproduce, can you please attach /etc/default/ovirt, I see that it is missing in the sosreport and logs in comment 1.

Comment 13 Douglas Schilling Landgraf 2015-05-05 15:19:25 UTC
(In reply to Fabian Deutsch from comment #12)
> I recall something along the lines that the /etc/default/ovirt file was
> incorrect after the upgrade.
> 
> Douglas/Chen, when you reproduce, can you please attach /etc/default/ovirt,
> I see that it is missing in the sosreport and logs in comment 1.

Hi Fabian,

 I will update the output of file soon but I recall from my last try (last week) that if BOOTIF flag is set to eth0 in the GRUB the /etc/default/ovirt will be update the flag to BOOTIF=eth0 and will show all nics to unconfigured, included the configured nic eth1. However, if I put back BOOTIF=eth1 in /etc/default/ovirt and reboot (or restart the TUI) it shows again eth1 as configured.

Comment 14 cshao 2015-05-12 05:15:24 UTC
Created attachment 1024454 [details]
etc-default-ovirt.png

/etc/default/ovirt

Comment 15 cshao 2015-09-17 08:45:25 UTC
Still can reproduce this bug on latest 7.2 for RHEV3.5 build.

Test version:
rhev-hypervisor-7-7.2-20150913.0
ovirt-node-3.2.3-20.el7.noarch 

Hi dougsland,

Do we need back-port this bug to RHEV-H 7.2 for RHEV 3.5 build after fix this issue?

Thanks!

Comment 16 cshao 2015-09-22 07:18:08 UTC
I can reproduce this issue with below scenario.

1. TUI upgrade from 7.0 GA(rhev-hypervisor7-7.0-20150127) to 7.1 -20150917.0.
2. TUI upgrade from rhev-hypervisor-7-7.2-20150913.0 to itself.

Comment 17 Sandro Bonazzola 2015-10-26 12:29:41 UTC
this is an automated message. oVirt 3.6.0 RC3 has been released and GA is targeted to next week, Nov 4th 2015.
Please review this bug and if not a blocker, please postpone to a later release.
All bugs not postponed on GA release will be automatically re-targeted to

- 3.6.1 if severity >= high
- 4.0 if severity < high

Comment 19 Fabian Deutsch 2015-11-23 15:33:03 UTC
This has been open for a while, and we did not see bugs coming in around this.

Thus I am closing this bug for now, please re-open if necessary.


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