2021-07-26 17:45:34 |
Vladimir Grevtsev |
description |
One of the clouds I'm working on doesn't have an object store endpoint by design (there's no Ceph/RadosGW/Swift; images are stored in external S3-compliant storage).
After the changes introduced by LP: #1843486, in the default charm configuration, it doesn't start image sync with the following error:
INFO * 07-26 16:16:02 [PID:706977] * root * ps_service_exists=True, charm_conf['use_swift']=False, swift_exists=False
INFO * 07-26 16:16:02 [PID:706977] * root * Not updating product streams service.
INFO * 07-26 16:16:02 [PID:706977] * root * Beginning image sync
INFO * 07-26 16:16:02 [PID:706977] * root * Executing command: ['juju-run', 'glance-simplestreams-sync/0', 'status-set maintenance "Synchronising images"']
INFO * 07-26 16:16:02 [PID:706977] * root * Configuring sync for url {'url': 'http://cloud-images.ubuntu.com/releases/', 'name_prefix': 'ubuntu:released', 'path': 'streams/v1/index.sjson', 'max': 1, 'item_filters': ['release~(bionic|focal)', 'arch~(x86_64|amd64)', 'ftype~(disk1.img|disk.img)']}
INFO * 07-26 16:16:02 [PID:706977] * root * Executing command: ['juju-run', 'glance-simplestreams-sync/0', 'env']
ERROR * 07-26 16:16:02 [PID:706977] * root * could not retrieve any object-store endpoints
INFO * 07-26 16:16:02 [PID:706977] * root * sync done.
INFO * 07-26 16:17:01 [PID:707407] * root * glance-simplestreams-sync started.
This could be workarounded by setting ignore_proxy_for_object_store to False, although, it wasn't so obvious. Probably, should we consider making this endpoint optional? |
One of the clouds I'm working on doesn't have an object store endpoint by design (there's no Ceph/RadosGW/Swift; images are stored in external S3-compliant storage).
After the changes introduced by LP: #1843486, even with use_swift=False, it doesn't start image sync with the following error:
INFO * 07-26 16:16:02 [PID:706977] * root * ps_service_exists=True, charm_conf['use_swift']=False, swift_exists=False
INFO * 07-26 16:16:02 [PID:706977] * root * Not updating product streams service.
INFO * 07-26 16:16:02 [PID:706977] * root * Beginning image sync
INFO * 07-26 16:16:02 [PID:706977] * root * Executing command: ['juju-run', 'glance-simplestreams-sync/0', 'status-set maintenance "Synchronising images"']
INFO * 07-26 16:16:02 [PID:706977] * root * Configuring sync for url {'url': 'http://cloud-images.ubuntu.com/releases/', 'name_prefix': 'ubuntu:released', 'path': 'streams/v1/index.sjson', 'max': 1, 'item_filters': ['release~(bionic|focal)', 'arch~(x86_64|amd64)', 'ftype~(disk1.img|disk.img)']}
INFO * 07-26 16:16:02 [PID:706977] * root * Executing command: ['juju-run', 'glance-simplestreams-sync/0', 'env']
ERROR * 07-26 16:16:02 [PID:706977] * root * could not retrieve any object-store endpoints
INFO * 07-26 16:16:02 [PID:706977] * root * sync done.
INFO * 07-26 16:17:01 [PID:707407] * root * glance-simplestreams-sync started.
This could be workarounded by setting ignore_proxy_for_object_store to False, although, it wasn't so obvious. Probably, should we consider making this endpoint optional? |
|