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 is not a good check to test the connection to the CDN #19

Open
m8ram opened this issue Feb 10, 2016 · 1 comment
Open

ping is not a good check to test the connection to the CDN #19

m8ram opened this issue Feb 10, 2016 · 1 comment

Comments

@m8ram
Copy link
Contributor

m8ram commented Feb 10, 2016

The connection to the CDN is tested with ping. This causes false negatives and may even cause a false positive.

 + Checking connection to cdn.redhat.com
ping: unknown host cdn.redhat.com

This is because our satellite needs to connect through a proxy. Not only is the satellite system itself unable to resolve the URI, even it were able to ping would not work this way.

Also a ping test does not guarantee that other connections can be made and/or ping can be blocked independently without blocking the required connections.

Is there a different way to test this? Perhaps using wget/curl and using the proxy as defined in the satellite's config?

m8ram added a commit to m8ram/sat6_healthCheck that referenced this issue Feb 10, 2016
Use curl instead of ping to test the connection to the CDN.
Use a proxy if one is configured in the katello answer file.
@pcfe
Copy link

pcfe commented Mar 7, 2016

I second the motion to please test connectivity with curl instead of ping (ping will fail at > 75% of the customers I get sent to).

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

2 participants