ECS: Belirli bir düğümde oturum açarken veya kimlik doğrulaması yaparken karşılaşılan gecikme süresi

Summary: SSH kullanarak veya uzak oturum için kimlik doğrulaması gerektiren komutları çalıştırırken sistemde oturum açarken karşılaşılan gecikme veya yavaş yanıt.

This article applies to This article does not apply to This article is not tied to any specific product. Not all product versions are identified in this article.

Symptoms

Bir düğüme SSH bağlantısı yaparken, sudo çalıştırırken veya kimlik doğrulaması gerektiren başka bir komut verirken gecikmeyle karşılaşılır. Gecikmeden sonra komut normal şekilde çalışır.  Düğüm çok yüklü değildir ve çalışma süresi normal yük ortalamalarını gösterir. 

-vvv kullanılarak bir ssh bağlantısı için ayrıntı düzeyi etkinleştirilirse oturum açma gecikmesi "pledge: exec"

sonra gerçekleşirÖrnek:
admin:~> ssh 169.254.1.2 -vvv
OpenSSH_7.2p2, OpenSSL 1.0.2p-fips  14 Aug 2018
debug1: Reading configuration data /home/admin/.ssh/config
debug1: Reading configuration data /etc/ssh/ssh_config
debug1: /etc/ssh/ssh_config line 25: Applying options for *
debug2: resolving "169.254.1.2" port 22
debug2: ssh_connect_direct: needpriv 0
debug1: Connecting to 169.254.1.2 [169.254.1.2] port 22.
debug1: Connection established.
... <truncated debugging>
debug3: ssh_session2_open: channel_new: 0
debug2: channel 0: send open
debug3: send packet: type 90
debug1: Requesting no-more-sessions@openssh.com
debug3: send packet: type 80
debug1: Entering interactive session.
debug1: pledge: exec

20+ saniyelik bir duraklamadan sonra giriş normal şekilde devam edecektir.


Sorunun görüldüğü düğümde dbus hizmet durumu kontrol edilirse zaman aşımları bildiriyor:
admin:~> sudo systemctl status dbus
● dbus.service - D-Bus System Message Bus
   Loaded: loaded (/usr/lib/systemd/system/dbus.service; static; vendor preset: disabled)
   Active: active (running) since Fri 2024-01-23 04:56:00 UTC; 1 months 2 days ago
     Docs: man:dbus-daemon(1)
 Main PID: 3060 (dbus-daemon)
    Tasks: 1 (limit: 512)
   Memory: 5.8M
      CPU: 10h 45min 897ms
   CGroup: /system.slice/dbus.service
           └─3060 /bin/dbus-daemon --system --address=systemd: --nofork --nopidfile --systemd-activation

Mar 22 18:28:54 <ecs-node-fqdn> dbus[3060]: [system] Connection has not authenticated soon enough, closing it (auth_timeout=30000ms, elapsed: 30000ms)
Mar 22 18:28:54 <ecs-node-fqdn> dbus[3060]: [system] Connection has not authenticated soon enough, closing it (auth_timeout=30000ms, elapsed: 30000ms)
Mar 22 18:28:54 <ecs-node-fqdn> dbus[3060]: [system] Connection has not authenticated soon enough, closing it (auth_timeout=30000ms, elapsed: 30000ms)
Mar 22 18:28:54 <ecs-node-fqdn> dbus[3060]: [system] Connection has not authenticated soon enough, closing it (auth_timeout=30000ms, elapsed: 30000ms)
Mar 22 18:28:54 <ecs-node-fqdn> dbus[3060]: [system] Connection has not authenticated soon enough, closing it (auth_timeout=30000ms, elapsed: 30000ms)
Mar 22 18:28:54 <ecs-node-fqdn> dbus[3060]: [system] Connection has not authenticated soon enough, closing it (auth_timeout=30000ms, elapsed: 30000ms)
Mar 22 18:29:22 <ecs-node-fqdn> dbus[3060]: [system] Connection has not authenticated soon enough, closing it (auth_timeout=30000ms, elapsed: 30009ms)
Mar 22 18:29:24 <ecs-node-fqdn> dbus[3060]: [system] Connection has not authenticated soon enough, closing it (auth_timeout=30000ms, elapsed: 30002ms)
Mar 22 18:29:54 <ecs-node-fqdn> dbus[3060]: [system] Connection has not authenticated soon enough, closing it (auth_timeout=30000ms, elapsed: 30000ms)
Mar 22 18:30:01 <ecs-node-fqdn> dbus[3060]: [system] Connection has not authenticated soon enough, closing it (auth_timeout=30000ms, elapsed: 30000ms)

Benzer zaman aşımı mesajları /var/log/messages içinde de bulunur




Cause

DBUS hizmeti için oturum açma ve/veya kimlik doğrulama için gecikmeye neden olan bir bağlantı sınırına ulaşıldı

Resolution

Bu sorun, dbus hizmetini ve ayrıca birincil düğümler için dnsmasq hizmetini yeniden başlatarak düzeltilebilir. Beklenen bir etkisi yoktur ancak gerekirse müşteri onayı alın. 

Sorun görülen düğümden şu komutu kullanarak dbus'u yeniden başlatın:  
 
sudo systemctl restart dbus
admin:~> sudo systemctl restart dbus
Bu komuttan herhangi bir çıktı beklenmez. 

Komut tamamlandıktan sonra, aşağıdaki komutu çalıştırarak "active (running)" durumunda olduğundan emin olmak için dbus hizmetinin durumunu kontrol edin:
 
sudo systemctl status dbus
admin ~> sudo systemctl status dbus
● dbus.service - D-Bus System Message Bus
   Loaded: loaded (/usr/lib/systemd/system/dbus.service; static; vendor preset: disabled)
   Active: active (running) since Fri 2024-07-19 18:07:00 UTC; 5s ago
     Docs: man:dbus-daemon(1)
 Main PID: 19340 (dbus-daemon)
    Tasks: 1 (limit: 512)
   Memory: 884.0K
      CPU: 22ms
   CGroup: /system.slice/dbus.service
           └─19340 /bin/dbus-daemon --system --address=systemd: --nofork --nopidfile --systemd-activation

Düğüm birincil düğümse (genellikle düğüm 1) dnsmasq'yı şu komutla yeniden başlatmak da gerekir: 
 
sudo systemctl restart dnsmasq
admin:~> sudo systemctl restart dnsmasq
Bu komuttan herhangi bir çıktı beklenmez. 

dnsmasq hizmetini yeniden başlattıktan sonra şu komutu kullanarak hizmetin "active (running)" durumunda olduğunu doğrulayın:
 
sudo systemctl status dnsmasq
admin~> sudo systemctl status dnsmasq
● dnsmasq.service - DNS caching server.
   Loaded: loaded (/usr/lib/systemd/system/dnsmasq.service; disabled; vendor preset: disabled)
  Drop-In: /run/systemd/generator/dnsmasq.service.d
           └─50-insserv.conf-$named.conf
   Active: active (running) since Fri 2024-07-19 18:14:47 UTC; 2s ago
  Process: 61272 ExecStartPre=/usr/sbin/dnsmasq --test (code=exited, status=0/SUCCESS)
 Main PID: 61297 (dnsmasq)
    Tasks: 1 (limit: 512)
   Memory: 2.1M
      CPU: 8ms
   CGroup: /system.slice/dnsmasq.service
           └─61297 /usr/sbin/dnsmasq --log-async --enable-dbus --keep-in-foreground

Hizmetler yeniden başlatıldıktan sonra, gecikmenin çözüldüğünü gözlemlemek için ssh kullanarak veya bir sudo komutu çalıştırarak düğüme erişimi test edin. 

Affected Products

ECS, ECS Appliance, ECS Appliance Gen 1, ECS Appliance Gen 2, ECS Appliance Gen 3, ECS Appliance Hardware Gen1 U-Series, ECS Appliance Hardware Gen1 C-Series, ECS Appliance Hardware Gen2 C-Series, ECS Appliance Hardware Gen2 D-Series , ECS Appliance Hardware Gen2 U-Series ...

Products

ECS Appliance Hardware Gen3 EX5000, ECS Appliance Hardware Gen3 EX300, ECS Appliance Hardware Gen3 EX3000, ECS Appliance Hardware Gen3 EX500, ECS Appliance Hardware Gen3 EXF900, ECS Appliance Hardware Series, ECS Appliance Software with Encryption , ECS Appliance Software without Encryption, ECS Software ...
Article Properties
Article Number: 000227096
Article Type: Solution
Last Modified: 02 Aug 2024
Version:  1
Find answers to your questions from other Dell users
Support Services
Check if your device is covered by Support Services.