Libvirt Error: virNetSocketReadWire:1791 : End of file while reading data: Input/output error after upgrading to 6.11.5


Recommended Posts

Hiya!

 

After upgrading to 6.11.5 I am seeing the following errors in the libvirt log, about every 10 minutes:

 

2022-11-21 02:38:20.190+0000: 13082: error : virNetSocketReadWire:1791 : End of file while reading data: Input/output error
2022-11-21 02:48:23.307+0000: 13082: error : virNetSocketReadWire:1791 : End of file while reading data: Input/output error
2022-11-21 02:58:26.536+0000: 13082: error : virNetSocketReadWire:1791 : End of file while reading data: Input/output error
2022-11-21 03:08:29.686+0000: 13082: error : virNetSocketReadWire:1791 : End of file while reading data: Input/output error
2022-11-21 03:18:32.955+0000: 13082: error : virNetSocketReadWire:1791 : End of file while reading data: Input/output error

 

Thoughts?

Link to comment

Im living the same issues you are describing...however my VM will not shutdown clean...runs fine during the day.

If I try a grace full shutdown the system locks up and I need to power down to restart.

Also something occurs overnight as in the morning I find its locked up...again I need to power down to restart as a Grace full shutdown locks up unraid.

Link to comment
13 minutes ago, SimonF said:

There messages are likely due to the virsh client disconnecting from libvirtd are you running VMBackup or similar plugins?

I am running VMBackup.  No other VM related plugins though.  Is this typical behavior for a plugin such as VMBackup to cause a connect/disconnect which generates a libvert I/O error every ten minutes?  Is this a reportable bug?  VMBackup?  Libvert? UnRaid?

Link to comment
34 minutes ago, Green Dragon said:

I am running VMBackup.  No other VM related plugins though.  Is this typical behavior for a plugin such as VMBackup to cause a connect/disconnect which generates a libvert I/O error every ten minutes?  Is this a reportable bug?  VMBackup?  Libvert? UnRaid?

Not sure dont use VMBackup. Do you want to post diagnostics for review to see if I can see anything. Libvirt has been the same since 6.11.1 did you have the issue pre 6.11.5? Maybe related to something else.

Link to comment
4 hours ago, bosswaz said:

Solved my problem by isolating iommu for my radeon video card and then binding to vfio...in the tools system devices tab...took a long while to find the solution but im happier now...

Awesome!  Could it be as simple as me needing to bind the 'Serial bus controller: Intel Corporation Comet Lake' to iommu for my 2003 server qemu issue referenced above?

Link to comment
  • 1 month later...
On 11/20/2022 at 9:01 PM, Green Dragon said:

Also found that If I stop all VMs, disable VMs, then enable VMs the libvirt service fails to start.  A complete reboot of UnRaid is required to get VMs working again.


I have the exact same issue, I am running portainer (docker images) inside a VM, wondering if some weird VTx issue, I only started noticing on the last 2/3 versions of unraid.

Link to comment
  • 2 weeks later...
On 11/21/2022 at 5:01 AM, Green Dragon said:

Also found that If I stop all VMs, disable VMs, then enable VMs the libvirt service fails to start.  A complete reboot of UnRaid is required to get VMs working again.

 

I also have these errors in the libvirt log every 10 minutes. My system behaves exactly the same way. After a reboot, the VM run again, the log entries come back.

 

My behavior is in this thread

 

Link to comment

I just started having this same issue after changing all of my cache mounts from referencing user to the cache drives name because I saw a youtube video about IO Wait.  Changed the 2 path settings in the VM config back and still have the issue. it's a home assistant VM if anyone cares.  I was having rebooting issues before today, but I found a message regarding insufficient memory, which I think I solved by changing the memory settings for the VM, so probably unrelated.

 

Reboot didn't do anything.  Tried creating a new debian VM and that wont start either.  Diagnostics attached are from after reboot and Debian attempt/test.

nastheripper-diagnostics-20230119-1642.zip

Link to comment
  • 1 month later...

I'm getting these errors too every 10 min. I rebuilt my unRAID flash from scratch and setup everything manually again one by one to track down another issue and noticed it happening. Not sure where to look for a further trace stack on the error.

 

I suspect this is happening to quite a few people?

Link to comment

+1 seeing the same issue, 10min like clockwork
 

2023-03-01 13:47:51.553+0000: 11837: info : libvirt version: 8.7.0
2023-03-01 13:47:51.553+0000: 11837: info : hostname: jdstorage5
2023-03-01 13:47:51.553+0000: 11837: error : virNetSocketReadWire:1791 : End of file while reading data: Input/output error
2023-03-01 13:57:52.293+0000: 11837: error : virNetSocketReadWire:1791 : End of file while reading data: Input/output error
2023-03-01 14:07:53.041+0000: 11837: error : virNetSocketReadWire:1791 : End of file while reading data: Input/output error
2023-03-01 14:17:53.774+0000: 11837: error : virNetSocketReadWire:1791 : End of file while reading data: Input/output error
2023-03-01 14:27:54.536+0000: 11837: error : virNetSocketReadWire:1791 : End of file while reading data: Input/output error
2023-03-01 14:37:55.269+0000: 11837: error : virNetSocketReadWire:1791 : End of file while reading data: Input/output error
2023-03-01 14:47:56.013+0000: 11837: error : virNetSocketReadWire:1791 : End of file while reading data: Input/output error
2023-03-01 14:57:56.750+0000: 11837: error : virNetSocketReadWire:1791 : End of file while reading data: Input/output error
2023-03-01 15:07:57.579+0000: 11837: error : virNetSocketReadWire:1791 : End of file while reading data: Input/output error
2023-03-01 15:17:58.364+0000: 11837: error : virNetSocketReadWire:1791 : End of file while reading data: Input/output error
2023-03-01 15:27:59.206+0000: 11837: error : virNetSocketReadWire:1791 : End of file while reading data: Input/output error
2023-03-01 15:38:00.373+0000: 11837: error : virNetSocketReadWire:1791 : End of file while reading data: Input/output error
2023-03-01 15:48:01.279+0000: 11837: error : virNetSocketReadWire:1791 : End of file while reading data: Input/output error
2023-03-01 15:58:02.275+0000: 11837: error : virNetSocketReadWire:1791 : End of file while reading data: Input/output error
2023-03-01 16:08:03.318+0000: 11837: error : virNetSocketReadWire:1791 : End of file while reading data: Input/output error
2023-03-01 16:18:04.442+0000: 11837: error : virNetSocketReadWire:1791 : End of file while reading data: Input/output error
2023-03-01 16:28:05.263+0000: 11837: error : virNetSocketReadWire:1791 : End of file while reading data: Input/output error

 

Edited by darxtorm
Link to comment
  • 2 weeks later...
2 hours ago, reboot81 said:

Same issue here.

virNetSocketReadWire:1791 : End of file while reading data: Input/output error

 

VM (WS2019) no longer booting. The vdisk contains "C:" (verified by mounting it) but the VM doesn't see the drive at boot and fails.

 

 6.11.5

Suggest you raise own support thread and post diagnostics

Link to comment

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.