[Series-upgrade] doesn't install python3 packages (or they get uninstalled)
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenStack Glance-Simplestreams-Sync Charm |
Fix Released
|
Undecided
|
Alex Kavanagh |
Bug Description
At some point between bionic-queens and focal-ussuri, g-s-s stopped syncing images as the python3-
I *think* it occurred during the series upgrade when 'unused' packages were purged, but I'm not sure.
Running the sync action produces the error:
$ juju run-action --wait glance-
unit-glance-
UnitId: glance-
id: "2307"
message: exit status 1
results:
ReturnCode: 1
Stderr: |
Traceback (most recent call last):
File "/usr/share/
from keystoneclient.v2_0 import client as keystone_client
ModuleNot
status: failed
timing:
completed: 2021-06-30 16:05:51 +0000 UTC
enqueued: 2021-06-30 16:05:46 +0000 UTC
started: 2021-06-30 16:05:50 +0000 UTC
The workaround, is to run on the unit:
$ sudo apt install python3-
Changed in charm-glance-simplestreams-sync: | |
assignee: | nobody → Alex Kavanagh (ajkavanagh) |
tags: | added: charm-upgrade series-upgrade |
Changed in charm-glance-simplestreams-sync: | |
milestone: | none → 21.10 |
Changed in charm-glance-simplestreams-sync: | |
status: | Fix Committed → Fix Released |
Fix proposed to branch: master /review. opendev. org/c/openstack /charm- glance- simplestreams- sync/+/ 799091
Review: https:/