ceph / ceph-csi

CSI driver for Ceph
Apache License 2.0
1.28k stars 547 forks source link

Improve e2e tests to help nbd tests #2432

Open pkalever opened 3 years ago

pkalever commented 3 years ago

Describe the bug

Improve e2e tests to help nbd tests:

Add the below intelligence to the utilities

Depends on:

github-actions[bot] commented 3 years ago

This issue has been automatically marked as stale because it has not had recent activity. It will be closed in a week if no further activity occurs. Thank you for your contributions.

pkalever commented 3 years ago

@Madhu-1 I remember this was your suggestion (comment on some PR review)? If you still remember was it for e2e only or for actual workflow?

If it is for actual workflow, who can check for the preferred kernel version in all the hosts in ceph-csi, is there anything currently in our framework which can help run the uname -r command in all the nodes easily and return the output? Can you please provide more technical details for the implementation front?

Also, how do we set the affinity for the real application pods from ceph-csi?

Maybe I'm thinking in the wrong direction or forget the gist for raising this issue :-)

Thanks!

pkalever commented 3 years ago

@Madhu-1 Given our e2e runs on a single node minikube instance, I don't think we need this now?

Madhu-1 commented 3 years ago

for now its minikube. the plan is to run with a multinode minikube cluster.

pkalever commented 3 years ago

for now its minikube. the plan is to run with a multinode minikube cluster.

@Madhu-1

Yes, I understand this part. I mean to say, this might need some work in our e2e after we have a multinode minikube cluster. And there is nothing to be done with/for existing e2e runs.

There are two things that we can do about this issue:

  1. wait until we have mutinode minikube cluster and address this, which is a long-term wait.
  2. Close this now as we do not have mutinode minikube cluster currently (for some extent we started worrying about something that doesn't exist :-) )

I will leave it up to you!

Thanks!