Skip to content

Add upgrade subcommand & other minor improvements to drbd setup script#1145

Open
malayparida2000 wants to merge 2 commits into
red-hat-storage:masterfrom
malayparida2000:drbd_upgrade
Open

Add upgrade subcommand & other minor improvements to drbd setup script#1145
malayparida2000 wants to merge 2 commits into
red-hat-storage:masterfrom
malayparida2000:drbd_upgrade

Conversation

@malayparida2000
Copy link
Copy Markdown

The DRBD upgrade flow looks like this:

  1. Validate output ConfigMap presence and load DRBD disk by-id mapping
  2. Add do not reconcile flag to the floating Ceph mon Deployment
  3. Scale floating Ceph mon down to 0 replicas
  4. Remove autostart DaemonSet
  5. Demote and down the DRBD resource on both nodes
  6. Delete the KMM Module and Dockerfile ConfigMap
  7. Recreate KMM Module and Dockerfile ConfigMap
  8. Wait for new kmods and validate version
  9. Drbdadm up the DRBD resource on both nodes
  10. Create the DRBD auto-start DaemonSet
  11. Remove do not reconcile flag from the floating Ceph mon Deployment
  12. Scale the floating Ceph mon back up to 1 replica
  13. Create the success ConfigMap

Assisted by AI.

Ref-https://redhat.atlassian.net/browse/RHSTOR-8825

The DRBD upgrade flow looks like this:
1. Validate output ConfigMap presence and load DRBD disk by-id mapping
2. Add do not reconcile flag to the floating Ceph mon Deployment
3. Scale floating Ceph mon down to 0 replicas
4. Remove autostart DaemonSet
5. Demote and down the DRBD resource on both nodes
6. Delete the KMM Module and Dockerfile ConfigMap
7. Recreate KMM Module and Dockerfile ConfigMap
8. Wait for new kmods and validate version
9. Drbdadm up the DRBD resource on both nodes
10. Create the DRBD auto-start DaemonSet
11. Remove do not reconcile flag from the floating Ceph mon Deployment
12. Scale the floating Ceph mon back up to 1 replica
13. Create the success ConfigMap

Assisted by AI.
Signed-off-by: Malay Kumar Parida <mparida@redhat.com>
@openshift-ci
Copy link
Copy Markdown

openshift-ci Bot commented May 12, 2026

[APPROVALNOTIFIER] This PR is NOT APPROVED

This pull-request has been approved by: malayparida2000
Once this PR has been reviewed and has the lgtm label, please assign subhamkrai for approval. For more information see the Code Review Process.

The full list of commands accepted by this bot can be found here.

Details Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@malayparida2000 malayparida2000 changed the title manifest: Add upgrade subcommand & other minor improvements Add upgrade subcommand & other minor improvements to drbd setup script May 12, 2026
Signed-off-by: Malay Kumar Parida <mparida@redhat.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant