-
Notifications
You must be signed in to change notification settings - Fork 38
Open
Description
I installed cvdr and set up cloud orchestrator as described in the docs.
I want to create a CVD based on local artifacts but cvdr seems to fail to upload them correctly.
Artifacts used (taken from ci.android.com):
Im uploading the artifacts using --local_cvd_host_pkg_src and --local_images_zip_src and I get following error:
$ cvdr create --host=<host id> \
--local_cvd_host_pkg_src=./cvd-host_package.tar.gz \
--local_images_zip_src=./aosp_cf_x86_64_only_phone-img-13625421.zip
Uploading "cvd-host_package.tar.gz".................. Failed
failed to create cvd: failed uploading file chunk with status code "400 Bad Request". File "cvd-host_package.tar.gz", chunk number: 6, chunk total: 49Logs from cuttlefish_orchestration:latest image during uploading:
2025/07/08 13:13:19 handling request(0xc0000ac300) started POST /userartifacts
2025/07/08 13:13:19 created new user artifact directory /var/lib/cuttlefish-common/user_artifacts/tmp.xEIhgzpKAA
2025/07/08 13:13:19 handling request(0xc0000ac300) ended
2025/07/08 13:13:20 handling request(0xc0004c6400) started PUT /userartifacts/tmp.xEIhgzpKAA
2025/07/08 13:13:20 handling request(0xc0004c6900) started PUT /userartifacts/tmp.xEIhgzpKAA
2025/07/08 13:13:20 handling request(0xc0002b6100) started PUT /userartifacts/tmp.xEIhgzpKAA
2025/07/08 13:13:20 handling request(0xc0004c6c00) started PUT /userartifacts/tmp.xEIhgzpKAA
2025/07/08 13:13:20 handling request(0xc0005b4200) started PUT /userartifacts/tmp.xEIhgzpKAA
2025/07/08 13:13:20 handling request(0xc0005b4500) started PUT /userartifacts/tmp.xEIhgzpKAA
2025/07/08 13:13:20 handling request(0xc0000ac600) started PUT /userartifacts/tmp.xEIhgzpKAA
2025/07/08 13:13:20 handling request(0xc000388100) started PUT /userartifacts/tmp.xEIhgzpKAA
2025/07/08 13:13:20 handling request(0xc000440100) started PUT /userartifacts/tmp.xEIhgzpKAA
2025/07/08 13:13:20 request "PUT /userartifacts/tmp.xEIhgzpKAA" failed with error: Invalid chunk_number value: "": strconv.Atoi: parsing "": invalid syntax
2025/07/08 13:13:20 handling request(0xc0004c6400) ended
2025/07/08 13:13:20 handling request(0xc00026a100) started PUT /userartifacts/tmp.xEIhgzpKAA
2025/07/08 13:13:20 handling request(0xc00026a500) started PUT /userartifacts/tmp.xEIhgzpKAA
2025/07/08 13:13:20 handling request(0xc000344100) started PUT /userartifacts/tmp.xEIhgzpKAA
2025/07/08 13:13:20 handling request(0xc0007c2100) started PUT /userartifacts/tmp.xEIhgzpKAA
2025/07/08 13:13:20 request "PUT /userartifacts/tmp.xEIhgzpKAA" failed with error: Invalid chunk_number value: "": strconv.Atoi: parsing "": invalid syntax
2025/07/08 13:13:20 handling request(0xc0004c6900) ended
2025/07/08 13:13:20 request "PUT /userartifacts/tmp.xEIhgzpKAA" failed with error: Invalid chunk_number value: "": strconv.Atoi: parsing "": invalid syntax
2025/07/08 13:13:20 handling request(0xc0005b4500) ended
[...]
Maybe it's important, but cuttlefish_orchestration:latest is using old version of cuttlefish. I tried to update to 1.13, but it does not work either.
$ apt search cuttlefish-
cuttlefish-base/bookworm,now 1.5.0.linaro137658 amd64 [installed]
Cuttlefish Android Virtual Device companion package
cuttlefish-common/bookworm 1.5.0.linaro137658 amd64
Cuttlefish Android Virtual Device companion package
cuttlefish-cvdremote/bookworm 0.2.0 amd64
CLI client for the Cloud Android Orchestration service.
cuttlefish-integration/bookworm 1.5.0.linaro137658 amd64
Utilities for Android cuttlefish devices in the cloud
cuttlefish-orchestration/bookworm,now 1.5.0.linaro137658 amd64 [installed]
Cuttlefish Android Virtual Device companion package
cuttlefish-user/bookworm,now 1.5.0.linaro137658 amd64 [installed]
Cuttlefish Android Virtual Device companion packageIts also worth noting that it used to work with cvdr 0.2.0. Maybe a new package was pushed to apt repo without version update ? Let me know if the provided info was helpful and you can reproduce the issue.
Metadata
Metadata
Assignees
Labels
No labels