Failure to sync an image with default mirror_list
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenStack Glance-Simplestreams-Sync Charm |
Triaged
|
Medium
|
Unassigned |
Bug Description
We are using glance-
We discovered that the default mirror_list option on the charm started to fail since January. Since Focal and Bionic images were successfully updated, trusty and xenial were failing.
Juju status glance-
We simply removed trusty from default mirror_list setting and it worked.
Here is the log from glance-
ERROR * 04-27 12:00:10 [PID:1115534] * root * Exception during syncing:
Traceback (most recent call last):
File "/usr/share/
do_
File "/usr/share/
subprocess.
File "/usr/lib/
raise CalledProcessEr
subprocess.
INFO * 04-27 12:00:10 [PID:1115534] * root * Executing command: ['juju-run', 'glance-
Triage: Indeed, in the config.yaml for the charm:
mirror_list: cloud-images. ubuntu. com/releases/ ',
name_ prefix: 'ubuntu:released',
path: 'streams/ v1/index. sjson', max: 1,
item_ filters: ['release~ (trusty| xenial| bionic| focal)' , 'arch~( x86_64| amd64)' , 'ftype~ (disk1. img|disk. img)']} ]" formatted list of simplestreams mirrors and their configuration images. ubuntu. com.
type: string
default: "[{url: 'http://
description: >
YAML-
properties. Defaults to downloading the released images from
cloud-
As trusty is EOL, it should probably be removed from the default list.