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

test: add a test to enable and test rdma connect #1759

Merged
merged 1 commit into from
Nov 12, 2024

Conversation

dsharma-dc
Copy link
Contributor

  • Added a simple test to create and publish a nexus. Connect it over rdma.
  • The connect API is modified to take transport parameter.
  • The test automatically detects a suitable interface to create a soft-RDMA device, creates it and deletes it at the end of the test.

@dsharma-dc
Copy link
Contributor Author

The changes for composer dependencies are here: openebs/mayastor-dependencies#96

io-engine-tests/src/lib.rs Outdated Show resolved Hide resolved
io-engine-tests/src/lib.rs Outdated Show resolved Hide resolved
io-engine/tests/nvmf.rs Outdated Show resolved Hide resolved
io-engine-tests/src/lib.rs Outdated Show resolved Hide resolved
scripts/cargo-test.sh Outdated Show resolved Hide resolved
scripts/clean-cargo-tests.sh Outdated Show resolved Hide resolved
@dsharma-dc dsharma-dc force-pushed the composer_nw branch 3 times, most recently from f542244 to f4d3f01 Compare October 28, 2024 11:12
@dsharma-dc
Copy link
Contributor Author

bors try

bors-openebs-mayastor bot pushed a commit that referenced this pull request Oct 28, 2024
@bors-openebs-mayastor
Copy link

try

Build failed:

@dsharma-dc
Copy link
Contributor Author

bors try

bors-openebs-mayastor bot pushed a commit that referenced this pull request Oct 28, 2024
@bors-openebs-mayastor
Copy link

try

Build failed:

@dsharma-dc
Copy link
Contributor Author

CI machines have been setup with required modules now.

bors try

@bors-openebs-mayastor
Copy link

try

Merge conflict.

bors-openebs-mayastor bot pushed a commit that referenced this pull request Nov 8, 2024
@openebs openebs deleted a comment from bors-openebs-mayastor bot Nov 8, 2024
@pchandra19
Copy link

bors try

bors-openebs-mayastor bot pushed a commit that referenced this pull request Nov 8, 2024
@bors-openebs-mayastor
Copy link

try

Build failed:

@pchandra19
Copy link

bors try

bors-openebs-mayastor bot pushed a commit that referenced this pull request Nov 11, 2024
@bors-openebs-mayastor
Copy link

try

Build failed:

@dsharma-dc
Copy link
Contributor Author

I tried running the test manually and I notice the issue is that rxe rdma device is not getting correct IP address of the chosen interface assigned. This is the issue that we see when overlay network is present. As a result rdma listen is failing. I'll mark the test as #ignore for now and merge with that.

IP assigned to rdma device on eth0 (compare only last byte of dot decimal notation)
io-engine-rxe0 1 1 0000:0000:0000:0000:0000:ffff:87b5:b781 111.222.333.129 v2 eth0

Actual IP of eth0 from ifconfig

eth0: flags=xxxx<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500
        inet 111.222.333.161  netmask 255.255.255.255  broadcast 0.0.0.0

@dsharma-dc
Copy link
Contributor Author

bors try

bors-openebs-mayastor bot pushed a commit that referenced this pull request Nov 11, 2024
@bors-openebs-mayastor
Copy link

try

Build succeeded:

@dsharma-dc
Copy link
Contributor Author

bors merge

@bors-openebs-mayastor
Copy link

Build succeeded:

@bors-openebs-mayastor bors-openebs-mayastor bot merged commit 2825e5e into openebs:develop Nov 12, 2024
4 checks passed
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.

4 participants