Bug 1958927 - [cephadm] orch upgrade check : if ceph version is lesser than current don't update nodes in needs update
Summary: [cephadm] orch upgrade check : if ceph version is lesser than current don't u...
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Ceph Storage
Classification: Red Hat Storage
Component: Cephadm
Version: 5.0
Hardware: Unspecified
OS: Unspecified
low
low
Target Milestone: ---
: 5.1
Assignee: Adam King
QA Contact: Sunil Kumar Nagaraju
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2021-05-10 12:43 UTC by Vasishta
Modified: 2022-04-04 10:21 UTC (History)
3 users (show)

Fixed In Version: ceph-16.2.6-1.el8cp
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2022-04-04 10:20:39 UTC
Embargoed:


Attachments (Terms of Use)
File contains orch upgrade check output (8.92 KB, text/plain)
2021-05-10 12:43 UTC, Vasishta
no flags Details


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHSA-2022:1174 0 None None None 2022-04-04 10:21:06 UTC

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


Note You need to log in before you can comment on or make changes to this bug.