Bug 1996098 - [RFE] Provide options for 'Disable Spice file transfer', 'Disable spice clipboard copy and paste'
Summary: [RFE] Provide options for 'Disable Spice file transfer', 'Disable spice clipb...
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Enterprise Virtualization Manager
Classification: Red Hat
Component: ovirt-ansible-collection
Version: 4.4.7
Hardware: Unspecified
OS: Unspecified
medium
medium
Target Milestone: ovirt-4.5.1
: ---
Assignee: Martin Necas
QA Contact: Barbora Dolezalova
URL:
Whiteboard:
Depends On: 2001808
Blocks:
TreeView+ depends on / blocked
 
Reported: 2021-08-20 14:29 UTC by Abhishekh Patil
Modified: 2022-08-07 12:45 UTC (History)
8 users (show)

Fixed In Version: ovirt-ansible-collection-2.0.5
Doc Type: Enhancement
Doc Text:
The copy_paste_enabled and file_transfer_enabled options were added to the ovirt_vm Ansible module.
Clone Of:
Environment:
Last Closed: 2022-07-14 12:55:59 UTC
oVirt Team: Infra
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Github oVirt ovirt-ansible-collection pull 339 0 None Merged ovirt_vm: Add display file_transfer_enabled and copy_paste_enabled 2022-06-08 08:32:51 UTC
Red Hat Issue Tracker RHV-43074 0 None None None 2021-08-20 14:30:12 UTC
Red Hat Knowledge Base (Solution) 6543141 0 None None None 2021-11-28 12:24:22 UTC
Red Hat Product Errata RHBA-2022:5584 0 None None None 2022-07-14 12:56:08 UTC

Description Abhishekh Patil 2021-08-20 14:29:24 UTC
Description of problem:

[RFE] Provide options for 'Disable Spice file transfer', 'Disable spice clipboard copy and paste' and 'attach guest tools iso' in ovirt_vm ansible module.

Comment 2 Martin Necas 2021-09-07 08:59:19 UTC
Hi,
I was able to add the following parameters to the ansible:
>. Disable Spice file transfer
>. Disable spice clipboard copy and paste

As for the:
>. Attach guest tools iso
I have created another issue, we need to add the capability to the API first.

Comment 3 Liran Rotenberg 2021-09-13 14:12:53 UTC
About the virtio-win attachment:
Is it for the OS installation? How it is automated?

Comment 4 Abhishekh Patil 2021-09-17 10:13:25 UTC
(In reply to Liran Rotenberg from comment #3)
> About the virtio-win attachment:
> Is it for the OS installation? How it is automated?

Yes, this is for VM OS installation. They are using ovirt_vm ansible module.

Comment 5 Sandro Bonazzola 2022-03-29 16:16:40 UTC
We are past 4.5.0 feature freeze, please re-target.

Comment 6 Michal Skrivanek 2022-04-27 14:14:15 UTC
you can attach virtio-win the same way as any other CD. I don't think we need a special option for this.

Comment 7 Martin Perina 2022-06-09 08:33:46 UTC
Options copy_paste_enabled and file_transfer_enabled have been added to ovirt_vm Ansibe moudle, as BZ2001808 was deferred we are not going to provide special option to attach virtio-win CD.

Comment 9 Barbora Dolezalova 2022-06-16 14:40:04 UTC
Verified in ovirt-ansible-collection-2.1.0-1.el8ev.noarch
Example: 
  - name: Enable file transfer and copy and paste
      ovirt_vm:
        auth: "{{ ovirt_auth }}"
        name: "{{ vm_name }}"
        graphical_console:
          protocol:
            - spice
          copy_paste_enabled: true
          file_transfer_enabled: false

Note: Protocol parameter needs to be specified.       
Fixed in: https://github.com/oVirt/ovirt-ansible-collection/pull/542

Comment 14 errata-xmlrpc 2022-07-14 12:55:59 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 (RHV Engine and Host Common Packages 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:5584

Comment 15 meital avital 2022-08-07 12:45:41 UTC
Due to QE capacity, we are not going to cover this issue in our automation


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