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

Catalog compilation fails with: no parameter named 'yes_flag' #316

Open
andylytical opened this issue Aug 27, 2023 · 4 comments
Open

Catalog compilation fails with: no parameter named 'yes_flag' #316

andylytical opened this issue Aug 27, 2023 · 4 comments
Labels

Comments

@andylytical
Copy link

Describe the Bug

Error: Could not retrieve catalog from remote server: Error 500 on SERVER: Server Error: no parameter named 'yes_flag' (file: /etc/puppetlabs/code/environments/SVCPLAN_3734_jsm_setup/modules/lvm/manifests/logical_volume.pp, line: 126) on Logical_volume[backups]

Expected Behavior

Puppet should compile the catalog and create the LV.

Steps to Reproduce

Steps to reproduce the behavior:

  1. Heira data:
lvm::volume_groups:
  vg_backups:
    createonly: true
    physical_volumes:
      /dev/sdc:
        unless_vg: "vg_backups"
    logical_volumes:
      backups:
        fs_type: "xfs"
        mountpath: "/backups"
  1. Puppet module:
include ::lvm
  1. Run puppet

Environment

  • Version 2.0.3
  • Platform Red Hat Enterprise Linux 9.2 (Plow)
  • Puppet version 7.26.0

Additional Context

This is possible only after fixing #315, which I think I have a fix for (https://github.com/ncsa/puppet-lvm/tree/aloftus/fix_pvcreate), but now running into this issue.

@andylytical
Copy link
Author

I applied the fix for #315 to commit c437d99 and all works fine; PVs, VGs, LVs all created as expected (my test is at https://github.com/andylytical/puppetlabs-lvm/tree/alt_fix_vgcreate).

I think that confirms this bug was introduced by 22ba15e

@mouchymouchy
Copy link

Same here, did you solve this issue ?

@andylytical
Copy link
Author

@mouchymouchy both are fixed in the branch I noted above "alt_fix_vgcreate".

Was hoping to hear back on my question in #315, but radio silence, so not sure how maintainer wants to handle a PR.

@flepoutre
Copy link

Hello, same here too ...
Any news please ?
Thanks.

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

No branches or pull requests

3 participants