Juju returns no cached images even though there are
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Canonical Juju |
Expired
|
Undecided
|
Unassigned | ||
2.2 |
Won't Fix
|
Undecided
|
Unassigned |
Bug Description
Hi,
On an environment where the controller is running Juju 2.2.9, 'juju cached-images' returns nothing even though there are.
| prodstack-
| No images to display.
| prodstack-
| No images to display.
Via the MongoDB shell, you can see that there are some:
| juju:PRIMARY> db.cloudimageme
| { "_id" : "daily:
| { "_id" : "released:
This was discovered when trying to remove cached OS images in Juju to work around that known caching bug.
Also, for future travellers, this command below (via MongoDB shell) removes the cached OS images:
| db.cloudimageme tadata. deleteMany( { series: 'bionic' })