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

Checking mysql-community-devel package instead of mysql-devel package in the airgapped installation script when the OS is RHEL9 #2332

Merged
merged 2 commits into from
Feb 18, 2025

Conversation

ShivanshGahlot
Copy link
Collaborator

Why is it needed?
The mysql-devel package is not available in RHEL9. Therefore, we need to install mysql-community-devel instead. Because of this reason, in case of RHEL9 airgapped installation we need to check whether the mysql-community-devel package is installed or not instead of the mysql-devel package.

Describe the changes in this pull request

Describe if there are any user-facing changes

No

How was this pull request tested?

Manually

Does your PR have changes that can cause upgrade issues?

Component Breaking changes?
MetaDB No
Name registry json No
Data File Descriptor Json No
Export Snapshot Status Json No
Import Data State No
Export Status Json No
Data .sql files of tables No
Export and import data queue No
Schema Dump No
AssessmentDB No
Sizing DB No
Migration Assessment Report Json No
Callhome Json No
YugabyteD Tables No
TargetDB Metadata Tables No

… in the airgapped installation script when the OS is RHEL9
Comment on lines 623 to 627
if [ "$majorVersion" -eq 9 ]; then
if [[ "$package" == "mysql-devel" ]]; then
package="mysql-community-devel"
fi
fi
Copy link
Contributor

Choose a reason for hiding this comment

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

Maybe we can simplify:

if [[ "$majorVersion" == "9" && "$package" == "mysql-devel" ]]; then
    package="mysql-community-devel"
fi

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

Done

@ShivanshGahlot ShivanshGahlot merged commit 0b0953d into main Feb 18, 2025
66 checks passed
@ShivanshGahlot ShivanshGahlot deleted the shivansh/airgapped-script-rhel9 branch February 18, 2025 10:54
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.

2 participants