ntp.ubuntu.com name or service not known

Bug #1869425 reported by Aymen Frikha
26
This bug affects 4 people
Affects Status Importance Assigned to Milestone
Graylog Charm
Fix Released
Medium
Unassigned

Bug Description

In an environment that has access to the internet through the proxy I got an issue with ntp.ubuntu.com:

https://pastebin.canonical.com/p/jPQmjYkthc/

juju: 2.7.4
series: bionic

graylog config options:
 channel:3/stable
 jvm_heap_size: 8G

Tags: field-medium

Related branches

Celia Wang (ziyiwang)
Changed in charm-graylog:
importance: Undecided → Medium
Revision history for this message
Giulio Cervera (giulio.cervera) wrote :

a fresh deployed machine without internet access goes in error state: "hook failed: leader-elected", upgrade from older version works fine

the proposed change looks useful, but if NTP is required at this step (usually NTP is configured from a subordinate charm) a new option for a custom NTP server should be added

tags: added: field-medium
Revision history for this message
Pedro Guimarães (pguimaraes) wrote :

Hi, I am seeing the same issue on a proxied env.
Effectively, it means any air-gapped deployment, Graylog won't work.

I understand what we are trying to do with by going to sock.connect and then discovering what is the iface with the default route.

However, we should be using built-in Python for that instead of trying to reach an address that may not be accessible 100% of the time.

I'd suggest we use sth like netifaces for this discovery.

Revision history for this message
Pedro Guimarães (pguimaraes) wrote :

Subscribed field-medium SLA since this issue affects multiple deployments and we have a new PR in place.

Diko Parvanov (dparv)
Changed in charm-graylog:
status: New → Triaged
Revision history for this message
Paul Goins (vultaire) wrote :

MR merged; released as cs:~llama-charmers-next/graylog-8.

Changed in charm-graylog:
status: Triaged → Fix Committed
Changed in charm-graylog:
status: Fix Committed → Fix Released
Changed in charm-graylog:
status: Fix Released → Fix Committed
Jeremy Lounder (jldev)
Changed in charm-graylog:
status: Fix Committed → Fix Released
milestone: none → 20.08
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.