Page MenuHomePhabricator

Rebuild toollabs docker images based on wikimedia-jessie
Closed, ResolvedPublic

Description

Backports and updates have been removed from jessie, so any apt action would fail on all images derived from wikimedia-jessie.

The images in operations/docker-images/toollabs-images should be rebuilt on top of the latest wikimedia-jessie version in order to work properly.

Event Timeline

Joe triaged this task as High priority.Apr 1 2019, 7:13 AM
Joe created this task.
Joe removed Joe as the assignee of this task.Apr 1 2019, 7:16 AM

On a freshly created instance that causes apt to fail and causes the puppet-agent-cronjob to fail:

Apr 30 06:15:02 integration-slave-docker-1055 puppet-agent-cronjob:

Sleeping 5 for random splay
W: Failed to fetch http://httpredir.debian.org/debian/dists/jessie-updates/InRelease  Unable to find expected entry 'main/binary-amd64/Packages' in Release file (Wrong sources.list entry or malformed file)
W: Failed to fetch http://mirrors.wikimedia.org/debian/dists/jessie-backports/main/source/Sources  404  Not Found [IP: 208.80.154.15 80]
W: Failed to fetch http://mirrors.wikimedia.org/debian/dists/jessie-backports/contrib/source/Sources  404  Not Found [IP: 208.80.154.15 80]
W: Failed to fetch http://mirrors.wikimedia.org/debian/dists/jessie-backports/non-free/source/Sources  404  Not Found [IP: 208.80.154.15 80]
W: Failed to fetch http://mirrors.wikimedia.org/debian/dists/jessie-backports/main/binary-amd64/Packages  404  Not Found [IP: 208.80.154.15 80]
W: Failed to fetch http://mirrors.wikimedia.org/debian/dists/jessie-backports/contrib/binary-amd64/Packages  404  Not Found [IP: 208.80.154.15 80]
W: Failed to fetch http://mirrors.wikimedia.org/debian/dists/jessie-backports/non-free/binary-amd64/Packages  404  Not Found [IP: 208.80.154.15 80]
E: Some index files failed to download. They have been ignored, or old ones used instead.

And since jessie-backports had higher priority for some packages, some end up being downgraded as a result of removing the jessie-updates component:

The following packages will be DOWNGRADED:
  gcc-4.9-base libgcc1 libgomp1 libstdc++6 linux-base
apt-cache policy gcc-4.9-base libgcc1 libgomp1 libstdc++6 linux-base
gcc-4.9-base:
  Installed: 4.9.2-10+deb8u2
  Candidate: 4.9.2-10+deb8u1
  Version table:
 *** 4.9.2-10+deb8u2 0
        500 http://security.debian.org/ jessie/updates/main amd64 Packages
        100 /var/lib/dpkg/status
     4.9.2-10+deb8u1 0
        500 http://httpredir.debian.org/debian/ jessie/main amd64 Packages
       1001 http://apt.wikimedia.org/wikimedia/ jessie-wikimedia/main amd64 Packages
libgcc1:
  Installed: 1:4.9.2-10+deb8u2
  Candidate: 1:4.9.2-10+deb8u1
  Version table:
 *** 1:4.9.2-10+deb8u2 0
        500 http://security.debian.org/ jessie/updates/main amd64 Packages
        100 /var/lib/dpkg/status
     1:4.9.2-10+deb8u1 0
        500 http://httpredir.debian.org/debian/ jessie/main amd64 Packages
       1001 http://apt.wikimedia.org/wikimedia/ jessie-wikimedia/main amd64 Packages
libgomp1:
  Installed: 4.9.2-10+deb8u2
  Candidate: 4.9.2-10+deb8u1
  Version table:
 *** 4.9.2-10+deb8u2 0
        500 http://security.debian.org/ jessie/updates/main amd64 Packages
        100 /var/lib/dpkg/status
     4.9.2-10+deb8u1 0
        500 http://httpredir.debian.org/debian/ jessie/main amd64 Packages
       1001 http://apt.wikimedia.org/wikimedia/ jessie-wikimedia/main amd64 Packages
libstdc++6:
  Installed: 4.9.2-10+deb8u2
  Candidate: 4.9.2-10+deb8u1
  Version table:
 *** 4.9.2-10+deb8u2 0
        500 http://security.debian.org/ jessie/updates/main amd64 Packages
        100 /var/lib/dpkg/status
     4.9.2-10+deb8u1 0
        500 http://httpredir.debian.org/debian/ jessie/main amd64 Packages
       1001 http://apt.wikimedia.org/wikimedia/ jessie-wikimedia/main amd64 Packages
linux-base:
  Installed: 4.5~deb8u1
  Candidate: 4.3~bpo8+1
  Version table:
 *** 4.5~deb8u1 0
        500 http://security.debian.org/ jessie/updates/main amd64 Packages
        100 /var/lib/dpkg/status
     4.3~bpo8+1 0
       1001 http://apt.wikimedia.org/wikimedia/ jessie-wikimedia/main amd64 Packages
     3.5 0
        500 http://httpredir.debian.org/debian/ jessie/main amd64 Packages