Page MenuHomePhabricator

SRE-swift-storageComponent
ActivePublic

Members (3)

Details

Description

For media file storage on Wikimedia Foundation sites. Specifically, as implemented via OpenStack Swift.

If you encounter issues relating to user uploads or thumbnails while using MediaWiki (e.g. on Wikimedia Commons), then instead first report to MediaWiki-File-management.

Parent project: SRE

Recent Activity

Yesterday

MatthewVernon placed T436181: Q1:rack/setup/install apus-be100[7-9] up for grabs.

I've checked our current preseed setup (more detailed notes in T436180), and I think we're good-to-go from a software POV.

Tue, Nov 3, 4:58 PM · Ceph, SRE-swift-storage, SRE, Data-Persistence, ops-eqiad, DC-Ops
MatthewVernon placed T436180: Q1:rack/setup/install apus-be200[7-9] up for grabs.

OK, I've gone through the setup for this task and T436181, and I think we're good to go as-is:
manifests/site.pp has

node /^apus-be100[46789]\.eqiad\./ {
    role(cephadm::storage)
}
node /^apus-be200[46789]\.codfw\./ {
    role(cephadm::storage)
}

which is correct, and modules/profile/data/profile/installserver/preseed.yaml has

'apus-be*':
  - partman/hwraid-1dev-nvme.cfg
  - partman/custom/boss_leavelvm.cfg
Tue, Nov 3, 4:56 PM · Ceph, SRE-swift-storage, SRE, Data-Persistence, ops-codfw, DC-Ops
MatthewVernon placed T439293: Q3:rack/setup/install ms-fe102[5-8] up for grabs.

I've checked modules/profile/data/profile/installserver/preseed.yaml and ms-fe102[1-9] is already set up correctly, so there's nothing that needs doing here.

Tue, Nov 3, 4:17 PM · SRE-swift-storage, Data-Persistence, SRE, ops-eqiad, DC-Ops
MatthewVernon placed T439292: Q3:rack/setup/install ms-fe202[5-8] up for grabs.

I've checked modules/profile/data/profile/installserver/preseed.yaml and ms-fe202[1-9] is already set up correctly, so there's nothing needing doing here.

Tue, Nov 3, 4:16 PM · SRE, SRE-swift-storage, Data-Persistence, ops-codfw, DC-Ops

Mon, Nov 2

Sreejithk2000 added a comment to T437114: Unknown error while undeleting a file on Wikimedia Commons.

Someone renamed another file to this name after I reported it here, but if you see the history, there are 82 deleted edits.

Mon, Nov 2, 8:17 PM · MediaWiki-Media-Platform-Team, MediaWiki-File-management, SRE-swift-storage
Ladsgroup added a comment to T379942: Gradually drop all thumbnails as a one-off clean up.

Update: The deletion is still ongoing, there is a bit left but I also made one last run that is done much faster (probably done in a couple of days at most). It goes through all thumbnail containers and delete anything that is not standard size, in 33 it was only 16K thumbnails (less than 1% of the size of that container). That should take care of anything left out.

Mon, Nov 2, 2:36 PM · SRE-swift-storage, Thumbor
Ladsgroup added a comment to T397618: Fix thumbor discovery records and make swift use them.

Just a note: The proper fix for this is to get rid of circular service dependency between thumbor and swift. Having something in front of swift that checks if a file exists and if not, then hit thumbor instead (don't quote me on that but a simple apache2 service can do it even I think) would also mean swift won't depend on thumbor anymore and if we wan to depool thumbor, we can simply depool the service in front of it and that would point to the service in the other dc.

Mon, Nov 2, 11:33 AM · Sustainability (Incident Followup), Thumbor, SRE-swift-storage, Data-Persistence, ServiceOps-Upgrades-Hardware, ServiceOps, Patch-For-Review, Kubernetes, Prod-Kubernetes
MatthewVernon added a comment to T437114: Unknown error while undeleting a file on Wikimedia Commons.

@Sreejithk2000 that file appears visible to me...?

Mon, Nov 2, 8:45 AM · MediaWiki-Media-Platform-Team, MediaWiki-File-management, SRE-swift-storage

Fri, Oct 30

Sreejithk2000 added a comment to T437114: Unknown error while undeleting a file on Wikimedia Commons.

Here is another example. I am unable to restore this file as well.

Fri, Oct 30, 10:29 PM · MediaWiki-Media-Platform-Team, MediaWiki-File-management, SRE-swift-storage
LSobanski raised the priority of T437297: Test the Docker Registry's GC with Releng/MediaWiki images from Medium to Needs Triage.
Fri, Oct 30, 10:40 AM · Patch-For-Review, Ceph, SRE-swift-storage, Release-Engineering-Team, Infrastructure-Foundations

Thu, Oct 29

• elukey closed T442862: Raise S3 quota for the Docker Registry account as Resolved.

@MatthewVernon totally missed/forgot the other task, sorry for the noise! 5TB are more than enough :)

Thu, Oct 29, 3:41 PM · Ceph, SRE-swift-storage, Infrastructure-Foundations, Data-Persistence
MatthewVernon added projects to T442862: Raise S3 quota for the Docker Registry account: SRE-swift-storage, Ceph.

After T438339 there is 5T quota for docker-registry (documented on wikitech).

Thu, Oct 29, 2:31 PM · Ceph, SRE-swift-storage, Infrastructure-Foundations, Data-Persistence
• elukey added a comment to T437297: Test the Docker Registry's GC with Releng/MediaWiki images.

Next steps:

Thu, Oct 29, 1:08 PM · Patch-For-Review, Ceph, SRE-swift-storage, Release-Engineering-Team, Infrastructure-Foundations
JTweed-WMF lowered the priority of T437114: Unknown error while undeleting a file on Wikimedia Commons from Low to Lowest.
Thu, Oct 29, 10:35 AM · MediaWiki-Media-Platform-Team, MediaWiki-File-management, SRE-swift-storage
JTweed-WMF lowered the priority of T437114: Unknown error while undeleting a file on Wikimedia Commons from Medium to Low.
Thu, Oct 29, 10:34 AM · MediaWiki-Media-Platform-Team, MediaWiki-File-management, SRE-swift-storage
gerritbot added a comment to T437297: Test the Docker Registry's GC with Releng/MediaWiki images.

Change #1359879 merged by jenkins-bot:

[operations/docker-images/docker-report@master] registryctl: accept relative values for --older-than

https://gerrit.wikimedia.org/r/1359879

Thu, Oct 29, 7:19 AM · Patch-For-Review, Ceph, SRE-swift-storage, Release-Engineering-Team, Infrastructure-Foundations

Wed, Oct 28

MatthewVernon closed T320947: IPv6 records inconsistent on the ms-be hosts as Resolved.

They all have been decommissioned. Shall we close this ticket?

Wed, Oct 28, 5:16 PM · SRE-swift-storage
Ladsgroup added a comment to T320947: IPv6 records inconsistent on the ms-be hosts.

I expect it to be refreshed in Q1 or maybe Q2 (purchase date was 2020-08-11).

Wed, Oct 28, 5:04 PM · SRE-swift-storage
Ladsgroup closed T72896: skwiki image table contains non existing image as Resolved.

Got fixed some time in the past 12 years

Wed, Oct 28, 4:34 PM · SRE-swift-storage
komla closed T435783: Migrate swift away from Debian Bullseye to Bookworm/Trixie as Resolved.

I've marked this as closed. Thanks!

Wed, Oct 28, 3:50 PM · SRE-swift-storage, Cloud-VPS (Debian Bullseye Deprecation)
gerritbot added a comment to T437297: Test the Docker Registry's GC with Releng/MediaWiki images.

Change #1359879 had a related patch set uploaded (by Ahmon Dancy; author: Ahmon Dancy):

[operations/docker-images/docker-report@master] registryctl: accept relative values for --older-than

https://gerrit.wikimedia.org/r/1359879

Wed, Oct 28, 3:25 PM · Patch-For-Review, Ceph, SRE-swift-storage, Release-Engineering-Team, Infrastructure-Foundations

Tue, Oct 27

Ladsgroup added a comment to T253368: Thumbnail generation fails (HTTP 503) for some sizes of File:Montreal_Skyline_from_Mont_Royal_raw.png.

https://thumb.wikimedia.org/wikipedia/commons/thumb/3/37/Montreal_Skyline_from_Mont_Royal_raw.png/3840px-Montreal_Skyline_from_Mont_Royal_raw.png works now and that's the highest size we allow. Even after purge of the thumbs in swift. Can we close this? The original is 1.1GB which could explain the mess.

Tue, Oct 27, 4:59 PM · SRE-swift-storage, Thumbor
Ladsgroup added a comment to T435783: Migrate swift away from Debian Bullseye to Bookworm/Trixie.

It looks like it should be closed. I leave it to you.

Tue, Oct 27, 4:47 PM · SRE-swift-storage, Cloud-VPS (Debian Bullseye Deprecation)
gerritbot added a comment to T437297: Test the Docker Registry's GC with Releng/MediaWiki images.

Change #1359287 had a related patch set uploaded (by Elukey; author: Elukey):

[operations/puppet@production] Add a systemd timer to periodically drop the old MediaWiki images

https://gerrit.wikimedia.org/r/1359287

Tue, Oct 27, 2:40 PM · Patch-For-Review, Ceph, SRE-swift-storage, Release-Engineering-Team, Infrastructure-Foundations

Mon, Oct 26

gerritbot added a comment to T437297: Test the Docker Registry's GC with Releng/MediaWiki images.

Change #1358802 merged by jenkins-bot:

[operations/docker-images/docker-report@master] Release version 0.0.22

https://gerrit.wikimedia.org/r/1358802

Mon, Oct 26, 4:19 PM · Patch-For-Review, Ceph, SRE-swift-storage, Release-Engineering-Team, Infrastructure-Foundations
gerritbot added a comment to T437297: Test the Docker Registry's GC with Releng/MediaWiki images.

Change #1358802 had a related patch set uploaded (by Elukey; author: Elukey):

[operations/docker-images/docker-report@master] Release version 0.0.22

https://gerrit.wikimedia.org/r/1358802

Mon, Oct 26, 4:13 PM · Patch-For-Review, Ceph, SRE-swift-storage, Release-Engineering-Team, Infrastructure-Foundations
gerritbot added a comment to T437297: Test the Docker Registry's GC with Releng/MediaWiki images.

Change #1358244 merged by jenkins-bot:

[operations/docker-images/docker-report@master] registryctl: add --keep-latest-n-images

https://gerrit.wikimedia.org/r/1358244

Mon, Oct 26, 4:10 PM · Patch-For-Review, Ceph, SRE-swift-storage, Release-Engineering-Team, Infrastructure-Foundations
LSobanski moved T441673: Add S3 bucket metrics for apus tenants from Incoming to Backlog on the Collaboration-Services board.
Mon, Oct 26, 3:44 PM · Ceph, SRE-swift-storage, Collaboration-Services, Infrastructure-Foundations, Data-Persistence

Fri, Oct 23

dancy added a comment to T437297: Test the Docker Registry's GC with Releng/MediaWiki images.

@dancy while creating the timer I realized that it would be nice to be able to protect the most recent "n" tags regardless if the match or not --older-than, to avoid deleting too much when we don't regularly push images to the registry. I created https://gerrit.wikimedia.org/r/c/operations/docker-images/docker-report/+/1358244, lemme know your thoughts :)

Fri, Oct 23, 4:17 PM · Patch-For-Review, Ceph, SRE-swift-storage, Release-Engineering-Team, Infrastructure-Foundations
• elukey added a comment to T437297: Test the Docker Registry's GC with Releng/MediaWiki images.

@dancy while creating the timer I realized that it would be nice to be able to protect the most recent "n" tags regardless if the match or not --older-than, to avoid deleting too much when we don't regularly push images to the registry. I created https://gerrit.wikimedia.org/r/c/operations/docker-images/docker-report/+/1358244, lemme know your thoughts :)

Fri, Oct 23, 4:13 PM · Patch-For-Review, Ceph, SRE-swift-storage, Release-Engineering-Team, Infrastructure-Foundations
gerritbot added a comment to T437297: Test the Docker Registry's GC with Releng/MediaWiki images.

Change #1358244 had a related patch set uploaded (by Elukey; author: Elukey):

[operations/docker-images/docker-report@master] registryctl: add --keep-latest-n-images

https://gerrit.wikimedia.org/r/1358244

Fri, Oct 23, 4:12 PM · Patch-For-Review, Ceph, SRE-swift-storage, Release-Engineering-Team, Infrastructure-Foundations
• elukey added a comment to T437297: Test the Docker Registry's GC with Releng/MediaWiki images.

Presumably the timer could calculate the correct date itself when it fires? it's pretty straightforward in date (1) e.g.

matthew@aragorn:~$ date -Idate -d "4 weeks ago"
2026-09-24

Indeed. I hope we can spend the time to make the interface better than that.

Fri, Oct 23, 10:27 AM · Patch-For-Review, Ceph, SRE-swift-storage, Release-Engineering-Team, Infrastructure-Foundations

Thu, Oct 22

dancy added a comment to T437297: Test the Docker Registry's GC with Releng/MediaWiki images.

Presumably the timer could calculate the correct date itself when it fires? it's pretty straightforward in date (1) e.g.

matthew@aragorn:~$ date -Idate -d "4 weeks ago"
2026-09-24
Thu, Oct 22, 3:13 PM · Patch-For-Review, Ceph, SRE-swift-storage, Release-Engineering-Team, Infrastructure-Foundations
MatthewVernon added a comment to T437297: Test the Docker Registry's GC with Releng/MediaWiki images.

Presumably the timer could calculate the correct date itself when it fires? it's pretty straightforward in date (1) e.g.

matthew@aragorn:~$ date -Idate -d "4 weeks ago"
2026-09-24
Thu, Oct 22, 3:11 PM · Patch-For-Review, Ceph, SRE-swift-storage, Release-Engineering-Team, Infrastructure-Foundations
dancy added a comment to T437297: Test the Docker Registry's GC with Releng/MediaWiki images.

Today I released the new docker-registryctl version, able to drop images with tags containing a date older than X. We could easily create a dedicated systemd timer to do it every week, decoupled from scap clean-images if we want to keep them separate.

Thu, Oct 22, 3:06 PM · Patch-For-Review, Ceph, SRE-swift-storage, Release-Engineering-Team, Infrastructure-Foundations
MatthewVernon added projects to T441673: Add S3 bucket metrics for apus tenants: SRE-swift-storage, Ceph.
Thu, Oct 22, 10:37 AM · Ceph, SRE-swift-storage, Collaboration-Services, Infrastructure-Foundations, Data-Persistence
SLopes-WMF added a parent task for T397618: Fix thumbor discovery records and make swift use them: T441450: PP3.7.1: Thumbnailing decision brief.
Thu, Oct 22, 9:34 AM · Sustainability (Incident Followup), Thumbor, SRE-swift-storage, Data-Persistence, ServiceOps-Upgrades-Hardware, ServiceOps, Patch-For-Review, Kubernetes, Prod-Kubernetes
• elukey added a comment to T437297: Test the Docker Registry's GC with Releng/MediaWiki images.

@dancy hi! Sorry I missed your pings.

Thu, Oct 22, 8:33 AM · Patch-For-Review, Ceph, SRE-swift-storage, Release-Engineering-Team, Infrastructure-Foundations
gerritbot added a comment to T437297: Test the Docker Registry's GC with Releng/MediaWiki images.

Change #1357687 merged by jenkins-bot:

[operations/docker-images/docker-report@master] Release 0.0.21

https://gerrit.wikimedia.org/r/1357687

Thu, Oct 22, 8:15 AM · Patch-For-Review, Ceph, SRE-swift-storage, Release-Engineering-Team, Infrastructure-Foundations
gerritbot added a comment to T437297: Test the Docker Registry's GC with Releng/MediaWiki images.

Change #1357687 had a related patch set uploaded (by Elukey; author: Elukey):

[operations/docker-images/docker-report@master] Release 0.0.21

https://gerrit.wikimedia.org/r/1357687

Thu, Oct 22, 8:02 AM · Patch-For-Review, Ceph, SRE-swift-storage, Release-Engineering-Team, Infrastructure-Foundations

Wed, Oct 21

gerritbot added a comment to T437297: Test the Docker Registry's GC with Releng/MediaWiki images.

Change #1354834 merged by jenkins-bot:

[operations/docker-images/docker-report@master] registryctl: add an option to drop tags containing a date

https://gerrit.wikimedia.org/r/1354834

Wed, Oct 21, 9:58 PM · Patch-For-Review, Ceph, SRE-swift-storage, Release-Engineering-Team, Infrastructure-Foundations

Tue, Oct 20

gerritbot added a comment to T424895: Q4:rack/setup/install ms-be1098, ms-be1099, ms-be1100.

Change #1357295 merged by MVernon:

[operations/puppet@production] swift: add ms-be1[098-100] to the rings

https://gerrit.wikimedia.org/r/1357295

Tue, Oct 20, 2:32 PM · Patch-For-Review, Infrastructure-Foundations, SRE-swift-storage, SRE, Data-Persistence, ops-eqiad, DC-Ops
gerritbot added a comment to T424895: Q4:rack/setup/install ms-be1098, ms-be1099, ms-be1100.

Change #1357295 had a related patch set uploaded (by MVernon; author: MVernon):

[operations/puppet@production] swift: add ms-be1[098-100] to the rings

https://gerrit.wikimedia.org/r/1357295

Tue, Oct 20, 2:09 PM · Patch-For-Review, Infrastructure-Foundations, SRE-swift-storage, SRE, Data-Persistence, ops-eqiad, DC-Ops
MatthewVernon created T441841: Remove obsolete schemas from hosts.yaml.
Tue, Oct 20, 2:08 PM · SRE-swift-storage, SRE
CodeReviewBot added a project to T424895: Q4:rack/setup/install ms-be1098, ms-be1099, ms-be1100: Patch-For-Review.

mvernon opened https://gitlab.wikimedia.org/repos/data_persistence/swift-ring/-/merge_requests/23

Tue, Oct 20, 1:21 PM · Patch-For-Review, Infrastructure-Foundations, SRE-swift-storage, SRE, Data-Persistence, ops-eqiad, DC-Ops

Mon, Oct 19

LSobanski closed T441678: Gitlab's storage quota needs a raise as Resolved.
Mon, Oct 19, 3:46 PM · Ceph, SRE-swift-storage, Data-Persistence, Collaboration-Services, GitLab (Infrastructure)
LSobanski moved T441678: Gitlab's storage quota needs a raise from Up Next to Incoming on the Collaboration-Services board.
Mon, Oct 19, 3:45 PM · Ceph, SRE-swift-storage, Data-Persistence, Collaboration-Services, GitLab (Infrastructure)
LSobanski triaged T441678: Gitlab's storage quota needs a raise as Medium priority.
Mon, Oct 19, 3:45 PM · Ceph, SRE-swift-storage, Data-Persistence, Collaboration-Services, GitLab (Infrastructure)
LSobanski moved T441678: Gitlab's storage quota needs a raise from Incoming to Up Next on the Collaboration-Services board.
Mon, Oct 19, 3:44 PM · Ceph, SRE-swift-storage, Data-Persistence, Collaboration-Services, GitLab (Infrastructure)
ABran-WMF added a comment to T441678: Gitlab's storage quota needs a raise.

as long as we address T316553: Setup alerting for GitLab projects size limits and/or T441673: Add S3 bucket metrics for apus tenants soon I guess we should be OK

Mon, Oct 19, 1:47 PM · Ceph, SRE-swift-storage, Data-Persistence, Collaboration-Services, GitLab (Infrastructure)