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

Quietly handle manually created snapshots #42

Open
tux-o-matic opened this issue Mar 8, 2016 · 0 comments
Open

Quietly handle manually created snapshots #42

tux-o-matic opened this issue Mar 8, 2016 · 0 comments

Comments

@tux-o-matic
Copy link
Contributor

Today when using the Gluster snapshot feature, a Puppet run will generate a notify and potentially a rather long one because of the path change for bricks.

notify{ "unable to resolve brick changes for Gluster volume ${title}!\nDefined: ${_bricks}\nCurrent: ${vol_bricks}": }

Gluster, by default uses a known path for snapshots (/run/gluster/snaps/) which will include the name of the snapshot or a UID and the name of the volume. Something like:

/run/gluster/snaps/123456789abcdef/storage_gv

By adding the common part of the path used by snapshots as a class parameter in volume.pp, and using ${title} we could have quiet Puppet run without long and confusing Puppet events.

And maybe down the line it will open the door for managing snapshots fully from the module.

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