-
Notifications
You must be signed in to change notification settings - Fork 5.5k
Add ceph to the specialFSes to match on name for set_fstab #68203
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
base: master
Are you sure you want to change the base?
Add ceph to the specialFSes to match on name for set_fstab #68203
Conversation
Hi there! Welcome to the Salt Community! Thank you for making your first contribution. We have a lengthy process for issues and PRs. Someone from the Core Team will follow up as soon as possible. In the meantime, here’s some information that may help as you continue your Salt journey. There are lots of ways to get involved in our community. Every month, there are around a dozen opportunities to meet with other contributors and the Salt Core team and collaborate in real time. The best way to keep track is by subscribing to the Salt Community Events Calendar. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please create a changelog (requires an issue) and write a test for this.
1ae3b15
to
4203cf4
Compare
I added a unit test and a changelog entry |
Add unit test for set_fstab that covers the case of specialFSes
4203cf4
to
ec328a3
Compare
What does this PR do?
Add cephfs to the set of FSes that are being matched by name instead of device in set_fstab
What issues does this PR fix or reference?
It's common to have multiple cephfs'es in fstab that share the same device. Currently
match_on: name
must be explicitly set to correctly handle this case.Previous Behavior
match_on: name
is required to be explicitly set when adding multiple cephfs mountpoints that share the same deviceNew Behavior
match_on: auto
default value is sufficientMerge requirements satisfied?
[NOTICE] Bug fixes or features added to Salt require tests.
Commits signed with GPG?
No
Closes #68207