Bug 2172372

Summary: [virtiofs] The warning isn't accurate if failed to start virtiofsd
Product: Red Hat Enterprise Linux 9 Reporter: xiagao
Component: virtiofsdAssignee: German Maglione <gmaglione>
Status: CLOSED MIGRATED QA Contact: xiagao
Severity: low Docs Contact:
Priority: low    
Version: 9.2CC: coli, gmaglione, jinzhao, juzhang, kwolf, lijin, qizhu, slopezpa, vgoyal, virt-maint
Target Milestone: rcKeywords: MigratedToJIRA, Triaged
Target Release: ---Flags: pm-rhel: mirror+
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2023-09-22 16:19:56 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description xiagao 2023-02-22 06:58:13 UTC
Description of problem:
Try to start virtiofsd with wrong options.

# /usr/libexec/virtiofsd ?
error: Found argument '?' which wasn't expected, or isn't valid in this context

USAGE:
    virtiofsd [FLAGS] [OPTIONS] --fd <fd> --socket <socket> --socket-path <socket-path>
-----------------> The must option --shared-dir isn't list here.

For more information try --help


Also try to run viritofsd without any args.
# /usr/libexec/virtiofsd
error: The following required arguments were not provided:
    --fd <fd>
    --socket <socket>
    --socket-path <socket-path>
-----------------> The must option --shared-dir isn't list here.


USAGE:
    virtiofsd --cache <cache> --fd <fd> --inode-file-handles=<inode-file-handles> --log-level <log-level> --sandbox <sandbox> --seccomp <seccomp> --socket <socket> --socket-path <socket-path> --thread-pool-size <thread-pool-size>
-----------------> The must option --shared-dir isn't list here.


Version-Release number of selected component (if applicable):
virtiofsd-1.5.0-1.el9.x86_64


It's not a regression.

Comment 1 German Maglione 2023-02-22 12:01:59 UTC
Since we only support running virtiofsd from libvirt, I'm setting the severity to low.

Comment 2 RHEL Program Management 2023-09-22 16:18:52 UTC
Issue migration from Bugzilla to Jira is in process at this time. This will be the last message in Jira copied from the Bugzilla bug.

Comment 3 RHEL Program Management 2023-09-22 16:19:56 UTC
This BZ has been automatically migrated to the issues.redhat.com Red Hat Issue Tracker. All future work related to this report will be managed there.

Due to differences in account names between systems, some fields were not replicated.  Be sure to add yourself to Jira issue's "Watchers" field to continue receiving updates and add others to the "Need Info From" field to continue requesting information.

To find the migrated issue, look in the "Links" section for a direct link to the new issue location. The issue key will have an icon of 2 footprints next to it, and begin with "RHEL-" followed by an integer.  You can also find this issue by visiting https://issues.redhat.com/issues/?jql= and searching the "Bugzilla Bug" field for this BZ's number, e.g. a search like:

"Bugzilla Bug" = 1234567

In the event you have trouble locating or viewing this issue, you can file an issue by sending mail to rh-issues. You can also visit https://access.redhat.com/articles/7032570 for general account information.