DO Agent failing with `error code 100`
还没有人认领这个 Issue。
评估
- 难度
- 4/5
- 预计耗时
- 3-5 天
- 新手友好度
- 25/100
- Issue 类型
- 缺陷
- 描述清晰度
- 需要澄清
- 活跃度
- 停滞
- 技术栈
- shell
- 领域
- devops, infrastructure
调研方向
从 /opt/digitalocean/droplet-agent/scripts/update.sh 和 issue 中显示的 /var/log/droplet-agent.update.log 输出开始。复现或检查受影响主机上围绕 apt lock failure 的更新路径。确定锁的原因和预期的更新行为后,即视为完成。
由索引模型根据 Issue 内容生成。
描述
This is a tracking issue, some logs:
coffee@buildbot:~$ cat /var/log/droplet-agent.update.log
Waiting 799 seconds
Checking architecture support...OK
Preparing to check for update
Package Host: https://repos-droplet.digitalocean.com
Package Path: apt/droplet-agent/pool/main/main/d/droplet-agent/droplet-agent_
Keyring Path: apt/droplet-agent/pool/main/main/d/droplet-agent-keyring/droplet-agent-keyring_
Local Keyring:2.0.0
Local Version:1.2.11
Checking Latest Version...
Latest keyring package:2.0.0
Latest agent package:1.2.1
Updating droplet-agent deb package
E: Could not get lock /var/lib/apt/lists/lock. It is held by process 1708639 (apt-get)
E: Unable to lock directory /var/lib/apt/lists/
the logs do exist, are empty, but eventaully go away:
coffee@buildbot:~$ sudo /opt/digitalocean/droplet-agent/scripts/update.sh
Waiting 465 seconds
Checking architecture support...OK
Preparing to check for update
Package Host: https://repos-droplet.digitalocean.com
Package Path: apt/droplet-agent/pool/main/main/d/droplet-agent/droplet-agent_
Keyring Path: apt/droplet-agent/pool/main/main/d/droplet-agent-keyring/droplet-agent-keyring_
Local Keyring:2.0.0
Local Version:1.2.11
Checking Latest Version...
Latest keyring package:2.0.0
Latest agent package:1.2.1
Updating droplet-agent deb package
coffee@buildbot:~$ echo $?
0
coffee@buildbot:~$ cat /var/log/droplet-agent.update.log
Waiting 493 seconds
Checking architecture support...OK
Preparing to check for update
Package Host: https://repos-droplet.digitalocean.com
Package Path: apt/droplet-agent/pool/main/main/d/droplet-agent/droplet-agent_
Keyring Path: apt/droplet-agent/pool/main/main/d/droplet-agent-keyring/droplet-agent-keyring_
Local Keyring:2.0.0
Local Version:1.2.11
Checking Latest Version...
Latest keyring package:2.0.0
Latest agent package:1.2.1
Updating droplet-agent deb package
so i'm not really sure yet what's causing the locks across many hosts 🙃
https://costinstefan.ro/post/2020-02-16-how-to-fix-do-agent-exited/
https://www.digitalocean.com/community/questions/do-agent-exited-with-a-return-code-100
- 主要语言
- Hurl
- 星标
- 125
- 派生
- 67
- 平均合并
- 23 小时 4 分钟
- 30 天内合并 PR
- 5
环境准备
- 没有 Dockerfile 或 Docker Compose 文件
- 有 Pull Request 模板
- 没有贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
python/psf-salt 的其他 Issue
-
codespeed
难度 2/5 1-3 小时 新手友好度 62/100
-
infra mail
难度 4/5 3-5 天 新手友好度 35/100
-
Certificate of docs.nyc1.psf.io has expired可能重新可做 @JacobCoffee 于 315 天前认领,目前没有进行中的 PR。 未关闭
-
docs
难度 2/5 1-3 小时 新手友好度 55/100
-
难度 5/5 一周以上 新手友好度 25/100
相似的 Issue
-
automated issue report
难度 1/5 1 小时以内 新手友好度 65/100
lirantal/discoprint#32 ·
维护者通常 1 天内回复
-
难度 2/5 1-3 小时 新手友好度 86/100
lawndoc/stack-back#122 ·
-
ai-inspected
难度 2/5 1-3 小时 新手友好度 88/100
维护者通常 1 天内回复
-
software-development-practices software-development-practices:nist-ssdf
难度 2/5 1-3 小时 新手友好度 82/100
githubnext/gh-aw-cao#15860 ·
维护者通常 1 天内回复
-
难度 2/5 半天 新手友好度 68/100
维护者通常 1 天内回复