2015-09-07 16:02:03 |
Peter Sabaini |
bug |
|
|
added bug |
2015-09-07 16:03:45 |
Peter Sabaini |
description |
When an image download fails, g-s-s comes to a halt. G-s-s should be more robust in handling that ie. it should continue to download other images.
For example, during initial sync the g-s-s log had this error:
DEBUG * 09-07 14:01:13 [PID:10150] * urllib3.connectionpool * "GET /releases/server/releases/raring/release-20140111/ubuntu-13.04-server-cloudimg-amd64-disk
1.img HTTP/1.1" 404 286
ERROR * 09-07 14:01:13 [PID:10150] * root * Exception during do_sync
Traceback (most recent call last):
File "/usr/share/glance-simplestreams-sync/glance-simplestreams-sync.py", line 286, in <module>
do_sync(charm_conf)
File "/usr/share/glance-simplestreams-sync/glance-simplestreams-sync.py", line 152, in do_sync
tmirror.sync(smirror, path=initial_path)
File "/usr/lib/python2.7/dist-packages/simplestreams/mirrors/__init__.py", line 88, in sync
return self.sync_index(reader, path, data, content)
File "/usr/lib/python2.7/dist-packages/simplestreams/mirrors/__init__.py", line 240, in sync_index
self.sync(reader, path=epath)
File "/usr/lib/python2.7/dist-packages/simplestreams/mirrors/__init__.py", line 86, in sync
return self.sync_products(reader, path, data, content)
File "/usr/lib/python2.7/dist-packages/simplestreams/mirrors/__init__.py", line 318, in sync_products
self.insert_item(item, src, target, pgree, ipath_cs)
File "/usr/lib/python2.7/dist-packages/simplestreams/mirrors/glance.py", line 195, in insert_item
(tmp_path, tmp_del) = util.get_local_copy(contentsource)
File "/usr/lib/python2.7/dist-packages/simplestreams/util.py", line 445, in get_local_copy
raise e
IOError: Unable to open http://cloud-images.ubuntu.com/releases/server/releases/raring/release-20140111/ubuntu-13.04-server-cloudimg-amd64-disk1.img. mirrors=[]
INFO * 09-07 14:01:13 [PID:10150] * root * Initial sync attempt done. every-minute cronjob removed.
INFO * 09-07 14:01:13 [PID:10150] * root * sync done.
Even though the raring image was indeed missing, trusty and other images were available. G-s-s should have tried to download those. |
When an image download fails, g-s-s comes to a halt. G-s-s should be more robust in handling that ie. it should continue to download other images.
For example, during initial sync the g-s-s log had this error:
DEBUG * 09-07 14:01:13 [PID:10150] * urllib3.connectionpool * "GET /releases/server/releases/raring/release-20140111/ubuntu-13.04-server-cloudimg-amd64-disk
1.img HTTP/1.1" 404 286
ERROR * 09-07 14:01:13 [PID:10150] * root * Exception during do_sync
Traceback (most recent call last):
File "/usr/share/glance-simplestreams-sync/glance-simplestreams-sync.py", line 286, in <module>
do_sync(charm_conf)
File "/usr/share/glance-simplestreams-sync/glance-simplestreams-sync.py", line 152, in do_sync
tmirror.sync(smirror, path=initial_path)
File "/usr/lib/python2.7/dist-packages/simplestreams/mirrors/__init__.py", line 88, in sync
return self.sync_index(reader, path, data, content)
File "/usr/lib/python2.7/dist-packages/simplestreams/mirrors/__init__.py", line 240, in sync_index
self.sync(reader, path=epath)
File "/usr/lib/python2.7/dist-packages/simplestreams/mirrors/__init__.py", line 86, in sync
return self.sync_products(reader, path, data, content)
File "/usr/lib/python2.7/dist-packages/simplestreams/mirrors/__init__.py", line 318, in sync_products
self.insert_item(item, src, target, pgree, ipath_cs)
File "/usr/lib/python2.7/dist-packages/simplestreams/mirrors/glance.py", line 195, in insert_item
(tmp_path, tmp_del) = util.get_local_copy(contentsource)
File "/usr/lib/python2.7/dist-packages/simplestreams/util.py", line 445, in get_local_copy
raise e
IOError: Unable to open http://cloud-images.ubuntu.com/releases/server/releases/raring/release-20140111/ubuntu-13.04-server-cloudimg-amd64-disk1.img. mirrors=[]
INFO * 09-07 14:01:13 [PID:10150] * root * Initial sync attempt done. every-minute cronjob removed.
INFO * 09-07 14:01:13 [PID:10150] * root * sync done.
Even though the raring image was indeed missing, trusty and other images were available. G-s-s should have tried to download those.
PS: g-s-s revno=52 |
|
2015-09-07 16:04:02 |
Peter Sabaini |
bug |
|
|
added subscriber The Canonical Sysadmins |
2015-09-08 13:04:07 |
James Page |
bug task added |
|
simplestreams |
|
2015-09-08 13:04:16 |
James Page |
glance-simplestreams-sync (Juju Charms Collection): status |
New |
Triaged |
|
2015-09-08 13:04:18 |
James Page |
glance-simplestreams-sync (Juju Charms Collection): importance |
Undecided |
Medium |
|
2015-09-08 14:22:28 |
Scott Moser |
description |
When an image download fails, g-s-s comes to a halt. G-s-s should be more robust in handling that ie. it should continue to download other images.
For example, during initial sync the g-s-s log had this error:
DEBUG * 09-07 14:01:13 [PID:10150] * urllib3.connectionpool * "GET /releases/server/releases/raring/release-20140111/ubuntu-13.04-server-cloudimg-amd64-disk
1.img HTTP/1.1" 404 286
ERROR * 09-07 14:01:13 [PID:10150] * root * Exception during do_sync
Traceback (most recent call last):
File "/usr/share/glance-simplestreams-sync/glance-simplestreams-sync.py", line 286, in <module>
do_sync(charm_conf)
File "/usr/share/glance-simplestreams-sync/glance-simplestreams-sync.py", line 152, in do_sync
tmirror.sync(smirror, path=initial_path)
File "/usr/lib/python2.7/dist-packages/simplestreams/mirrors/__init__.py", line 88, in sync
return self.sync_index(reader, path, data, content)
File "/usr/lib/python2.7/dist-packages/simplestreams/mirrors/__init__.py", line 240, in sync_index
self.sync(reader, path=epath)
File "/usr/lib/python2.7/dist-packages/simplestreams/mirrors/__init__.py", line 86, in sync
return self.sync_products(reader, path, data, content)
File "/usr/lib/python2.7/dist-packages/simplestreams/mirrors/__init__.py", line 318, in sync_products
self.insert_item(item, src, target, pgree, ipath_cs)
File "/usr/lib/python2.7/dist-packages/simplestreams/mirrors/glance.py", line 195, in insert_item
(tmp_path, tmp_del) = util.get_local_copy(contentsource)
File "/usr/lib/python2.7/dist-packages/simplestreams/util.py", line 445, in get_local_copy
raise e
IOError: Unable to open http://cloud-images.ubuntu.com/releases/server/releases/raring/release-20140111/ubuntu-13.04-server-cloudimg-amd64-disk1.img. mirrors=[]
INFO * 09-07 14:01:13 [PID:10150] * root * Initial sync attempt done. every-minute cronjob removed.
INFO * 09-07 14:01:13 [PID:10150] * root * sync done.
Even though the raring image was indeed missing, trusty and other images were available. G-s-s should have tried to download those.
PS: g-s-s revno=52 |
When an image download fails, g-s-s comes to a halt. G-s-s should be more robust in handling that ie. it should continue to download other images.
For example, during initial sync the g-s-s log had this error:
DEBUG * 09-07 14:01:13 [PID:10150] * urllib3.connectionpool * "GET /releases/server/releases/raring/release-20140111/ubuntu-13.04-server-cloudimg-amd64-disk
1.img HTTP/1.1" 404 286
ERROR * 09-07 14:01:13 [PID:10150] * root * Exception during do_sync
Traceback (most recent call last):
File "/usr/share/glance-simplestreams-sync/glance-simplestreams-sync.py", line 286, in <module>
do_sync(charm_conf)
File "/usr/share/glance-simplestreams-sync/glance-simplestreams-sync.py", line 152, in do_sync
tmirror.sync(smirror, path=initial_path)
File "/usr/lib/python2.7/dist-packages/simplestreams/mirrors/__init__.py", line 88, in sync
return self.sync_index(reader, path, data, content)
File "/usr/lib/python2.7/dist-packages/simplestreams/mirrors/__init__.py", line 240, in sync_index
self.sync(reader, path=epath)
File "/usr/lib/python2.7/dist-packages/simplestreams/mirrors/__init__.py", line 86, in sync
return self.sync_products(reader, path, data, content)
File "/usr/lib/python2.7/dist-packages/simplestreams/mirrors/__init__.py", line 318, in sync_products
self.insert_item(item, src, target, pgree, ipath_cs)
File "/usr/lib/python2.7/dist-packages/simplestreams/mirrors/glance.py", line 195, in insert_item
(tmp_path, tmp_del) = util.get_local_copy(contentsource)
File "/usr/lib/python2.7/dist-packages/simplestreams/util.py", line 445, in get_local_copy
raise e
IOError: Unable to open http://cloud-images.ubuntu.com/releases/server/releases/raring/release-20140111/ubuntu-13.04-server-cloudimg-amd64-disk1.img. mirrors=[]
INFO * 09-07 14:01:13 [PID:10150] * root * Initial sync attempt done. every-minute cronjob removed.
INFO * 09-07 14:01:13 [PID:10150] * root * sync done.
Even though the raring image was indeed missing, trusty and other images were available. G-s-s should have tried to download those.
PS: g-s-s revno=52
Related bugs:
* bug 1493395: https://bugs.launchpad.net/simplestreams/+bug/1493395 |
|
2017-02-23 20:42:45 |
James Page |
charm-glance-simplestreams-sync: importance |
Undecided |
Medium |
|
2017-02-23 20:42:45 |
James Page |
charm-glance-simplestreams-sync: status |
New |
Triaged |
|
2017-02-23 20:42:47 |
James Page |
glance-simplestreams-sync (Juju Charms Collection): status |
Triaged |
Invalid |
|
2018-03-06 22:42:19 |
Haw Loeung |
bug |
|
|
added subscriber Haw Loeung |
2019-03-05 07:48:48 |
Trent Lloyd |
bug |
|
|
added subscriber Trent Lloyd |