Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Repo info
Activity
    Nicolas Charles
    @ncharles
    maybe the fix should have been to do the check of passwords for root rather than role_rudder_server_root
    Nicolas Charles
    @ncharles
    what do you think @amousset ?
    Norberto Aquino
    @norbertoaquino

    @amousset @ncharles if ha - role_rudder_server_root is always defined on root will never reach this classe:

    root_server.role_rudder_db_server_defined.!role_rudder_server_root::
    "host" string => "${rudder_servers_by_role.roles[rudder-db]}";

    it's correct?

    pmg
    @pmg7557_twitter
    Hello All, I didn't take it in account before, but I have a time shift of 2 hours shift between the hour indicated (last seen) in the web interface from all my nodes, I rebooted my server without impact. How can I solve this pb?
    François Armand
    @fanf
    @pmg7557_twitter it may be because time is in UTC no? Or perhaps I just didn't understood what you meant
    Norberto Aquino
    @norbertoaquino
    @pmg7557_twitter install ntpdate or chronyd on all nodes and configure your timezone.
    pmg
    @pmg7557_twitter
    @norbertoaquino ntpdate is installed on every nodes via rudder directiev 'Time settings'
    @fanf On the server 'date -> jeudi 1 octobre 2020, 14:03:35 (UTC+0200)' and same on every nodes, bur on the web UI , last seen is 12h01 (for instance for the node of the server)
    Norberto Aquino
    @norbertoaquino
    @pmg7557_twitter What is your time zone and how is timezonectl configured and database timezone too?
    François Armand
    @fanf
    @pmg7557_twitter what version of rudder?
    (before 6.0, there was a bug in node list, and the fact that date was UTC was not displayed)
    pmg
    @pmg7557_twitter
    @fanf 6.02
    @norbertoaquino ln -sf /usr/share/zoneinfo/Europe/Paris /etc/localtime
    François Armand
    @fanf
    @pmg7557_twitter just to be sure I understand correctly the pb: it's on node list, "last seen" column, you have an UTC date in place of a correctly time-zoned one like in that screenshot:
    image.png
    François Armand
    @fanf
    can you check in /var/log/rudder/webapp/2020_... for property: INFO application - registered property: user.timezone= ?
    pmg
    @pmg7557_twitter
    @fanf Yes, like (12h01) like your screeshot
    @fanf cat /var/log/rudder/webapp/2020_10_01.stderrout.log | grep user.ti
    [2020-10-01 07:10:51+0000] INFO application - registered property: user.timezone="Etc/UTC"
    Norberto Aquino
    @norbertoaquino
    @pmg7557_twitter if you adjust the timezone now it's necessary restart the service rudder-jetty
    pmg
    @pmg7557_twitter
    @norbertoaquino I did it, and, since it did not work, I rebooted my server! ... But last msg to @fan the registered time zone seems to be bad, but I don't know how to change it.
    François Armand
    @fanf
    @pmg7557_twitter ok, there is a pb with the timezone seen by Java/JVM. IIRC, there is something specific with it, I will have to dig it
    pmg
    @pmg7557_twitter
    @fanf ok. What about backup, reinstall & restore the server. I never did it, it can be a good exercise. Me server runs in a lxc container, I have backup anyway.
    François Armand
    @fanf
    @pmg7557_twitter don't you want to try the workaroun in the issue?
    Edit /etc/default/rudder-jetty and add:
    
    JAVA_OPTIONS="-Duser.timezone=Europe/Paris"
    pmg
    @pmg7557_twitter
    @fanf I didn't understand it was the solution. Done and Ok , Thanks :-) Don't you have a forum or a wiki to store these infos?
    François Armand
    @fanf
    we tried several things and nothing worked well. We would like to have a "tips and tricks / how to" section in doc (with easy contrib via github), do you think it would be ok?
    (it was on reference manual but not discoverable enought, quite obviously)
    (cc @amousset for the tip & tricks part in doc, or other idea for that user need)
    pmg
    @pmg7557_twitter
    @fanf Personnaly I prefer "discource forum with wiki inside" (see debian-fr.org with litle use of wiki)
    th333boo
    @th333boo
    hello people
    I'm wonder how to uninstall pacakge directive from the wrong group
    If anyone could help me out on that
    Alexis Mousset
    @amousset
    il you want to cancel a directive effect the usual way is to apply a new directive that undoes what the other did
    th333boo
    @th333boo
    will it purge
    let me check
    you've mentioned directive not technique right ?
    pmg
    @pmg7557_twitter
    Good morning All, I have often and randomly(?) the error : "Status Missing red" for some node(s) , most of the time for directive "Job schdeduled" (opening time 0-23) but sometime for others (inventory for instance)
    It'is ennnoying because, it arrived on nodes which shloud be 100% ok and this alert me on false pb.
    What should be the cause? How can we analyse this random problem?
    Rudder version : 6.02 - Protocol : Https
    François Armand
    @fanf
    @pmg7557_twitter standard analysis process:
    • check report protocol used (in settings > General > [Reporting protocol]). Old syslog-based, wih UDP, will sometime loose reports because of random network problems (but UDP is necessary vs TCP to avoid global syslog contention). If possible, use new "HTTPS only" based reporting - but need all node in Rudder 6.0 at least;
    • if already in "HTTPS only", we will need a case by case analysis. So eatch time it happens, we need to look at the report leading to error (technical log for the faulty run). Most of the time, missing can be related to a bug in the technique (a missing report on some code path).
    pmg
    @pmg7557_twitter
    @fanf Https only (last line of my post), in the technilcal logs, there is no value "Error" or "Missing" ! Strange?
    François Armand
    @fanf
    oh sorry, missed that line
    @pmg7557_twitter ok, strange. Can you screenshot the error message ?
    pmg
    @pmg7557_twitter
    I"ll do it, but I saw also that my logs are full with such lines "Need to insert line ..." concerning ssh directive in audit mode, so the other logs lines can be over 1000?
    @fanf I did not see how to link a file (screenshot)?
    pmg
    @pmg7557_twitter
    On the compliance report I see :
    For the node / inventory pb : None Message : empty Status in red : Missing
    For the node / Job scheduled pb : /sys_maj/Commun/tmp_check Message ; [Missing report #0] Status in red : Missing
    @fanf I must leave, can you tell me in what log I can see more that 1000 lines, I'll check it later. Thanks in advance
    François Armand
    @fanf
    for screenshot, I just copy & paste them here, and gitter do some magic
    cc @ncharles @amousset @peckpeck for the missing reports
    Nicolas Charles
    @ncharles
    @pmg7557_twitter could it be possible to add a touch in your script, to check if it is effectively not run when in missing status?
    could you add comment to https://issues.rudder.io/issues/18203 saying that it also happens when schedule is 0 - 23?