Uploaded image for project: 'RHEL'
  1. RHEL
  2. RHEL-16220

Not able to use same argument multiple times

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Blocker Blocker
    • rhel-9.4
    • rhel-9.2.0.z
    • virtiofsd
    • None
    • None
    • None
    • ZStream
    • rhel-sst-virtualization-storage
    • ssg_virtualization
    • None
    • False
    • Hide

      None

      Show
      None
    • None
    • None
    • Approved Blocker
    • None
    • RegressionOnly
    • None

      By default, clap  does not allow to provide the same argument more than
      once, for instance if we call:
      `virtiofsd --xattr --xattr ...`

      it will show the following error:
      `error: The argument '--xattr' was provided more than once, but cannot
      be used multiple times`

      This is not compatible with the C version, and also it breaks the use of
      annotations in Kata:
      `io.katacontainers.config.hypervisor.virtio_fs_extra_args`
      it appends the extra arguments to the default ones used by Kata,
      failing to start the pod if a duplicated argument is provided, for
      instance `--thread-pool-size=`.

              virt-maint virt-maint
              mrezanin Miroslav Rezanina
              virt-maint virt-maint
              Tingting Mao Tingting Mao
              Votes:
              0 Vote for this issue
              Watchers:
              10 Start watching this issue

                Created:
                Updated:
                Resolved: