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

Package installation in ping and other scripts doesn't work #56

Open
jmcvaughn opened this issue Jan 19, 2023 · 0 comments
Open

Package installation in ping and other scripts doesn't work #56

jmcvaughn opened this issue Jan 19, 2023 · 0 comments

Comments

@jmcvaughn
Copy link
Collaborator

Opening ssh sessions to all servers
Traceback (most recent call last):
  File "./wekachecker.py", line 202, in <module>
    p = subprocess.Popen(["ping", "-c1", server._hostname], stdout=ot, stderr=ot)
  File "/usr/lib64/python3.6/subprocess.py", line 729, in __init__
    restore_signals, start_new_session)
  File "/usr/lib64/python3.6/subprocess.py", line 1364, in _execute_child
    raise child_exception_type(errno_num, err_msg, err_filename)
FileNotFoundError: [Errno 2] No such file or directory: 'ping': 'ping'

If you run the scripts standalone, they work as expected.

I'm tempted to remove these but I see that they were included in commits to resolve issues/improve functionality. ping and other iputils stuff should be pre-installed on all systems (and removing iputils-ping even removes dracut as a dependency somehow!) so whether these installation checks are even needed is another matter...

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

1 participant