Project

General

Profile

Actions

Bug #54588

closed

cephadm: pull command does not pull latest image

Added by Michael Fritch about 2 years ago. Updated almost 2 years ago.

Status:
Resolved
Priority:
Normal
Category:
cephadm (binary)
Target version:
-
% Done:

0%

Source:
Tags:
Backport:
quincy,pacific, octupus
Regression:
No
Severity:
3 - minor
Reviewed:
Affected Versions:
ceph-qa-suite:
Pull request ID:
Crash signature (v1):
Crash signature (v2):

Description

the usage for the `cephadm pull` command claims it will `pull latest image version`

However, it actually infers the last pulled ceph image (by digest):

# cephadm pull
Using recent ceph image docker.io/ceph/daemon-base@sha256:673ed6755ec01f8ba5ceb01598318bcd349375e136d16f7cde01b45e898822a5
Pulling container image docker.io/ceph/daemon-base@sha256:673ed6755ec01f8ba5ceb01598318bcd349375e136d16f7cde01b45e898822a5...
{   
    "ceph_version": "ceph version 17.0.0-7183-g54142666 (54142666e5705ced88e3e2d91ddc0ff29867a362) quincy (dev)",
    "image_id": "75e3d7089cea6d20368af487d639b5c9028e0086b7bc7ccfe047b8ce6d6d14d0",
    "repo_digests": [
        "docker.io/ceph/daemon-base@sha256:673ed6755ec01f8ba5ceb01598318bcd349375e136d16f7cde01b45e898822a5" 
    ]
}

... which already exists locally, when it would probably make more sense to actually pull the defined default container image.

Actions #1

Updated by Michael Fritch about 2 years ago

  • Status changed from New to Fix Under Review
  • Pull request ID set to 45420

new behavior via PR 45420:

# cephadm pull
This is a development version of cephadm.
For information regarding the latest stable release:
    https://docs.ceph.com/docs/pacific/cephadm/install
Pulling container image quay.ceph.io/ceph-ci/ceph:master...
{   
    "ceph_version": "ceph version 17.0.0-11103-g3d8aa0ae (3d8aa0ae0fb6a91540a2167ef5ae28d11b55b52e) quincy (dev)",
    "image_id": "959f506ae4337ce4451f9cb856ad3c62fb0d3592fa7cd4f5b2102c5a298d9027",
    "repo_digests": [
        "quay.ceph.io/ceph-ci/ceph@sha256:f5751ecc5c65987e08f767c23b631c58bc596418a6e7e1f3d84c66a81ca5cf70" 
    ]
}
Actions #2

Updated by Redouane Kachach Elhichou almost 2 years ago

  • Status changed from Fix Under Review to Pending Backport
  • Backport set to quincy,pacific, octupus
Actions #3

Updated by Redouane Kachach Elhichou almost 2 years ago

  • Status changed from Pending Backport to Resolved
Actions

Also available in: Atom PDF