Project

General

Profile

Actions

Bug #54045

open

mgr/dashboard: cephadm box fix remove tar image error

Added by Pere Díaz Bou about 2 years ago. Updated about 2 years ago.

Status:
In Progress
Priority:
Normal
Category:
Build, CI, Dependencies & Tools
Target version:
-
% Done:

0%

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

Description

Description of problem

sudo ./box.py -v cluster setup
Getting ceph image
Running command: docker pull quay.ceph.io/ceph-ci/ceph:master
master: Pulling from ceph-ci/ceph
Digest: sha256:ec574806cc00ca8fc76eab484bb3a13c1bcb66933a3a265c3d4c3ee70c8e2d66
Status: Downloaded newer image for quay.ceph.io/ceph-ci/ceph:master
quay.ceph.io/ceph-ci/ceph:master
Running command: docker build -t quay.ceph.io/ceph-ci/ceph:master docker/ceph
Sending build context to Docker daemon  4.096kB
Step 1/2 : FROM quay.ceph.io/ceph-ci/ceph:master
 ---> 0c8c1a725e5b
Step 2/2 : EXPOSE 8443
 ---> Using cache
 ---> 6a4288439d79
Successfully built 6a4288439d79
Successfully tagged quay.ceph.io/ceph-ci/ceph:master
Traceback (most recent call last):
  File "./box.py", line 263, in <module>
    main()
  File "./box.py", line 257, in main
    instance.main()
  File "/home/epuertat/git/ceph/src/cephadm/box/util.py", line 51, in main
    function()
  File "/home/epuertat/git/ceph/src/cephadm/box/util.py", line 56, in wrapper
    return func(*args, **kwargs)
  File "./box.py", line 69, in setup
    get_ceph_image()
  File "./box.py", line 44, in get_ceph_image
    os.remove(image_tar)
FileNotFoundError: [Errno 2] No such file or directory: 'docker/ceph/image/quay.ceph.image.tar'

Environment

  • ceph version string:
  • Platform (OS/distro/release):
  • Cluster details (nodes, monitors, OSDs):
  • Did it happen on a stable environment or after a migration/upgrade?:
  • Browser used (e.g.: Version 86.0.4240.198 (Official Build) (64-bit)):

How reproducible

Steps:

  1. ...

Actual results

Please add logs and/or screenshots

Expected results

here

Additional info

here

Actions #1

Updated by Ernesto Puerta about 2 years ago

  • Status changed from New to In Progress
  • Backport set to pacific
  • Pull request ID set to 44812
Actions

Also available in: Atom PDF