This issue is caused by juju not storing image metadata with a cloud name nor a model uuid. There are a few
other bugs associated with this as well; juju metadata add-image -m <model>, isn't actually model specific etc.
Fixing this is non trivial within juju due to surrounding details and will require a juju upgrade once the fix is implemented.
I've asked for help with a POC to verify a potential work around in the mean time is possible.
@nickolay, can you please verify the exact method being using in this config to supply cloud image metadata to juju? Glance-simplestreams-sync charm? image-agent-url model config? juju metadata add-image? A different one?
This issue is caused by juju not storing image metadata with a cloud name nor a model uuid. There are a few
other bugs associated with this as well; juju metadata add-image -m <model>, isn't actually model specific etc.
Fixing this is non trivial within juju due to surrounding details and will require a juju upgrade once the fix is implemented.
I've asked for help with a POC to verify a potential work around in the mean time is possible.
@nickolay, can you please verify the exact method being using in this config to supply cloud image metadata to juju? Glance- simplestreams- sync charm? image-agent-url model config? juju metadata add-image? A different one?