pmda/rds: Introduce new PMDA for RDS#2447
pmda/rds: Introduce new PMDA for RDS#2447Hannibal404 wants to merge 6 commits intoperformancecopilot:mainfrom
Conversation
|
Install fails for me after building rpm packages with: I expect it relates to the .python file extensions, and the more dynamic import mechanism used by pmdabcc might be more what you're after here. Unrelated to this, the new QA test .out file contains several errors as well that shouldn't be there (relating to 'unknown metric name') - but, it fails with the Install for me so I've not been able to observe that second issue locally to advise further (its definitely wrong, I just don't know why). |
|
Added simlinks for the modules files to fix the errors. The QA output had unknown metrics errors due to IB specific metrics on a machine without infiniband. Updated. |
|
@Hannibal404 thanks for the updates, I'm still seeing issues though. The test fails because rds Install fails similarly to previously... I think you may need something more like this code from pmdabcc: |
|
that's strange, it was failing for me on a fedora machine, but after creating the symlinks it got resolved. I'll try using importlib. |
|
Replaced the regular imports with importlib |
|
Something is still wrong, this is what I see: I realize now there's a simpler example you can use - see the netcheck PMDA. The .py/.python aspect seems to be a red herring as it doesn't have to bother with that. Can you do a ./Makepkgs build, install the new RPMs, and then in qa "./check -g pmda.rds" before resending - thanks! |
2a0f9be to
cba6d07
Compare
|
The installation now works for me even without the symlink creation both with and without importlib. It doesn't seem to be an issue with how modules are imported since even netcheck has similar imports:
I do not see a mention of modules.pcpnetcheck anywhere in netcheck.conf either. PS: Made some updates to the test output |
|
@Hannibal404 looks like there's some qa/group conflicts with main branch - could you take a look & I'll take this for another spin tomorrow? Thanks! |
This commit adds a new PMDA (Performance Metrics Domain Agent) for Reliable Datagram Sockets (RDS). It exports key metrics including connection information, socket and connection statistics, and details of send, receive, and retransmit queues for performance analysis using Performance Co-Pilot (PCP). This PMDA is intended to aid in diagnosing network-related issues on systems using RDS over Infiniband or TCP. Signed-off-by: Mohith Kumar Thummaluru <mohith.k.kumar.thummaluru@oracle.com>
Signed-off-by: Mohith Kumar Thummaluru <mohith.k.kumar.thummaluru@oracle.com>
Add manpage for rds pmda and address some linting issues Signed-off-by: Pradyumn Rahar <pradyumn.rahar@oracle.com>
Signed-off-by: Pradyumn Rahar <pradyumn.rahar@oracle.com>
Signed-off-by: Pradyumn Rahar <pradyumn.rahar@oracle.com>
cba6d07 to
fe9a3f2
Compare
|
rebased and resolved conflicts |
|
@Hannibal404 running Install in /var/lib/pcp/pmdas/rds still fails ... |
|
the only remaining difference between netcheck and rds that I can see is the pyprep file, which just creates the symlinks, could however on my end now even without symlinks it's not an issue |
|
| however on my end [...] How are you running this? (are you using Makepkgs and installing the packages?). What Linux distribution are you using there? |
|
yes I am installing after building with Makepkgs. |
|
OK, excellent. Can you paste the output of the Install script after a fresh RPM install so we can see where it starts to differ to what I pasted above? Thanks. |
|
after a fresh installation: |
|
If I change my setup to perform the "pyprep" (same as netcheck), I get the same result as you. I guess at some point in the past you may have run that script in the "rds" directory? Either way, looks like it is needed after all - could you add it in here? Then I think we're good to go. |
|
sure I will add it |
Add pyprep file to resolve issue with imports Signed-off-by: Pradyumn Rahar <pradyumn.rahar@oracle.com>
a066092 to
e92fd63
Compare
This change adds a new PMDA (Performance Metrics Domain Agent) for Reliable Datagram Sockets (RDS). It exports key metrics including connection information, socket and connection statistics, and details of send, receive, and retransmit queues for performance analysis using Performance Co-Pilot (PCP).
This PMDA is intended to aid in diagnosing network-related issues on systems using RDS over Infiniband or TCP.
Replaces #2230