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

2016.3 zpool cleanup and fixes #34842

Merged
merged 5 commits into from
Jul 21, 2016
Merged

2016.3 zpool cleanup and fixes #34842

merged 5 commits into from
Jul 21, 2016

Conversation

sjorge
Copy link
Contributor

@sjorge sjorge commented Jul 20, 2016

What does this PR do?

As pointed out in #34770 the zpool exec module is not very robust in regard to vdev type.

This PR skips all the fancy parsing and falls back to the zpool cli's error messages, allowing the hardcoded list of vdev types to be removed.

There is also one small fix for a bug when passing on/off values via the zpool state + tweaks to make the zpool state module work with the updated exec module.

What issues does this PR fix or reference?

#34770

Previous Behavior

Hardcoded list of vdev types

New Behavior

Removed the hardcoded list from the exec module and state module

Tests written?

No

@cachedout cachedout merged commit 5f67318 into saltstack:2016.3 Jul 21, 2016
@sjorge sjorge deleted the 2016.3-zpool-simplifaction branch July 24, 2016 21:22
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

Successfully merging this pull request may close these issues.

None yet

2 participants