Bug 2026722 - IP configuration is lost in Windows machines after upgrading the virtio-win drivers
Summary: IP configuration is lost in Windows machines after upgrading the virtio-win d...
Keywords:
Status: ON_QA
Alias: None
Product: Red Hat Enterprise Linux 9
Classification: Red Hat
Component: virtio-win
Version: 9.2
Hardware: x86_64
OS: Windows
unspecified
medium
Target Milestone: rc
: ---
Assignee: Vadim Rozenfeld
QA Contact: Wenkang Ji
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2021-11-25 15:39 UTC by Juan Orti
Modified: 2023-08-15 06:52 UTC (History)
11 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2022-01-04 02:49:45 UTC
Type: Bug
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Issue Tracker RHELPLAN-103971 0 None None None 2021-11-25 15:40:16 UTC
Red Hat Knowledge Base (Solution) 5677121 0 None None None 2022-03-24 04:31:17 UTC

Description Juan Orti 2021-11-25 15:39:59 UTC
Description of problem:
In bug 1898985 the documentation for upgrading the virtio-win drivers was updated to recommend using Windows update or using "netsh dump" to save the network configuration and then restore it.

This is risky or not feasible for several reasons:

- Windows update only works for Windows 2019. Older versions like 2016 are not getting the drivers.
- netsh dump poses some risk for VMs with multiple NICs for iSCSI, Windows clustering, backup etc.
- Dump transfer via netsh is not identical (this is problem of the netsh utility).
- netsh method is a potencial risky operation when you have to update hundreds of production VMs.

Version-Release number of selected component (if applicable):
virtio-win-1.9.19-1.el8.noarch

How reproducible:
Always

Steps to Reproduce:
1. Have Windows VM with static IP and an old version of virtio-win.
2. Run the installer virtio-win-guest-tools.exe

Actual results:
IP configuration is lost.

Expected results:
IP configuration preserved and drivers and qemu-ga updated.

Additional info:
We have seen that if you first update the NIC drivers and then run the installer, the IP configuration is preserved.

So the proposal for this bug is to modify the installer so it performs these steps in order:

1. Update NIC driver.
2. Remove old versions of the agent.
3. Upgrade everything else.

Comment 1 leidwang@redhat.com 2021-11-26 03:07:08 UTC
Hi Vadim,

I found two related bugs.The current solution is to warn users when they want to remove or upgrade the driver.
But currently bz2005220 has not been fixed.So we can not recive any warning now.
So is this bug a duplicate of 2005220?

https://bugzilla.redhat.com/show_bug.cgi?id=1965552
https://bugzilla.redhat.com/show_bug.cgi?id=2005220

Comment 2 Vadim Rozenfeld 2021-11-26 09:14:59 UTC
(In reply to leidwang from comment #1)
> Hi Vadim,
> 
> I found two related bugs.The current solution is to warn users when they
> want to remove or upgrade the driver.
> But currently bz2005220 has not been fixed.So we can not recive any warning
> now.
> So is this bug a duplicate of 2005220?
> 
> https://bugzilla.redhat.com/show_bug.cgi?id=1965552
> https://bugzilla.redhat.com/show_bug.cgi?id=2005220

Well, technically the problem with warning the user needed to be split
into two different parts :
- .msi (https://bugzilla.redhat.com/show_bug.cgi?id=1965552) - FIXED
- and the bundler (.exe) https://bugzilla.redhat.com/show_bug.cgi?id=2005220 - this problem is a way more complicated than .msi and is not fixed yet.

All the best,
Vadim.

Comment 3 leidwang@redhat.com 2022-01-04 02:49:45 UTC
According to comment2,close this bz as duplicate of bz2005220. 
Please reopen it if I misunderstood something.

*** This bug has been marked as a duplicate of bug 2005220 ***

Comment 7 leidwang@redhat.com 2022-02-08 03:09:39 UTC
The bug reproducer is the same as https://bugzilla.redhat.com/show_bug.cgi?id=2005220, so I set qa_ack to +. Thanks!

Comment 22 Peixiu Hou 2023-07-13 01:34:09 UTC
Hi Vadim,

Do we have any progress for this bug? It's ITR is 9.3.0~

Thanks~
Peixiu

Comment 23 Vadim Rozenfeld 2023-07-13 01:41:51 UTC
(In reply to Peixiu Hou from comment #22)
> Hi Vadim,
> 
> Do we have any progress for this bug? It's ITR is 9.3.0~
> 
> Thanks~
> Peixiu

Hi Peixiu,
It is an installer related issue. I'm going to start working on it 
after virtio-win drivers code freeze. 

Best,
Vadim.

Comment 24 Peixiu Hou 2023-07-13 06:43:23 UTC
(In reply to Vadim Rozenfeld from comment #23)
> (In reply to Peixiu Hou from comment #22)
> > Hi Vadim,
> > 
> > Do we have any progress for this bug? It's ITR is 9.3.0~
> > 
> > Thanks~
> > Peixiu
> 
> Hi Peixiu,
> It is an installer related issue. I'm going to start working on it 
> after virtio-win drivers code freeze. 
> 

ok, thanks~

> Best,
> Vadim.


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