Mirror snapshots are broken when `apt-get update` Astute task is running.
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Fuel for OpenStack |
Fix Released
|
Critical
|
Sergii Golovatiuk | ||
8.0.x |
Fix Released
|
Critical
|
Sergii Golovatiuk | ||
Mitaka |
Fix Released
|
Critical
|
Sergii Golovatiuk |
Bug Description
At a job https:/
AssertionError: Task 'deploy' has incorrect status. error != ready, 'Deployment has failed. Method granular_deploy. Failed to execute hook 'shell' Failed to run command cd / && apt-get update
---
priority: 2200
type: shell
id:
parameters:
retries: 3
cmd: apt-get update
cwd: /
timeout: 1800
interval: 1
uids:
- '1'
- '3'
- '2'
- '5'
- '4'
- '6'
.
Inspect Astute logs for the details'
During debugging I found that at a small amount of time there is `apt-get update` errors.
At most times apt-get has passed successfully, but there were small period of time when such errors appear:
First:
'Fetched 864 kB in 2min 0s (7,162 B/s)
W: GPG error: http://
W: GPG error: http://
W: GPG error: http://
W: Failed to fetch http://
E: Some index files failed to download. They have been ignored, or old ones used instead.'
Exit code: 100
Second:
'
Fetched 820 kB in 1s (651 kB/s)
W: GPG error: http://
W: GPG error: http://
W: GPG error: http://
W: Failed to fetch http://
W: Failed to fetch http://
W: Failed to fetch http://
W: Failed to fetch http://
W: Failed to fetch http://
W: Failed to fetch http://
W: Failed to fetch http://
E: Some index files failed to download. They have been ignored, or old ones used instead.
'
Exit code: 100
As the only available access method for me on the mirrors is http access, I found that
mirror snapshots have not been changed during that time(at least for web server):
http://
Index of /pkgs/ubuntu-
../
dists/ 08-Mar-2015 19:35 -
indices/ 12-Jan-2016 15:29 -
pool/ 27-Feb-2010 06:30 -
project/ 28-Jun-2013 11:52 -
ubuntu/ 12-Jan-2016 17:17 -
The errors at the Job are 'Failed to fetch http://
But there is no need for them to present at http://
uncompressed vesion 'Packages'.
There are timings and access to mirror state at Build team, so I reassign that bug to them.
Problematic logs are at:
http://
Changed in fuel: | |
assignee: | Fuel build team (fuel-build) → Max Rasskazov (mrasskazov) |
status: | Confirmed → In Progress |
tags: | added: swarm-blocker |
Changed in fuel: | |
assignee: | Max Rasskazov (mrasskazov) → Sergii Golovatiuk (sgolovatiuk) |
Also, during the time logging is implemented, I am going to simulate mirror files update situation with the same problem 'Bad header line'.
And after verification that that is the root problem, I will assign bug to build team to improve mirrors behaviour on updates.