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

Resource provider conflict for lvm_volume_group #197

Open
jflemer-ndp opened this issue Oct 14, 2020 · 0 comments
Open

Resource provider conflict for lvm_volume_group #197

jflemer-ndp opened this issue Oct 14, 2020 · 0 comments

Comments

@jflemer-ndp
Copy link
Contributor

When using the lvm_volume_group resource in v5.0.4, I'm seeing an error (with Chef 13) of:

NoMethodError: undefined method `physical_volumes' for Chef::Resource::BaseLogicalVolume

It looks like two resources both claim to provide lvm_volume_group, and the wrong one is being used. Same wrapper cookbook worked using lvm_volume_group with v5.0.2.

Base resource, which should not be providing lvm_volume_group?

https://github.com/chef-cookbooks/lvm/blob/688f74f1d3d293d3540b77c7a7e5c1e92e26637c/libraries/base_resource_logical_volume.rb#L29-L30

Real/expected resource:

https://github.com/chef-cookbooks/lvm/blob/688f74f1d3d293d3540b77c7a7e5c1e92e26637c/libraries/resource_lvm_volume_group.rb#L29

cc @agwiles

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant