-
Notifications
You must be signed in to change notification settings - Fork 23
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
feat: Support mssql-server 2022 preview on RHEL 9 #237
Conversation
[citest] |
[citest] |
lgtm - should the rhel 9.4 tests be passing? |
they must, there is some issue in cleanup. Also, Fedora tests are failing, due to /etc/yum.conf not present on Fedora, I'll fix support for Fedora in another PR to keep things clean. |
[citest] |
- Add --noprompt to suppress "This is a preview version" and other messages when setting up mssql server - vars/RedHat.yml for RHEL 9 that only supports SQL Server 2022 - Use tests/tasks/assert_fail_on_unsupported_ver.yml for general version assert
[citest] |
Setting up mssql on RHEL 9.3 and 9.4 works for me locally. |
[citest bad] |
[citest] |
[citest] |
[citest] |
* Add README entry * Add tests_selinux_enforcing.yml to test enforcing * In other tests, for RHEL 9 set mssql_run_selinux_confined and mssql_manage_selinux to `true` * Make the role fail with informative error message when the variables are used on unsupported systems or used with incorrect SELinux mode
[citest] |
1 similar comment
[citest] |
[citest] |
Let's wait with merging until reviews and comments in email thread are resolved. |
[citest] |
[citest bad] |
1 similar comment
[citest bad] |
Enhancement: Support mssql-server 2022 preview on RHEL 9
Reason: Microsoft added SQL Server 2022 preview for RHEL 9 at https://packages.microsoft.com/rhel/9/mssql-server-preview/
Result: You can install SQL Server 2022 on RHEL 9. The role adds two variables:
mssql_run_selinux_confined to control whether to run SQL Server as a confined application or not.
true
, the role installs themssql-server-selinux
package.false
, the role removes themssql-server-selinux
package.Default:
true
for RHEL 9 managed nodes andfalse
for not RHEL 9 managed nodesmssql_manage_selinux to control whether to configure SELinux with the
enforcing
orpermissive
mode based on the value of themssql_run_selinux_confined
variable.Issue Tracker Tickets (Jira or BZ if any): https://issues.redhat.com/browse/RHELBU-2407