Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Repo info
Activity
    xlbt
    @xlbt
    Now I have an error.
    E| error TECH_Config_logs_for_R| File from remote template /etc/rsyslog.d/10| Build file /etc/rsyslog.d/10-rudder.conf from template template-mustache-10-rudderconf-v1.tpl could not be repaired
    E| n/a TECH
    Config_logs_for_R| Service restart (rsyslog) rsyslog Skipping method 'Service restart' with key parameter 'rsyslog' since condition 'any.(file_from_remote_template__etc_rsyslog_d_10_rudder_conf_repaired)' is not reached was not applicable
    Alexis Mousset
    @amousset:matrix.org
    [m]
    if you run the agent with -i do you have more precise information? is the template correctly expanded?
    xlbt
    @xlbt
    Sorry, I didn't used an aboslute path... now it's OK :
    E| repaired TECH_Config_logs_for_R| File from remote template /etc/rsyslog.d/10| Build file /etc/rsyslog.d/10-rudder.conf from template /var/rudder/configuration-repository/shared-files/template-mustache-10-rudderconf-v1.tpl was repaired
    E| repaired TECH
    Config_logs_for_R| Service restart (rsyslog) rsyslog Restart service rsyslog was repaired
    Alexis Mousset
    @amousset:matrix.org
    [m]
    👍️ thanks for your feedback!
    Rana Masud
    @mrana_dev_gitlab
    ERROR: Usage is: /opt/rudder/bin/rudder-init LDAPReset AllowedNetwork1 [AllowedNetwork2]...
    I'm getting this error, can you please help me out?
    Vincent Membré
    @VinceMacBuche
    @mrana_dev_gitlab Hello ! Where/when do you get this error? did you ran rudder-init by yourself ?
    xlbt
    @xlbt

    Hello,
    I'm trying to modify the keys "server" in the file /etc/chrony.conf
    I thought that the method "File key-value present" could perform this function but if there are several keys "server" in my file, it replaces all the entries and I end up with several keys "server" with the same value.
    How can I make sure that it changes the different keys with only one line with the right key ?

    I would like to transform :
    server ntpserver1.foo.com
    server ntpserver2.foo.com
    to :
    server ntp.foo.com

    Thanks

    xlbt
    @xlbt

    I would like to transform :

    In fact, I would like to transform
    server ntp.foo.com
    server ntpserver1.foo.com
    server ntpserver2.foo.com
    to :
    server ntp.foo.com

    to the same location in the file...
    Thanks

    Nicolas Charles
    @ncharles
    Hi ! I would do first a deletion of all lines starting by server but not followed by ntp.foo.com , and then ensure that the line server ntp.foo.com is present
    hum, it may change the location within the file
    you could use augeas
    Nicolas Charles
    @ncharles
    generic method File Augeas Set
    Alexis Mousset
    @amousset
    :information_source: Hi all! Could you check the reporting protocol used on you Rudder servers (Settings -> General -> Reporting protocol)?
    It should be HTTPS-only if all your agents are 6.1+ (HTTPS+syslog if not), to ensure we validate the HTTPS reporting everywhere, as 7.0 will remove the syslog option totally. If you have any problem with HTTPS reporting, please report them here or on issues.rudder.io. We'd also like to know if it's just working properly (bonus points for Rudder server monitoring graphs before and after switching to check the performance impact).
    Thanks!
    xlbt
    @xlbt

    :information_source: Hi all! Could you check the reporting protocol used on you Rudder servers (Settings -> General -> Reporting protocol)?

    Hello,
    yes HTTPS-Only here on Rudder server 6.2.6 with clients between 6.2.4 and 6.2.6.
    No notable problems with node reporting.

    Alexis Mousset
    @amousset
    @xlbt Thank you!
    pablo-qb
    @pablo-qb
    Hi, hmm... When I execute "rudder agent inventory" as root (sudo su), pacman opens. This happens in Ubuntu 20.04 LTS. The command stays stand by, when I close pacman, cuz I don't want to play pacman, the command returns an error
    image.png
    image.png
    peckpeck
    @peckpeck
    i guess the inventory tries to detect pacman the package manager
    pablo-qb
    @pablo-qb
    Don't worry about it, I fixed it adding "-" after "sudo su"
    Anyways, after rudder update to 6.2.6, when I close pacman (the game, not the package manager xD) doesn't return any error.
    I still have a teammate whose still have this problem at 6.2.6
    His laptop doesn't open pacman but still has the same error
    peckpeck
    @peckpeck
    yes, root doesn't have access to games, adding '-' run the command in te root environment and not the user's
    pablo-qb
    @pablo-qb
    ty
    peckpeck
    @peckpeck
    the error is not very explicit, it could be a different problemwith the same error
    pablo-qb
    @pablo-qb
    We're looking into it, when I have something from the verbose I'll let you know
    peckpeck
    @peckpeck
    you should run the command provided between '' to check what the real problem is
    pablo-qb
    @pablo-qb
    ListUtil.c: loadable library and perl binaries are mismatched (got handshake key 0xdb80080, needed 0xce00080)
    peckpeck
    @peckpeck
    looks like a distro version misatch
    package for ubuntu16 on ubuntu20 for example
    pablo-qb
    @pablo-qb
    Thanks, it looks like there's a problem with our ansible automation of the installation of the agent
    It puts the same repo into any distro
    Thank @peckpeck
    peckpeck
    @peckpeck
    :)
    you could use the ruder-setup script for that
    it takes care of the rudder-version, distro-version, repo source ...
    for example: "rudder-setup setup-agent 6.2" will install the latest 6.2 on your machine
    you welcome
    pablo-qb
    @pablo-qb
    Nice! We're taking note, thank you! :)
    xlbt
    @xlbt

    Hello,
    with method "File Augeas set", the return "was correct" comes after a change of a file, so, the repaired condition is not reached.
    Is there anything to add ?
    Thanks.

    [root@esclave03 ~]# grep PermitRootLogin /etc/ssh/sshd_config
    PermitRootLogin yes

    [root@esclave03 ~]# rudder agent run -i
    ...
    2021-05-11T09:00:03+00:00 Saved 1 file(s)
    E| compliant TECH_Config_sshd File Augeas set /etc/ssh/sshd_con| Setting the node value for /etc/ssh/sshdconfig/PermitRootLogin/ was correct
    E| n/a TECH
    Config_sshd Service reload sshd Skipping method 'Service reload' with key parameter 'sshd' since condition 'any.(file_augeas_setetc_ssh_sshd_config_PermitRootLoginrepaired)' is not reached was not applicable
    ...

    [root@esclave03 ~]# grep PermitRootLogin /etc/ssh/sshd_config
    PermitRootLogin no

    Alexis Mousset
    @amousset:matrix.org
    [m]
    Ok, this looks like a bug, could you open an issue on issues.rudder.io with information about the method you're using and the parameters you passed?
    Benjamin Dupalut
    @binibitobi_gitlab

    Hi @all,

    Is it possible to assign a node in a group manually?

    Alexis Mousset
    @amousset:matrix.org
    [m]
    Hi @binibitobi_gitlab , not directly, but you can use hostname or node id criteria
    Benjamin Dupalut
    @binibitobi_gitlab
    OK, thanks. And what do you think would be the best criteria for filtering all "web" servers (apache or nginx)?
    Alexis Mousset
    @amousset:matrix.org
    [m]
    you can use a "software" criteria with an OR. Something like has "apache2" ou "httpd" or "nginx"
    Benjamin Dupalut
    @binibitobi_gitlab

    Thanks, I will try this.

    Is there a specific reason that we cannot assign nodes manually?

    Alexis Mousset
    @amousset:matrix.org
    [m]
    The general reason is that we encourage using dynamic groups for maintainability and extensibility, so we focused on this way of classification
    xlbt
    @xlbt

    Ok, this looks like a bug, could you open an issue on issues.rudder.io with information about the method you're using and the parameters you passed?

    I created one.
    https://issues.rudder.io/issues/19257
    Thanks.