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

Fix yum lockfile error #161

Merged
merged 1 commit into from
Jul 9, 2020
Merged

Fix yum lockfile error #161

merged 1 commit into from
Jul 9, 2020

Conversation

tei-k
Copy link
Contributor

@tei-k tei-k commented Jul 9, 2020

Description

https://scalar-labs.atlassian.net/browse/DLT-6645

fatal: [10.1.5.15]: FAILED! => {"changed": false, "msg": "yum lockfile is held by another process"}

Done

Don't use loop to install yum packages.

loop:
  - A
  - B

$ yum install A (lock)
$ yum install B (lock)

⬇ Fix to

$ yum install A B

Remark

Maybe also need to add lock_timeout (e.g. lock_timeout: 120)

@tei-k tei-k self-assigned this Jul 9, 2020
@tei-k tei-k changed the title [WIP] Fix yum lock error [WIP] Fix yum lockfile error Jul 9, 2020
Copy link
Collaborator

@feeblefakie feeblefakie left a comment

Choose a reason for hiding this comment

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

LGTM !

@feeblefakie feeblefakie merged commit 21d1fb6 into master Jul 9, 2020
@feeblefakie feeblefakie deleted the fix-yum-lock-error branch July 9, 2020 11:10
@tei-k tei-k changed the title [WIP] Fix yum lockfile error Fix yum lockfile error Jul 9, 2020
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