# Moving Thanos from GCS to Huawei OBS, and fixing a multipart upload bug on the way

DevFeed: [Moving Thanos from GCS to Huawei OBS, and fixing a multipart upload bug on the way](<https://devfeed.tech/articles/moving-thanos-from-gcs-to-huawei-obs-and-fixing-a-multipart-upload-bug-on-the-way-34034.md>)

Original publisher: [Read original article](<https://andikaahmad.com/blog/thanos-objstore-huawei-obs/>)

Published: 2025-10-20T00:00:00Z

Content type: article

Language: en

Sources: [Andika Ahmad Ramadhan -- Blog](<https://devfeed.tech/sources/andika-ahmad-ramadhan-blog.md>)

Topics: [huawei](<https://devfeed.tech/topics/huawei.md>), [migration](<https://devfeed.tech/topics/migration.md>), [bug](<https://devfeed.tech/topics/bug.md>), [Cloud](<https://devfeed.tech/topics/cloud.md>), [Google Cloud Platform (GCP)](<https://devfeed.tech/topics/google-cloud.md>), [Code](<https://devfeed.tech/topics/code.md>)

Tags: [bug](<https://devfeed.tech/tags/bug.md>), [cloud](<https://devfeed.tech/tags/cloud.md>), [cloud-storage](<https://devfeed.tech/tags/cloud-storage.md>), [code](<https://devfeed.tech/tags/code.md>), [google](<https://devfeed.tech/tags/google.md>), [google-cloud](<https://devfeed.tech/tags/google-cloud.md>), [huawei](<https://devfeed.tech/tags/huawei.md>), [migration](<https://devfeed.tech/tags/migration.md>)

## AI overview

This article describes migrating Thanos object storage from Google Cloud Storage to Huawei Cloud OBS. The migration exposed two multipart upload bugs in the OBS provider: a zero-value part size and a content-length mismatch. A patch addressed both issues, although the upstream change was still under review when the article was written.

## Source excerpt

What broke when Thanos blocks started landing in Huawei Cloud OBS instead of Google Cloud Storage, and the objstore patch that fixed it.