Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.
RHEL Engineering is moving the tracking of its product development work on RHEL 6 through RHEL 9 to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "RHEL project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs in the statuses "NEW", "ASSIGNED", and "POST" are being migrated throughout September 2023. Bugs of Red Hat partners with an assigned Engineering Partner Manager (EPM) are migrated in late September as per pre-agreed dates. Bugs against components "kernel", "kernel-rt", and "kpatch" are only migrated if still in "NEW" or "ASSIGNED". If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "RHEL project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/RHEL-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.

Bug 2005802

Summary: spice-vdagent: udscs_connect: Could not connect: No such file or directory
Product: Red Hat Enterprise Linux 8 Reporter: Michal Odehnal <modehnal>
Component: spice-vdagentAssignee: Victor Toso <victortoso>
Status: CLOSED ERRATA QA Contact: Tomas Pelka <tpelka>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 8.5CC: rduda, tpelka, uril, victortoso
Target Milestone: rcFlags: pm-rhel: mirror+
Target Release: ---   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Fixed In Version: spice-vdagent-0.20.0-4.el8 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2022-05-10 14:16:33 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Attachments:
Description Flags
journal flood none

Description Michal Odehnal 2021-09-20 08:36:51 UTC
Created attachment 1824563 [details]
journal flood

Description of problem:
Journal is flooded with messages:
spice-vdagent: udscs_connect: Could not connect: No such file or directory

Version-Release number of selected component (if applicable):
spice-vdagent-0.20.0-3.el8.x86_64

How reproducible:
100%

Steps to Reproduce:
1. journalctl -fa
2.
3.

Actual results:
Journal being flooded with messages.

Expected results:
Not flooded with messages.

Additional info:

Comment 1 Uri Lublin 2021-10-05 11:13:58 UTC
Hi Michal,


Is spice-vdagentd running on the guest ?
Please provide "Steps to Reproduce:"
Please also provide the host OS and version of qemu-kvm and spice-server.

Is the guest running on VMware infrastructure -- the following lines appear in the log:
  Sep 17 22:08:37.179622 spice-s2230q-02-vm5.spice.lab.eng.brq.redhat.com vmware-user.desktop[465095]: vmware-user: could not open /proc/fs/vmblock/dev
  Sep 17 22:08:37.201676 spice-s2230q-02-vm5.spice.lab.eng.brq.redhat.com vmware-user.desktop[465095]: Error: /usr/bin/vmtoolsd must be run inside a virtual machine on a VMware hypervisor product.

Comment 6 Uri Lublin 2021-10-05 13:02:08 UTC
The attached log contains many lines saying:
  spice-vdagent[89339]: udscs_connect: Could not connect: No such file or directory

There are several pids and each tries to connect, each every second.

The spice-vdagent code indeed tries to connect to spice-vdagentd and upon
failure it write an error message and retries after 1 second, in
  src/vdagent/vdagent.c: vdagent_init_async_cb() is calling udscs_connect

Comment 8 Victor Toso 2021-12-20 18:41:49 UTC
> Expected results:
> Not flooded with messages.

Fix ongoing review: https://gitlab.freedesktop.org/spice/linux/vd_agent/-/merge_requests/39

Comment 9 Victor Toso 2021-12-21 20:09:01 UTC
Merged upstream.

Setting devel_ack+
Setting ITM -> 8.6.0
Setting next DTM -> 17
Setting ITM -> 20, just to be able to roll the build. Please, feel free to change as needed.

Comment 14 errata-xmlrpc 2022-05-10 14:16:33 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory (spice-vdagent bug fix and enhancement update), and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

https://access.redhat.com/errata/RHBA-2022:1909