Bug 2098777

Summary: [RFE] [orchestrator] : Upgrade : Status message needs to be tuned when upgrade is initiated with same image
Product: [Red Hat Storage] Red Hat Ceph Storage Reporter: Vasishta <vashastr>
Component: CephadmAssignee: Adam King <adking>
Status: NEW --- QA Contact: Manasa <mgowri>
Severity: low Docs Contact:
Priority: unspecified    
Version: 5.2CC: cephqe-warriors, saraut
Target Milestone: ---Keywords: FutureFeature
Target Release: 8.0   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 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:

Description Vasishta 2022-06-20 09:32:29 UTC
Description of problem:
When Upgrade to same image is initiated upgrade status still has "services_complete": field and progress says "progress": "x/y daemons upgraded".

This might send out a wrong message that there were some upgrade of daemon happened which should not happen.

Users with disconnected env might use custom image name with different image name for each new container and might end up trying out upgrade start with same image name. So this issue is good to fix.

Version-Release number of selected component (if applicable):
16.2.8-50.el8cp

Steps to Reproduce:
1. Configure RHCS cluster
2. Upgrade cluster to updated container image.
3. Initiate upgrade once again with same image once first upgrade is done.
and check upgrade status.

Actual results:
>> "progress": "32/42 daemons upgraded"
Even when there were no upgrade of daemons happened as upgrade was initiated with same image

Expected results:
"progress" section in upgrade status must not depict that X daemons were upgraded when there was not upgrade involved.

Additional info: