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

ping -R does not work from Fedora 20 for all hosts #75

Closed
willr3 opened this issue Oct 22, 2014 · 4 comments
Closed

ping -R does not work from Fedora 20 for all hosts #75

willr3 opened this issue Oct 22, 2014 · 4 comments

Comments

@willr3
Copy link
Contributor

willr3 commented Oct 22, 2014

I have a local test environment with multiple agents but the master is unable to reach the agents because of the use of ping -R in harness/bin/Linux/interface:20
changing

INTERFACE=`ping -R -c1 "${TARGET}" | grep RR | awk '{ print $2 }' 2>/tmp/interface.$$.err`

to use ping

INTERFACE=`ping -c1 "${TARGET}" | grep PING | cut -d "(" -f2 | cut -d ")" -f1 2>/tmp/interface.$$.err`

works in my local environment and was initially discussed in the google-group Cannot contact hostx

@shanti
Copy link
Collaborator

shanti commented Oct 23, 2014

Question: Will this ping '-c1' work on all other Linuxes as well?

On Wed, Oct 22, 2014 at 9:35 AM, willr3 [email protected] wrote:

I have a local test environment with multiple agents but the master is
unable to reach the agents because of the use of ping -R in
harness/bin/Linux/interface:20
https://github.com/akara/faban/blob/master/harness/bin/Linux/interface#L20
changing

INTERFACE=ping -R -c1 "${TARGET}" | grep RR | awk '{ print $2 }' 2>/tmp/interface.$$.err

to use ping

INTERFACE=ping -c1 "${TARGET}" | grep PING | cut -d "(" -f2 | cut -d ")" -f1 2>/tmp/interface.$$.err

works in my local environment and was initially discussed in the
google-group Cannot contact hostx
https://groups.google.com/forum/#!searchin/faban-users/Cannot%2420contact%2420hostx/faban-users/YL2RAJHuAWE/1gCbovy-CCgJ


Reply to this email directly or view it on GitHub
#75.

@shanti
Copy link
Collaborator

shanti commented Oct 24, 2014

Tested on Ubuntu and CentOS. It works.
Will - can I trouble you to generate a pull request?

On Thu, Oct 23, 2014 at 8:34 AM, Shanti Subramanyam (gmail) <
[email protected]> wrote:

Question: Will this ping '-c1' work on all other Linuxes as well?

On Wed, Oct 22, 2014 at 9:35 AM, willr3 [email protected] wrote:

I have a local test environment with multiple agents but the master is
unable to reach the agents because of the use of ping -R in
harness/bin/Linux/interface:20
https://github.com/akara/faban/blob/master/harness/bin/Linux/interface#L20
changing

INTERFACE=ping -R -c1 "${TARGET}" | grep RR | awk '{ print $2 }' 2>/tmp/interface.$$.err

to use ping

INTERFACE=ping -c1 "${TARGET}" | grep PING | cut -d "(" -f2 | cut -d ")" -f1 2>/tmp/interface.$$.err

works in my local environment and was initially discussed in the
google-group Cannot contact hostx
https://groups.google.com/forum/#!searchin/faban-users/Cannot%2420contact%2420hostx/faban-users/YL2RAJHuAWE/1gCbovy-CCgJ


Reply to this email directly or view it on GitHub
#75.

shanti added a commit that referenced this issue Oct 24, 2014
Changed ping command to the one specified in the issue.
Tested on Ubuntu, CentOS, Fedora
@shanti shanti closed this as completed Oct 24, 2014
@whitingjr
Copy link
Collaborator

Looks like this commit has broken lookups of the interface for users. Eg #121
Have also seen this as well in a new environment.
This commit needs to be reverted.

@willr3
Copy link
Contributor Author

willr3 commented Feb 11, 2021

I'm seeing the same situation. The previous method (ping -R) works on Fedora 32 and RHEL 8 but the current method does not. I think this was actually my error back in 2014 and I'm not sure how it worked with remote agents.

whitingjr added a commit to whitingjr/faban that referenced this issue Feb 20, 2021
This reverts commit 76f1149.

 Reinstate interface script to identify the master.
whitingjr added a commit that referenced this issue Feb 20, 2021
This reverts commit 76f1149.

 Reinstate interface script to identify the master.
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

No branches or pull requests

3 participants