Comment 9 for bug 1583276

Revision history for this message
Francis Ginther (fginther) wrote :

Hit what I think is another case of this, but the first image was left in a "queued" state:

[from glance-simplestreams-sync-0/var/log/glance-simplestreams-sync.log]
{"images": [{"status": "queued", "deleted_at": null, "name": "auto-sync/ubuntu-trusty-14.04-amd64-server-20160516-disk1.img", "deleted": false, "container_format": "bare", "created_at": "2016-05-18T19:12:02.000000", "disk_format": "qcow2", "updated_at": "2016-05-18T19:12:02.000000", "min_disk": 0, "protected": false, "id": "0b69de8b-b024-47e2-aecd-a84e90489562", "min_ram": 0, "checksum": "e903d04033149e800fc90400dee1abb8", "owner": "23b1d952ab4746b4b3990f10142f8a8e", "is_public": true, "virtual_size": null, "properties": {"os_distro": "ubuntu", "item_name": "disk1.img", "os_version": "14.04", "architecture": "x86_64", "version_name": "20160516", "content_id": "auto.sync", "product_name": "com.ubuntu.cloud:server:14.04:amd64", "source_content_id": "com.ubuntu.cloud:released:download"}, "size": 259850752}]}

The log indicates that 16.04 was successfully updated and the sync completes with 14.04 in a bad state:

{"image": {"status": "active", "deleted": false, "container_format": "bare", "min_ram": 0, "updated_at": "2016-05-18T19:14:58.000000", "owner": "23b1d952ab4746b4b3990f10142f8a8e", "min_disk": 0, "is_public": true, "deleted_at": null, "id": "03f1dc12-fe60-499c-a582-c65f8cb5a9e8", "size": 303824896, "virtual_size": null, "name": "auto-sync/ubuntu-xenial-16.04-amd64-server-20160516.1-disk1.img", "checksum": "29c4d152758268383323b86208105960", "created_at": "2016-05-18T19:14:43.000000", "disk_format": "qcow2", "properties": {"os_distro": "ubuntu", "item_name": "disk1.img", "os_version": "16.04", "architecture": "x86_64", "version_name": "20160516.1", "content_id": "auto.sync", "product_name": "com.ubuntu.cloud:server:16.04:amd64", "source_content_id": "com.ubuntu.cloud:released:download"}, "protected": false}}
...
INFO * 05-18 19:14:59 [PID:16923] * root * Initial sync attempt done. every-minute cronjob removed.
INFO * 05-18 19:14:59 [PID:16923] * root * sync done.

I've attached the full logs from the glance and gs3 units.