Skip to content

consumer and configmap post-deploy verification internal and external #12752

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

DanielOsypenko
Copy link
Contributor

Verified with multiple clusters to confirm fresh, postupgrade, single-client and multi-client

Internal consumer check on Converged 4.20 multi-client

verify_storage_consumer_resources("internal")
StorageConsumer config map data match:
 {
  "cephfs-subvolumegroup": true,
  "cephfs-subvolumegroup-rados-ns": true,
  "rbd-rados-ns": true,
  "csi-cephfs-node-ceph-user": true,
  "csi-cephfs-provisioner-ceph-user": true,
  "csi-rbd-node-ceph-user": true,
  "csi-rbd-provisioner-ceph-user": true,
  "csiop-cephfs-client-profile": true,
  "csiop-rbd-client-profile": true
}

External consumer check on Converged 4.20 multi-client

verify_storage_consumer_resources("consumer-cl-419-b")
StorageConsumer config map data match:
 {
  "cephfs-subvolumegroup": true,
  "cephfs-subvolumegroup-rados-ns": true,
  "rbd-rados-ns": true,
  "csi-cephfs-node-ceph-user": true,
  "csi-cephfs-provisioner-ceph-user": true,
  "csi-rbd-node-ceph-user": true,
  "csi-rbd-provisioner-ceph-user": true,
  "csiop-cephfs-client-profile": true,
  "csiop-rbd-client-profile": true

Internal consumer check on Upgraded 4.18 -> 4.19 Single-client

verify_storage_consumer_resources("internal")
StorageConsumer config map data match:
 {
  "cephfs-subvolumegroup": true,
  "cephfs-subvolumegroup-rados-ns": true,
  "rbd-rados-ns": true,
  "csi-cephfs-node-ceph-user": true,
  "csi-cephfs-provisioner-ceph-user": true,
  "csi-rbd-node-ceph-user": true,
  "csi-rbd-provisioner-ceph-user": true,
  "csiop-cephfs-client-profile": true,
  "csiop-rbd-client-profile": true
}

Internal consumer on fresh 4.19 Single-client

StorageConsumer config map data match:
 {
  "cephfs-subvolumegroup": true,
  "cephfs-subvolumegroup-rados-ns": true,
  "rbd-rados-ns": true,
  "csi-cephfs-node-ceph-user": true,
  "csi-cephfs-provisioner-ceph-user": true,
  "csi-rbd-node-ceph-user": true,
  "csi-rbd-provisioner-ceph-user": true,
  "csiop-cephfs-client-profile": true,
  "csiop-rbd-client-profile": true
}

@DanielOsypenko DanielOsypenko self-assigned this Jul 22, 2025
@DanielOsypenko DanielOsypenko requested a review from a team as a code owner July 22, 2025 17:11
@pull-request-size pull-request-size bot added the size/L PR that changes 100-499 lines label Jul 22, 2025
Copy link

openshift-ci bot commented Jul 22, 2025

[APPROVALNOTIFIER] This PR is NOT APPROVED

This pull-request has been approved by: DanielOsypenko

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

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

)
ceph_data_on_consumer_match_arg["csi-cephfs-provisioner-ceph-user"] = (
ceph_data_arg.get("csi-cephfs-provisioner-ceph-user", "")
== "rook-csi-cephfs-provisioner"
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Do you think it would make sense to re-use constants from https://github.com/red-hat-storage/ocs-ci/blob/master/ocs_ci/ocs/constants.py#L1971 ?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
size/L PR that changes 100-499 lines
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants