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

[Platform] Support for installing epel-release in Amazon Linux #4561

Closed
ajcaldera1 opened this issue May 22, 2020 · 1 comment
Closed

[Platform] Support for installing epel-release in Amazon Linux #4561

ajcaldera1 opened this issue May 22, 2020 · 1 comment
Assignees
Labels
area/platform Yugabyte Platform
Milestone

Comments

@ajcaldera1
Copy link
Contributor

Currently the platform ansible script tries to yum install epel-release on all "RedHat" platforms. We should update the ansible playbooks to check for the Amazon distribution: (ansible_distribution == "Amazon") and do the correct step of sudo amazon-linux-extras install -y epel. Then further commands like installing packages like s3cmd will proceed normally.

@ajcaldera1 ajcaldera1 added the area/platform Yugabyte Platform label May 22, 2020
@rkarthik007 rkarthik007 changed the title [Platform] Method to install epel-release is incorrect for Amazon Linux [Platform] Support for installing epel-release in Amazon Linux Jun 1, 2020
@iSignal iSignal assigned mchiddy and unassigned ramkumarvs Jun 8, 2020
mchiddy added a commit that referenced this issue Jun 24, 2020
Summary:
Added support for installing epel-release in Amazon Linux. Amazon Linux machines have a
special command to install the epel release packages.

Test Plan:
Ensured that provision part of create universe workflow now works on Amazon Linux
machines and does not fail on default RedHat machines.

Reviewers: sanketh, alan, ram, wesley

Reviewed By: wesley

Subscribers: jenkins-bot, muthu, yugaware

Differential Revision: https://phabricator.dev.yugabyte.com/D8699
@rkarthik007
Copy link
Collaborator

Addressed as a part of #3572

@rkarthik007 rkarthik007 added this to the v2.2 milestone Jul 6, 2020
deeps1991 pushed a commit to deeps1991/yugabyte-db that referenced this issue Jul 22, 2020
Summary:
Added support for installing epel-release in Amazon Linux. Amazon Linux machines have a
special command to install the epel release packages.

Test Plan:
Ensured that provision part of create universe workflow now works on Amazon Linux
machines and does not fail on default RedHat machines.

Reviewers: sanketh, alan, ram, wesley

Reviewed By: wesley

Subscribers: jenkins-bot, muthu, yugaware

Differential Revision: https://phabricator.dev.yugabyte.com/D8699
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/platform Yugabyte Platform
Projects
None yet
Development

No branches or pull requests

5 participants