Project

General

Profile

Actions

Bug #54373

closed

cephadm shell is not creating a container with correct container image

Added by Vikhyat Umrao about 2 years ago. Updated about 2 years ago.

Status:
Resolved
Priority:
Normal
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

- The cephadm shell method still showing the pacific version, so looks like it is not creating the right container env with the correct image.


[root@f03-h10-000-r640 ~]# cephadm shell --name osd.2
Inferring fsid 582b49e8-8fa4-11ec-a181-bc97e17cf100
Inferring config /var/lib/ceph/582b49e8-8fa4-11ec-a181-bc97e17cf100/osd.2/config
Using recent ceph image registry-proxy.engineering.redhat.com/rh-osbs/rhceph@sha256:03ccec263a507bbf07ec9b25482abf4eabdeffa591af28bf4dba2c15d8db1d5b
[ceph: root@f03-h10-000-r640 /]# osdmaptool --version
ceph version 16.2.7-65.el8cp (499bc1e23ab4671631da5affff6e1c772b8fe42d) pacific (stable)
[ceph: root@f03-h10-000-r640 /]# rpm -qa |grep ceph-osd
ceph-osd-16.2.7-65.el8cp.x86_64
[ceph: root@f03-h10-000-r640 /]#

- This podman exec method is giving correct results as it is using existing osd container


[root@f03-h10-000-r640 ~]# podman ps | grep -w osd.2
1e203360f300  quay.ceph.io/ceph-ci/ceph@sha256:896874e2b54827a0040bd75f072f40be1114403da0a764eed2e606025e9e557c  -n osd.2 -f --set...  45 hours ago  Up 45 hours ago          ceph-582b49e8-8fa4-11ec-a181-bc97e17cf100-osd-2
[root@f03-h10-000-r640 ~]# podman exec -ti 1e203360f300 /bin/bash
[root@f03-h10-000-r640 /]# osdmaptool --version
ceph version 17.0.0-10315-ga00e8b31 (a00e8b315af02865380634f8100dc7d18a18af4f) quincy (dev)
[root@f03-h10-000-r640 /]# rpm -qa | grep ceph-osd
ceph-osd-17.0.0-10315.ga00e8b31.el8.x86_64
[root@f03-h10-000-r640 /]#

Actions

Also available in: Atom PDF