Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.
This project is now read‑only. Starting Monday, February 2, please use https://ibm-ceph.atlassian.net/ for all bug tracking management.

Bug 1958927

Summary: [cephadm] orch upgrade check : if ceph version is lesser than current don't update nodes in needs update
Product: [Red Hat Storage] Red Hat Ceph Storage Reporter: Vasishta <vashastr>
Component: CephadmAssignee: Adam King <adking>
Status: CLOSED ERRATA QA Contact: Sunil Kumar Nagaraju <sunnagar>
Severity: low Docs Contact:
Priority: low    
Version: 5.0CC: agunn, rlepaksh, sunnagar
Target Milestone: ---   
Target Release: 5.1   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: ceph-16.2.6-1.el8cp Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2022-04-04 10:20:39 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Attachments:
Description Flags
File contains orch upgrade check output none

Description Vasishta 2021-05-10 12:43:02 UTC
Created attachment 1781678 [details]
File contains orch upgrade check output

Description of problem:
Tried ceph upgrade check on older image, orchestrator still added all daemons to "needs_update" list

Version-Release number of selected component (if applicable):
16.2.0-33.el8cp 

How reproducible:
Tried twice faced twice

Steps to Reproduce:
1. Configure rhcs 5.x cluster
2. Select an older ceph image and check upgrade

Actual results:
orchestrator adds daemons to "needs_update" list

Expected results:
orchestrator must not add daemons to "needs_update" list if the image provided by user has lower version of ceph

Additional info:
#ceph orch upgrade check registry-proxy.engineering.redhat.com/rh-osbs/rhceph:ceph-5.0-rhel-8-containers-candidate-32066-20210323224421 | grep "current_version\|target_version" |tail -n 2
            "current_version": "16.2.0-33.el8cp"
    "target_version": "ceph version 16.1.0-997.el8cp (c43741662766750bff36d5794871fd2adebec455) pacific (rc)",

Comment 11 errata-xmlrpc 2022-04-04 10:20:39 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory (Moderate: Red Hat Ceph Storage 5.1 Security, Enhancement, and Bug Fix update), and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

https://access.redhat.com/errata/RHSA-2022:1174