Backport to Yoga fix for : "Invalid input for field/attribute simplestreams_metadata" to enable Trilio restore

Bug #2053017 reported by Bartosz Woronicz
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Cinder
New
Undecided
Unassigned

Bug Description

This bug report is an extension to https://bugs.launchpad.net/cinder/+bug/1988942.

To allow Trilio to work we need to have this backported to Yoga release.
Otherwise restoral of the image won't work with our standarde automatically updated images.
When you create volume from image it works, when directly creating a volume in cinder it fails.
The Trilio relies on the latter when restoring

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"}}

This is related upstream patch.
https://review.opendev.org/c/openstack/cinder/+/868485

Link to Trilio Openstack addon:h ttps://docs.trilio.io/openstack/v/t4o-4.3/deployment/support-matrix

Tags: trilio
summary: - Backport to Yoga: nvalid input for field/attribute
- simplestreams_metadata
+ Backport to Yoga fix for : "Invalid input for field/attribute
+ simplestreams_metadata" to enable Trilio restore
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.