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

Add a test for cluster_md with gfs2 #21074

Merged
merged 1 commit into from
Jan 30, 2025

Conversation

alvarocarvajald
Copy link
Contributor

This commit allows the ha/filesystem test module to format the filesystem for the cluster_md resource test as either an ocfs2 filesystem or a gfs2 filesystem. Support for gfs2 has ben added in the later versions of SLES 15, so this module has been configured to:

  • Select ocfs2 by default on SLES 15
  • Select gfs2 by default on SLES 16
  • Allow the default selection to be overwritten by the setting HA_CLUSTER_MD_FS_TYPE

Changes apply only when configuring a cloned filesystem (a filesystem which is active in all nodes of the cluster). Primary/secondary filesystem resources such as drbd will still use xfs.

  • Related ticket: N/A
  • Needles: N/A

Verification runs

Copy link
Contributor

@lpalovsky lpalovsky left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@alvarocarvajald
Copy link
Contributor Author

alvarocarvajald commented Jan 29, 2025

Added some VRs on 12-SP5 just to ensure nothing breaks: node 1, node 2, support server 🟢

Copy link
Contributor

@mpagot mpagot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

This commit allows the `ha/filesystem` test module to format the
filesystem for the cluster_md resource test as either an ocfs2 filesystem
or a gfs2 filesystem. Support for gfs2 has ben added in the later
versions of SLES 15, so this module has been configured to:

- Select ocfs2 by default on SLES 15
- Select gfs2 by default on SLES 16
- Allow the default selection to be overwritten by the setting
  **HA_CLUSTER_MD_FS_TYPE**

Changes apply only when configuring a cloned filesystem (a filesystem
which is active in all nodes of the cluster). Primary/secondary
filesystem resources such as drbd will still use xfs.
@alvarocarvajald alvarocarvajald merged commit 828cf6f into os-autoinst:master Jan 30, 2025
10 checks passed
@alvarocarvajald alvarocarvajald deleted the gfs2-test branch January 30, 2025 08:36
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.

3 participants