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

vdo: no longer works in RHEL 9 #8810

Open
1 task done
roffery opened this issue Aug 27, 2024 · 3 comments
Open
1 task done

vdo: no longer works in RHEL 9 #8810

roffery opened this issue Aug 27, 2024 · 3 comments
Labels
bug This issue/PR relates to a bug module module plugins plugin (any type)

Comments

@roffery
Copy link

roffery commented Aug 27, 2024

Summary

Using community.general.vdo module plugin in RHEL 9 and variants results in the following:

msg: 'Failed to find required executable "vdo" in paths: /sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin'

vdo in RHEL 9 is now built into LVM instead of having a standalone service and program.

Issue Type

Bug Report

Component Name

vdo

Ansible Version

$ ansible --version
ansible [core 2.16.9]
  config file = /root/.ansible.cfg
  configured module search path = ['/root/.ansible/plugins/modules', '/usr/share/ansible/plugins/modules']
  ansible python module location = /usr/local/lib/python3.12/site-packages/ansible
  ansible collection location = /root/collections:/root/.ansible/collections
  executable location = /usr/local/bin/ansible
  python version = 3.12.5 (main, Aug 13 2024, 01:30:38) [GCC 12.2.0] (/usr/local/bin/python)
  jinja version = 3.1.4
  libyaml = True

Community.general Version

$ ansible-galaxy collection list community.general

# /root/.ansible/collections/ansible_collections
Collection        Version
----------------- -------
community.general 8.6.3

Configuration

No response

OS / Environment

No response

Steps to Reproduce

- name: Manage LV VDO
  community.general.vdo:
    name: 'myvol'
    device: '/dev/myvg/myvol'
    logicalsize: '100G'

Expected Results

Manage VDO

Actual Results

Failed to find required executable "vdo" in paths: /sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin

Code of Conduct

  • I agree to follow the Ansible Code of Conduct
@ansibullbot
Copy link
Collaborator

@ansibullbot ansibullbot added bug This issue/PR relates to a bug module module plugins plugin (any type) labels Aug 27, 2024
@roffery
Copy link
Author

roffery commented Aug 27, 2024

FWIW, command to convert a non-VDO LV to a VDO LV:

lvconvert --type vdo-pool -n vdo-myvol -V 100G myvg/myvol

@felixfontein
Copy link
Collaborator

--type vdo-pool is also available on Arch's lvconvert. The lvm changelog will probably be useful when trying to figure out from when exactly it's supported: https://sourceware.org/git/?p=lvm2.git;a=blob_plain;f=WHATS_NEW;hb=HEAD.

@ansible-collections ansible-collections deleted a comment Aug 27, 2024
@russoz russoz changed the title community.general.vdo no longer works in RHEL 9 vdo: no longer works in RHEL 9 Oct 10, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug This issue/PR relates to a bug module module plugins plugin (any type)
Projects
None yet
Development

No branches or pull requests

4 participants
@felixfontein @ansibullbot @roffery and others