Comment 3 for bug 1988942

Revision history for this message
Sofia Enriquez (lsofia-enriquez) wrote :

Dear Diko Parvanov,

From the logs, I can see that you are using the cinder client and the error looks like this:

RESP BODY: {"badRequest": {"code": 400, "message": "Invalid input for field/attribute simplestreams_metadata. Value: {\"aliases\": \"20.04,default,f,focal,lts,ubuntu\", \"arch\": \"amd64\", \"ftype\": \"disk1.img\", \"label\": \"release\", \"md5\": \"8646f69a6814ed96e27de0a1be1120a4\", \"os\": \"ubuntu\", \"pubname\": \"ubuntu-focal-20.04-amd64-server-20201111\", \"release\": \"focal\", \"release_codename\": \"Focal Fossa\", \"release_title\": \"20.04 LTS\", \"sha256\": \"151e5e797dc0131c4a1a41b76dac34c551389be67e6b551ab18c36026c420e6a\", \"size\": \"546570752\", \"support_eol\": \"2025-04-23\", \"supported\": \"True\", \"version\": \"20.04\"}. '{\"aliases\": \"20.04,default,f,focal,lts,ubuntu\", \"arch\": \"amd64\", \"ftype\": \"disk1.img\", \"label\": \"release\", \"md5\": \"8646f69a6814ed96e27de0a1be1120a4\", \"os\": \"ubuntu\", \"pubname\": \"ubuntu-focal-20.04-amd64-server-20201111\", \"release\": \"focal\", \"release_codename\": \"Focal Fossa\", \"release_title\": \"20.04 LTS\", \"sha256\": \"151e5e797dc0131c4a1a41b76dac34c551389be67e6b551ab18c36026c420e6a\", \"size\": \"546570752\", \"support_eol\": \"2025-04-23\", \"supported\": \"True\", \"version\": \"20.04\"}' is too long"}}
POST call to volumev3 for http://172.22.8.3:8776/v3/74833ea5ad9e4d1db569803774547fc7/volumes/82449828-aa1e-468c-bfe8-ed79514fd9f7/action used request id req-5e6c7ce5-b5bc-445f-9b59-9946845e1a0b
Failed to set image property: Invalid input for field/attribute simplestreams_metadata. Value: {"aliases": "20.04,default,f,focal,lts,ubuntu", "arch": "amd64", "ftype": "disk1.img", "label": "release", "md5": "8646f69a6814ed96e27de0a1be1120a4", "os": "ubuntu", "pubname": "ubuntu-focal-20.04-amd64-server-20201111", "release": "focal", "release_codename": "Focal Fossa", "release_title": "20.04 LTS", "sha256": "151e5e797dc0131c4a1a41b76dac34c551389be67e6b551ab18c36026c420e6a", "size": "546570752", "support_eol": "2025-04-23", "supported": "True", "version": "20.04"}. '{"aliases": "20.04,default,f,focal,lts,ubuntu", "arch": "amd64", "ftype": "disk1.img", "label": "release", "md5": "8646f69a6814ed96e27de0a1be1120a4", "os": "ubuntu", "pubname": "ubuntu-focal-20.04-amd64-server-20201111", "release": "focal", "release_codename": "Focal Fossa", "release_title": "20.04 LTS", "sha256": "151e5e797dc0131c4a1a41b76dac34c551389be67e6b551ab18c36026c420e6a", "size": "546570752", "support_eol": "2025-04-23", "supported": "True", "version": "20.04"}' is too long (HTTP 400) (Request-ID: req-5e6c7ce5-b5bc-445f-9b59-9946845e1a0b)

Would you mind sharing the next information with us so the cinder team can reproduce the problem:

- Would you mind sharing an input sample to reproduce this without simplestream and check if this is a cinder problem or a simplestream feature problem?
- Steps to reproduce this. What command are you using to update the metadata?
- Cinder Version

Best Regards
Sofia