Bad checksums (invalid format) in streams

Bug #1669278 reported by Stéphane Graber
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
cloud-images
New
Medium
Unassigned

Bug Description

curl -s https://cloud-images.ubuntu.com/releases/streams/v1/com.ubuntu.cloud:released:download.json | grep " -"

This will show an alarmingly high number of entries such as these:
       "combined_sha256": "3dbfa75b75a6101205d5d63d477808b80ef2f8aff1351a7b715b986f9ece0138 -",
       "combined_rootxz_sha256": "214b2839247c8171ccb5081cad7f55fd07d9a2d150160a2263e6ad615550013f -",

This suggests that those are generated from a call to "sha256sum" where the output isn't parsed to be restricted to its first column.

This was noticed while working on improved error handling in LXD's simplestreams parser.

Revision history for this message
Stéphane Graber (stgraber) wrote :

As far as I can tell, this only affects older images, though those images are still published and so their records should be valid.

Revision history for this message
Dan Watkins (oddbloke) wrote :

This exists in the .qindex.json files for releases that have already been archived to S3. We've never had to modify content there, so we don't have any tooling to handle it.

We could look in to fixing these during the actual generation of streams.

Changed in cloud-images:
importance: Undecided → Medium
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.