Bug 2108499 - [RFE] [cephadm] : orch upgrade status : status to depict that upgrade is currently paused in case of error
Summary: [RFE] [cephadm] : orch upgrade status : status to depict that upgrade is curr...
Keywords:
Status: NEW
Alias: None
Product: Red Hat Ceph Storage
Classification: Red Hat Storage
Component: Cephadm
Version: 5.2
Hardware: Unspecified
OS: Unspecified
unspecified
medium
Target Milestone: ---
: 8.0
Assignee: Adam King
QA Contact: Manasa
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2022-07-19 08:16 UTC by Vasishta
Modified: 2023-07-05 15:41 UTC (History)
2 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Ceph Project Bug Tracker 55843 0 None None None 2022-12-13 15:46:59 UTC
Red Hat Issue Tracker RHCEPH-4813 0 None None None 2022-07-19 08:19:08 UTC

Description Vasishta 2022-07-19 08:16:33 UTC
Description of problem:
Tried upgrade from one build to another build.

Image pull failed due to some DNS issue in image registry host.

After DNS issue got fixed, upgrade did not proceed.

Thought of restarting upgrade process as the upgrade in_progress was true.

Tried upgrade pause to resume back considering it as resume.

It would have been nice if upgrade status mentioned that upgrade is currently paced due to Error.

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

How reproducible:
Tried twice faced twice.

Steps to Reproduce:
1. Try upgrade of cluster using ceph orchestrator and induce failure as mentioned above.
2. Check upgrade status.

Actual results:
[ubuntu@magna032 ~]$ sudo ceph orch upgrade status
{
    "target_image": "registry-proxy.engineering.redhat.com/rh-osbs/rhceph:ceph-5.2-rhel-8-containers-candidate-66591-20220715201234",
    "in_progress": true,
    "which": "Upgrading all daemon types on all hosts",
    "services_complete": [],
    "progress": "",
    "message": "Error: UPGRADE_FAILED_PULL: Upgrade: failed to pull target image"
}
[ubuntu@magna032 ~]$ sudo ceph orch upgrade pause
Upgrade to registry-proxy.engineering.redhat.com/rh-osbs/rhceph:ceph-5.2-rhel-8-containers-candidate-66591-20220715201234 already paused

Expected results:
ceph orch upgrade to depect that the upgrade is paused.

Additional info:
This is an enhancement request from usability enhancement perspective.


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