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

Yum lockfile is held by another process #1165

Closed
jamesmontalvo3 opened this issue May 28, 2019 · 2 comments · Fixed by #1182
Closed

Yum lockfile is held by another process #1165

jamesmontalvo3 opened this issue May 28, 2019 · 2 comments · Fixed by #1182

Comments

@jamesmontalvo3
Copy link
Contributor

jamesmontalvo3 commented May 28, 2019

Environment

  • Machine or Virtual Machine details: Travis CI job #4
  • Operating System: CentOS
  • meza version hash: Many versions recently, perhaps since Ansible 2.8 release

Issue details

Intermittent errors on Travis CI job #4 (test_type = backup-to-remote). Error is:

TASK [base : ensure deltarpm is installed and latest] **************************
Monday 27 May 2019  23:34:52 +0000 (0:00:01.223)       0:00:22.767 ************
fatal: [172.17.0.2]: FAILED! => {
    "changed": false
}
MSG:
yum lockfile is held by another process
ok: [172.17.0.3]
ok: [localhost]

Note that this error is on 172.17.0.2, but not on 172.17.0.3 or localhost. localhost is, I believe, one of these two servers (172.17.0.2 or 172.17.0.3). If it is the failing server, then it's possible that localhost is already executing the task and has held the yum lockfile. The solution may be to add localhost to the exclude-all group, similar to the solution to #1035.

I thought the issue might have came from PackageKit, so I made #1164. The error is still happening though. I don't think we want PackageKit, so it doesn't hurt that #1164 explicitly removes it.

@jamesmontalvo3
Copy link
Contributor Author

@jamesmontalvo3
Copy link
Contributor Author

Ref: ansible/ansible#57189

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 a pull request may close this issue.

1 participant