Skip to content
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

Add CSI storage objects #163

Merged
merged 1 commit into from Jul 31, 2020

Conversation

jsafrane
Copy link
Contributor

@jsafrane jsafrane commented Jul 28, 2020

must-gather should collect these Kubernetes objects too:

  • CSIDriver - information about installed CSI drivers (one per driver, usually few per cluster)
    * CSINode - information about CSI driver topology (one per node)

must-gather should collect CSIDriver objects. They're not owned by any
particular OpenShift operator, as they can be provided by 3rd party vendor
and we need to have some overview about what's in the cluster.
@jsafrane jsafrane changed the title Add CSI storage objecst Add CSI storage objects Jul 28, 2020
@jsafrane
Copy link
Contributor Author

/assign @sferich888

@wking
Copy link
Member

wking commented Jul 28, 2020

Example CSINode content here is setting ownerReferences pointing at the node:

$ curl -s https://storage.googleapis.com/origin-ci-test/pr-logs/pull/openshift_release/10391/rehearse-10391-pull-ci-openshift-cluster-etcd-operator-master-e2e-aws/1286043343414890496/artifacts/e2e-aws/gather-extra/csinodes.json | jq '.items[0].metadata.ownerReferences'
[
  {
    "apiVersion": "v1",
    "kind": "Node",
    "name": "ip-10-0-154-148.ec2.internal",
    "uid": "262b962e-035a-4e47-81f8-8ba8e9a47888"
  }
]

We already collect the nodes. It's not clear to me why oc adm inspect ... is not picking these up today.

@jsafrane
Copy link
Contributor Author

Filed https://bugzilla.redhat.com/show_bug.cgi?id=1861650 for CSINodes. Left only CSIDrivers in this PR.

@sferich888
Copy link
Contributor

/lgtm

@openshift-ci-robot openshift-ci-robot added the lgtm Indicates that a PR is ready to be merged. label Jul 31, 2020
@openshift-ci-robot
Copy link

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: jsafrane, sferich888

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

The pull request process is described 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

@openshift-ci-robot openshift-ci-robot added the approved Indicates a PR has been approved by an approver from all required OWNERS files. label Jul 31, 2020
@openshift-merge-robot openshift-merge-robot merged commit 6f2f77a into openshift:master Jul 31, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
approved Indicates a PR has been approved by an approver from all required OWNERS files. lgtm Indicates that a PR is ready to be merged.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

5 participants