hash sum mismatch on stream data for yakkety

Bug #1668710 reported by Scott Moser
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
cloud-images
Fix Released
Critical
Robert C Jennings

Bug Description

$ lxc launch ubuntu-daily:yakkety y1
Creating y1
error: Hash mismatch for server/yakkety/20170222.1/yakkety-server-cloudimg-amd64-lxd.tar.xz: fd9f97481a3d21f6cf017b5e8b199c7b5a9fbd3fe0896fa697edd44267b93036 != 522ea193e4414cc41baa578e82f4eba7b6c5e516049656ba8cdae84a4d10b0cb

$ sstream-query --keyring=/usr/share/keyrings/ubuntu-cloudimage-keyring.gpg --max=1 --json http://cloud-images.ubuntu.com/daily/streams/v1/index.sjson release=yakkety arch=amd64 ftype=lxd.tar.xz
  {
    "aliases": "16.10,y,yakkety",
    "arch": "amd64",
    "combined_squashfs_sha256": "1642b3bb6a6ea88ccdf9fa8c569910d0660e7a34510573dd7cc9f1d8ad4c0b58",
    "content_id": "com.ubuntu.cloud:daily:download",
    "datatype": "image-downloads",
    "format": "products:1.0",
    "ftype": "lxd.tar.xz",
    "item_name": "lxd.tar.xz",
    "item_url": "http://cloud-images.ubuntu.com/daily/server/yakkety/20170222.1/yakkety-server-cloudimg-amd64-lxd.tar.xz",
    "label": "daily",
    "license": "http://www.canonical.com/intellectual-property-policy",
    "md5": "c72740be9da5f7e74fa2a760d4f228fa",
    "os": "ubuntu",
    "path": "server/yakkety/20170222.1/yakkety-server-cloudimg-amd64-lxd.tar.xz",
    "product_name": "com.ubuntu.cloud.daily:server:16.10:amd64",
    "pubname": "ubuntu-yakkety-daily-amd64-server-20170222.1",
    "release": "yakkety",
    "release_codename": "Yakkety Yak",
    "release_title": "16.10",
    "sha256": "522ea193e4414cc41baa578e82f4eba7b6c5e516049656ba8cdae84a4d10b0cb",
    "size": "840",
    "support_eol": "2017-07-20",
    "supported": "True",
    "updated": "Tue, 28 Feb 2017 13:52:22 +0000",
    "version": "16.10",
    "version_name": "20170222.1"
  }
]

$ date --utc
Tue Feb 28 17:56:11 UTC 2017

$ wget http://cloud-images.ubuntu.com/daily/server/yakkety/20170222.1/yakkety-server-cloudimg-amd64-lxd.tar.xz

$ sha256sum yakkety-server-cloudimg-amd64-lxd.tar.xz
fd9f97481a3d21f6cf017b5e8b199c7b5a9fbd3fe0896fa697edd44267b93036 yakkety-server-cloudimg-amd64-lxd.tar.xz

$ ls -l yakkety-server-cloudimg-amd64-lxd.tar.xz
-rw-r--r-- 1 smoser smoser 848 Feb 28 07:24 yakkety-server-cloudimg-amd64-lxd.tar.xz

Tags: cloud-images
Robert C Jennings (rcj)
Changed in ubuntu:
status: Confirmed → In Progress
assignee: nobody → Robert C Jennings (rcj)
Changed in cloud-images:
assignee: nobody → Robert C Jennings (rcj)
Changed in ubuntu:
assignee: Robert C Jennings (rcj) → nobody
status: In Progress → Confirmed
Changed in cloud-images:
status: New → In Progress
importance: Undecided → Critical
Revision history for this message
Scott Moser (smoser) wrote :

Looks fixed now.
$ usquery uc-daily release=yakkety arch=amd64 --max=1 ftype=lxd.tar.xz --json
[
  {
    "aliases": "16.10,y,yakkety",
    "arch": "amd64",
    "combined_squashfs_sha256": "1642b3bb6a6ea88ccdf9fa8c569910d0660e7a34510573dd7cc9f1d8ad4c0b58",
    "content_id": "com.ubuntu.cloud:daily:download",
    "datatype": "image-downloads",
    "format": "products:1.0",
    "ftype": "lxd.tar.xz",
    "item_name": "lxd.tar.xz",
    "item_url": "http://cloud-images.ubuntu.com/daily/server/yakkety/20170222.1/yakkety-server-cloudimg-amd64-lxd.tar.xz",
    "label": "daily",
    "license": "http://www.canonical.com/intellectual-property-policy",
    "md5": "c72740be9da5f7e74fa2a760d4f228fa",
    "os": "ubuntu",
    "path": "server/yakkety/20170222.1/yakkety-server-cloudimg-amd64-lxd.tar.xz",
    "product_name": "com.ubuntu.cloud.daily:server:16.10:amd64",
    "pubname": "ubuntu-yakkety-daily-amd64-server-20170222.1",
    "release": "yakkety",
    "release_codename": "Yakkety Yak",
    "release_title": "16.10",
    "sha256": "522ea193e4414cc41baa578e82f4eba7b6c5e516049656ba8cdae84a4d10b0cb",
    "size": "840",
    "support_eol": "2017-07-20",
    "supported": "True",
    "updated": "Tue, 28 Feb 2017 13:52:22 +0000",
    "version": "16.10",
    "version_name": "20170222.1"
  }
]

$ wget http://cloud-images.ubuntu.com/daily/server/yakkety/20170222.1/yakkety-server-cloudimg-amd64-lxd.tar.xz
$ sha256sum yakkety-server-cloudimg-amd64-lxd.tar.xz
522ea193e4414cc41baa578e82f4eba7b6c5e516049656ba8cdae84a4d10b0cb yakkety-server-cloudimg-amd64-lxd.tar.xz
$ ls -l yakkety-server-cloudimg-amd64-lxd.tar.xz
-rw-r--r-- 1 smoser smoser 840 Feb 28 13:29 yakkety-server-cloudimg-amd64-lxd.tar.xz

Revision history for this message
Scott Moser (smoser) wrote :

also, just now did:
$ lxc launch ubuntu-daily:yakkety y1
Creating y1
Starting y1

Revision history for this message
Robert C Jennings (rcj) wrote :

Image issues resolved. We had an errant copy that overwrote the prior serial and it has been restored.

Robert C Jennings (rcj)
Changed in cloud-images:
status: In Progress → Fix Released
no longer affects: ubuntu
Revision history for this message
Joshua Powers (powersj) wrote :

Saw this, this morning:

jenkins@s1lp04:~$ date
Wed Mar 1 15:27:03 UTC 2017
jenkins@s1lp04:~$ lxc launch ubuntu-daily:yakkety y
Creating y
error: Hash mismatch for server/yakkety/20170222.1/yakkety-server-cloudimg-s390x-lxd.tar.xz: eb862adc95faccad90dd124a5d2a7fc1c5a4d28f137dbe47f839236b046b5f0a != 66a75e8619ab91fb18555b3713078b470bd34f9976c72d1a4ad6a8c2f7d3c4cb

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

Confirmed the mismatch by hand, the metadata still doesn't match what's on disk.

Re-opening.

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

Or would re-open if Launchpad would let me...

Robert C Jennings (rcj)
Changed in cloud-images:
status: Fix Released → In Progress
Robert C Jennings (rcj)
Changed in cloud-images:
status: In Progress → Fix Released
Revision history for this message
Scott Moser (smoser) wrote :

Christian opened
https://bugs.launchpad.net/cloud-images/+bug/1668876
theres more info there.

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.