Closed Dryusdan closed 6 years ago
Hi @Dryusdan Can you enable debug logging in aker.ini and provide /var/log/aker/aker.log please
Here o/ But I not see a problem :/
2018-03-08 13:21:26,520 - INFO - Core: Starting up, user=dryusdan from=172.17.15.25:37457
2018-03-08 13:21:26,520 - DEBUG - Core: using Identity Provider Json
2018-03-08 13:21:26,521 - INFO - IdPFactory: trying dynamic loading of module : Json
2018-03-08 13:21:26,521 - INFO - Json: loaded
2018-03-08 13:21:30,272 - DEBUG - Core: user tried an invalid signal 2
2018-03-08 13:21:30,273 - DEBUG - Hosts: loading host 1.host.infra from cache
2018-03-08 13:21:30,274 - DEBUG - Hosts: loading host 2.host.infra from cache
2018-03-08 13:21:30,274 - DEBUG - Hosts: loading host 3.host.infra from cache
2018-03-08 13:21:30,274 - DEBUG - Hosts: loading host 4.host.infra from cache
2018-03-08 13:21:30,275 - DEBUG - Hosts: loading host 8.host.infra from cache
2018-03-08 13:21:30,275 - DEBUG - Hosts: loading host 6.host.infra from cache
2018-03-08 13:21:30,276 - DEBUG - Hosts: loading host 7.host.infra from cache
2018-03-08 13:21:30,276 - DEBUG - Hosts: loading host 5.host.infra from cache
2018-03-08 13:21:30,277 - DEBUG - Hosts: loading host 9.host.infra from cache
2018-03-08 13:21:30,277 - DEBUG - Hosts: loading host 10.host.infrafrom cache
2018-03-08 13:21:30,278 - INFO - Hosts: loading hosts from cache
2018-03-08 13:21:30,278 - DEBUG - Core: Drawing TUI
2018-03-08 13:21:30,279 - DEBUG - TUI: tui started
2018-03-08 13:21:31,168 - DEBUG - Core: user tried an invalid signal 2
2018-03-08 13:21:32,339 - INFO - TUI: User dryusdan logging out of Aker
2018-03-08 13:21:45,636 - INFO - Core: Starting up, user=dryusdan from=172.17.15.25:37458
2018-03-08 13:21:45,636 - DEBUG - Core: using Identity Provider Json
2018-03-08 13:21:45,637 - INFO - IdPFactory: trying dynamic loading of module : Json
2018-03-08 13:21:45,638 - INFO - Json: loaded
2018-03-08 13:23:52,868 - DEBUG - Hosts: deleting hosts for user dryusdan from cache
2018-03-08 13:23:52,869 - DEBUG - Hosts: adding host 1.host.infra to cache
2018-03-08 13:23:52,869 - DEBUG - Hosts: adding host 2.host.infra to cache
2018-03-08 13:23:52,870 - DEBUG - Hosts: adding host 3.host.infra to cache
2018-03-08 13:23:52,870 - DEBUG - Hosts: adding host 4.host.infra to cache
2018-03-08 13:23:52,871 - DEBUG - Hosts: adding host 5.host.infra to cache
2018-03-08 13:23:52,871 - DEBUG - Hosts: adding host 6.host.infra to cache
2018-03-08 13:23:52,872 - DEBUG - Hosts: adding host 7.host.infra to cache
2018-03-08 13:23:52,872 - DEBUG - Hosts: adding host 8.host.infra to cache
2018-03-08 13:23:52,873 - DEBUG - Hosts: adding host 9.host.infra to cache
2018-03-08 13:23:52,873 - DEBUG - Hosts: adding host 10.host.infrato cache
2018-03-08 13:23:52,874 - DEBUG - Hosts: deleting hostgroups for user dryusdan from cache
2018-03-08 13:23:52,874 - DEBUG - Hosts: adding hostgroup group1 to cache
2018-03-08 13:23:52,875 - DEBUG - Hosts: adding hostgroup group2 to cache
2018-03-08 13:23:52,875 - DEBUG - Hosts: adding hostgroup group3 to cache
2018-03-08 13:23:52,876 - DEBUG - Hosts: adding hostgroup group4 to cache
2018-03-08 13:23:52,876 - DEBUG - Hosts: adding hostgroup group5 to cache
2018-03-08 13:23:52,877 - DEBUG - Hosts: adding hostgroup group6 to cache
2018-03-08 13:23:52,878 - DEBUG - Hosts: adding hostgroup group7 to cache
2018-03-08 13:23:52,878 - DEBUG - Hosts: adding hostgroup group8 to cache
2018-03-08 13:23:52,879 - DEBUG - Hosts: adding hostgroup group9 to cache
2018-03-08 13:23:52,879 - DEBUG - Core: Drawing TUI
2018-03-08 13:23:52,881 - DEBUG - TUI: tui started
2018-03-08 13:24:44,195 - DEBUG - Core: user tried an invalid signal 2
2018-03-08 13:24:45,570 - INFO - TUI: User dryusdan logging out of Aker
2018-03-08 13:24:51,473 - INFO - Core: Starting up, user=dryusdan from=172.17.15.25:37538
2018-03-08 13:24:51,474 - DEBUG - Core: using Identity Provider Json
2018-03-08 13:24:51,474 - INFO - IdPFactory: trying dynamic loading of module : Json
2018-03-08 13:24:51,475 - INFO - Json: loaded
2018-03-08 13:26:58,724 - DEBUG - Hosts: loading host 1.host.infra from cache
2018-03-08 13:26:58,724 - DEBUG - Hosts: loading host 2.host.infra from cache
2018-03-08 13:26:58,724 - DEBUG - Hosts: loading host 3.host.infra from cache
2018-03-08 13:26:58,725 - DEBUG - Hosts: loading host 4.host.infra from cache
2018-03-08 13:26:58,725 - DEBUG - Hosts: loading host 8.host.infra from cache
2018-03-08 13:26:58,725 - DEBUG - Hosts: loading host 6.host.infra from cache
2018-03-08 13:26:58,725 - DEBUG - Hosts: loading host 9.host.infra from cache
2018-03-08 13:26:58,725 - DEBUG - Hosts: loading host 5.host.infra from cache
2018-03-08 13:26:58,725 - DEBUG - Hosts: loading host 7.host.infra from cache
2018-03-08 13:26:58,725 - DEBUG - Hosts: loading host 10.host.infrafrom cache
2018-03-08 13:26:58,726 - INFO - Hosts: loading hosts from cache
2018-03-08 13:26:58,726 - DEBUG - Core: Drawing TUI
2018-03-08 13:26:58,727 - DEBUG - TUI: tui started
It looks like the delay is here:
2018-03-08 13:21:26,521 - INFO - Json: loaded
2018-03-08 13:21:30,272 - DEBUG - Core: user tried an invalid signal 2
2018-03-08 13:21:30,273 - DEBUG - Hosts: loading host 1.host.infra from cache
Is it possible to attach your hosts.json ?
Yes, but I rename all server (tomorow)
Apologies, didn't fully get what you mean. I just suspect something is wrong while loading hosts list from the file, want to test that.
Also want to add a couple of logging options
Ha, hum. I rename juste dns name and hide ip on hosts.json when I send file tomorow :)
Oh got it, sure no problem :)
I just added extra logging to Json module, fetch the new file and retry, provide DEBUG logging again, it might reveal whats happening.
Hum... Is very curious but now it's work fine 🤔 But yesterday, when I encounter a problem on aker (like bad password in other server), I return on UI, and now Aker display some error 🤔
Very curious. Then, thank you for your help 😁
NP, will close this issue now, reopen if you face the problem again.
Hello :) Actually I test aker, make resilience etc (I push documentation later), but I encounter a problem, when I try connecting on aker (with ssh command or directly with /usr/bin/aker/aker.py), the console blocks for about 30 seconds but if I tip
ctrl
+c
during this time, I arrive on UI.You have encounter this problem ?
(Sorry for my bad english 😅 )