Bug #58051
mgr/cephadm: try to avoid pull when getting container image info
% Done:
0%
Source:
Tags:
Backport:
Regression:
No
Severity:
3 - minor
Reviewed:
Affected Versions:
ceph-qa-suite:
Pull request ID:
Crash signature (v1):
Crash signature (v2):
Description
Currently, when getting a container image info the cephadm module always runs pull command.
There may be environments without access to registry but a user may pull the image manually before using cephadm. If the cephadm tried "inspect" instead of "pull", and did fallback to "pull" only when "inspect" fails, it could work for such cases.