You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The current approach to recording GeoIP resolution metrics has the issue that it creates a lot of scary noise on startup for OSDF Directors. Consider the logs I get when I run things locally:
INFO[2024-11-06T14:16:28Z] Generating/advertising server ads from OSG topology service...
INFO[2024-11-06T14:16:28Z] The following servers are currently configured in downtime: map[string]director.filterType{"CARDIFF_UK_OSDF_CACHE":"topologyFiltered", "CHTC_STASHCACHE_CACHE":"topologyFiltered", "FZU_STASH":"topologyFiltered", "MGHPCC_NRP_OSDF_ORIGIN":"topologyFiltered", "PDX-Coeus-CE1":"topologyFiltered", "SDSC_NRP_OSDF_ORIGIN":"topologyFiltered", "SDSC_NRP_OSDF_XENON_ORIGIN":"topologyFiltered"}
WARNING[2024-11-06T14:16:28Z] Failed to get project from context
WARNING[2024-11-06T14:16:28Z] GeoIP resolution of the address 128.105.69.247 resulted in a suspiciously large accuracy radius of 1000 km. This will be treated as GeoIP resolution failure and result in random server sorting. Setting lat/long to null.
WARNING[2024-11-06T14:16:28Z] Failed to get project from context
WARNING[2024-11-06T14:16:28Z] Failed to get project from context
WARNING[2024-11-06T14:16:28Z] GeoIP resolution of the address 128.105.69.4 resulted in a suspiciously large accuracy radius of 1000 km. This will be treated as GeoIP resolution failure and result in random server sorting. Setting lat/long to null.
WARNING[2024-11-06T14:16:28Z] Failed to get project from context
WARNING[2024-11-06T14:16:28Z] Failed to get project from context
WARNING[2024-11-06T14:16:28Z] Failed to get project from context
WARNING[2024-11-06T14:16:28Z] Failed to get project from context
WARNING[2024-11-06T14:16:28Z] Failed to get project from context
WARNING[2024-11-06T14:16:28Z] Failed to get project from context
WARNING[2024-11-06T14:16:28Z] Failed to get project from context
WARNING[2024-11-06T14:16:28Z] Failed to get project from context
WARNING[2024-11-06T14:16:28Z] Failed to get project from context
WARNING[2024-11-06T14:16:28Z] Failed to get project from context
WARNING[2024-11-06T14:16:28Z] Failed to get project from context
WARNING[2024-11-06T14:16:28Z] Failed to get project from context
WARNING[2024-11-06T14:16:28Z] Failed to get project from context
WARNING[2024-11-06T14:16:28Z] GeoIP resolution of the address 128.105.68.67 resulted in a suspiciously large accuracy radius of 1000 km. This will be treated as GeoIP resolution failure and result in random server sorting. Setting lat/long to null.
WARNING[2024-11-06T14:16:28Z] Failed to get project from context
WARNING[2024-11-06T14:16:28Z] Failed to get project from context
WARNING[2024-11-06T14:16:28Z] Failed to get project from context
WARNING[2024-11-06T14:16:28Z] Failed to get project from context
WARNING[2024-11-06T14:16:28Z] Failed to get project from context
WARNING[2024-11-06T14:16:28Z] Failed to get project from context
WARNING[2024-11-06T14:16:28Z] Failed to get project from context
WARNING[2024-11-06T14:16:28Z] Failed to get project from context
WARNING[2024-11-06T14:16:28Z] Failed to get project from context
WARNING[2024-11-06T14:16:28Z] Failed to get project from context
WARNING[2024-11-06T14:16:28Z] Failed to get project from context
WARNING[2024-11-06T14:16:28Z] Failed to get project from context
WARNING[2024-11-06T14:16:28Z] Failed to get project from context
WARNING[2024-11-06T14:16:28Z] Failed to get project from context
WARNING[2024-11-06T14:16:28Z] Failed to get project from context
WARNING[2024-11-06T14:16:28Z] GeoIP resolution of the address 200.136.80.55 resulted in a suspiciously large accuracy radius of 1000 km. This will be treated as GeoIP resolution failure and result in random server sorting. Setting lat/long to null.
WARNING[2024-11-06T14:16:28Z] Failed to get project from context
WARNING[2024-11-06T14:16:28Z] Failed to get project from context
WARNING[2024-11-06T14:16:28Z] Failed to get project from context
WARNING[2024-11-06T14:16:28Z] Failed to get project from context
WARNING[2024-11-06T14:16:28Z] Failed to get project from context
WARNING[2024-11-06T14:16:28Z] Failed to get project from context
WARNING[2024-11-06T14:16:28Z] Failed to get project from context
WARNING[2024-11-06T14:16:28Z] Failed to get project from context
WARNING[2024-11-06T14:16:28Z] Failed to get project from context
WARNING[2024-11-06T14:16:28Z] Failed to get project from context
DEBUG[2024-11-06T14:16:28Z] The director will redirect to caches by default
I believe each of these warnings come from the process of performing GeoIP resolution against servers registered in Topology.
We should clean up this process to reflect that none of these should be considered warnings, and it doesn't make sense to think of "projects" in this context.
The text was updated successfully, but these errors were encountered:
jhiemstrawisc
changed the title
Erroneous warnings on OSDF director startup from missing project during GeoIP resolution
OSDF director startup creates warnings for missing project during GeoIP resolution
Nov 6, 2024
The current approach to recording GeoIP resolution metrics has the issue that it creates a lot of scary noise on startup for OSDF Directors. Consider the logs I get when I run things locally:
I believe each of these warnings come from the process of performing GeoIP resolution against servers registered in Topology.
We should clean up this process to reflect that none of these should be considered warnings, and it doesn't make sense to think of "projects" in this context.
The text was updated successfully, but these errors were encountered: