Bug 1996098

Summary: [RFE] Provide options for 'Disable Spice file transfer', 'Disable spice clipboard copy and paste'
Product: Red Hat Enterprise Virtualization Manager Reporter: Abhishekh Patil <abpatil>
Component: ovirt-ansible-collectionAssignee: Martin Necas <mnecas>
Status: CLOSED ERRATA QA Contact: Barbora Dolezalova <bdolezal>
Severity: medium Docs Contact:
Priority: medium    
Version: 4.4.7CC: apinnick, dfodor, emarcus, lrotenbe, mavital, michal.skrivanek, mperina, mtessun
Target Milestone: ovirt-4.5.1Keywords: FutureFeature
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
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.
Story Points: ---
Clone Of: Environment:
Last Closed: 2022-07-14 12:55:59 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: Infra RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On: 2001808    
Bug Blocks:    

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