Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ovirt_disk module fails with name 'client' is not defined on remote host #675

Open
agschwind opened this issue Feb 1, 2023 · 1 comment
Labels
bug Something isn't working

Comments

@agschwind
Copy link

SUMMARY

When running ovirt_disk module on remote host by delegation it fails with the following message:
msg: name 'client' is not defined

COMPONENT NAME

ovirt_disk
collection ovirt.ovirt 3.0.0

STEPS TO REPRODUCE
- name: 'Copy ISO to REVM'
  ovirt.ovirt.ovirt_disk:
    auth: '{{ ovirt_auth }}'          # noqa: args[module]
    name: 'file.iso'
    upload_image_path: '/media/remaster/file.iso'
    storage_domain: 'My_Storage_Domain'
    content_type: 'iso'
    format: 'raw'
    timeout: 300
    wait: true
  delegate_to: 'remote.host.com'

##### EXPECTED RESULTS
ok: [localhost -> remote.host.com]

##### ACTUAL RESULTS

fatal: [localhost -> remote.host.com]: FAILED! => changed=false 
 msg: name 'client' is not defined

Thanks

@agschwind agschwind added the bug Something isn't working label Feb 1, 2023
@mnecas
Copy link
Member

mnecas commented Feb 27, 2023

Does the remote server have ovirt imageio?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants