-
Notifications
You must be signed in to change notification settings - Fork 314
[Develop] Support for RHEL9 and Rocky9 #6018
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
Conversation
b5b3c41 to
668c49e
Compare
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## develop #6018 +/- ##
========================================
Coverage 90.21% 90.21%
========================================
Files 181 181
Lines 15827 15827
========================================
Hits 14278 14278
Misses 1549 1549
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Sentry. |
7487e77 to
31158e1
Compare
8517184 to
2d91425
Compare
| log_file_owner_result = self.remote_command_executor.run_remote_command( | ||
| f"stat -c '%U' {log_path}", raise_on_error=False | ||
| ) | ||
| if log_file_owner_result.failed: | ||
| # If failed, it means the `log_path` does not contain files/directories. Use root as the default owner. | ||
| log_file_owner = "root" | ||
| else: | ||
| log_file_owner = log_file_owner_result.stdout.strip() |
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.
Looks like this is repeated, perhaps this should defined as a function? a referenced here and above?
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.
Done
2d91425 to
50ca090
Compare
50ca090 to
87de6f6
Compare
...tegration-tests/tests/update/test_update/test_dynamic_file_systems_update/storage-stack.yaml
Outdated
Show resolved
Hide resolved
66fad31 to
bf971b3
Compare
bf971b3 to
ec42261
Compare
Signed-off-by: Hanwen <hanwenli@amazon.com>
Signed-off-by: Hanwen <hanwenli@amazon.com>
test_multiple_fsx covers the checks in test_fsx_lustre Signed-off-by: Hanwen <hanwenli@amazon.com>
…pdate While testing RHEL9, we found t2.micro does not have enough memory for RHEL9 Signed-off-by: Hanwen <hanwenli@amazon.com>
FYI: the version of Lustre file systems created by pcluster CLI has already been upgraded to 2.12. We forgot to update integration tests code. Signed-off-by: Hanwen <hanwenli@amazon.com>
In many of the operating systems ParallelCluster supported, `root` user could bypass any files permissions. However, with RHEL9 and Rocky9, `root` user could not bypass files permissions by default. Therefore, this commit improves integration tests to operate on files with the owner users of the files Signed-off-by: Hanwen <hanwenli@amazon.com>
Signed-off-by: Hanwen <hanwenli@amazon.com>
The commands prior to this PR do not work with RHEL9. Therefore, we change the logic to use the command from the verified guide. I discussed the change with Giordano. We didn't have any concern. Signed-off-by: Hanwen <hanwenli@amazon.com>
ec42261 to
7bfddc2
Compare
Description of changes
Tests
References
Checklist
developadd the branch name as prefix in the PR title (e.g.[release-3.6]).Please review the guidelines for contributing and Pull Request Instructions.
By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.