Project

General

Profile

Bug #58051

mgr/cephadm: try to avoid pull when getting container image info

Added by Mykola Golub 2 months ago.

Status:
In Progress
Priority:
Normal
Assignee:
Category:
cephadm
Target version:
-
% 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.

Also available in: Atom PDF