Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Repo info
Activity
    amousset
    @amousset:matrix.org
    [m]
    @Didier-M-work: Thanks for you feedbaclk, we are working on a fix for the remaining 2-3 seconds
    Rudder Chatbot
    @rudderbot
    fanf fclemens_gitlab: cool, and sorry for the bad user experience. We are adding an healthcheck in a next release to let user know that there is a pb with their root server keys
    Rudder Chatbot
    @rudderbot
    fanf @fclemens_gitlab:
    Waccabac
    @Waccabac_twitter
    Hi !
    It's possible to store the result of "File report content" to a Variable ?
    I want to check a value in a configuration file on nodes
    amousset
    @amousset:matrix.org
    [m]
    You can use Variable string from command
    Technically ${file_report_content.content} should contain the output of the latest call to File report content but it's not a stable interface and may change at any time.
    Waccabac
    @Waccabac_twitter
    Thanks, I test this
    amousset
    @amousset:matrix.org
    [m]
    :point_up: Edit: Technically ${file_report_content.content} should contain the output of the latest call to File report content but it's not a stable interface and may change at any time, so I would advice against using it.
    Rudder Chatbot
    @rudderbot
    stephen wit
    jayakrishna k
    @jayakrishna.k_gitlab
    hi
    Alexis Mousset
    @amousset:matrix.org
    [m]
    Hi @jayakrishna.k_gitlab
    jayakrishna k
    @jayakrishna.k_gitlab
    We have a situation, We have installed the Rudder server in ubuntu 20.04 but the problem is we are not able to see the rudder agent and also not getting any nodes
    jayakrishna k
    @jayakrishna.k_gitlab
    not able to update the policy service too kindly do the needful
    jayakrishna k
    @jayakrishna.k_gitlab
    hello @amousset:matrix.org kindly do the needful
    Alexis Mousset
    @amousset:matrix.org
    [m]
    @jayakrishna.k_gitlab: To get an answer on community chat/bugtracker, you need to provide a precise description of the problem, how it happened and what you already tried to solve it. If you need more general support, you should contact the company on https://www.rudder.io/contact/ (as already explained twice on the bug tracker).
    Alexis Mousset
    @amousset:matrix.org
    [m]
    so in you case, which Rudder version did you install, what do you mean by "not able to see the rudder agent"? Did you install agents on other nodes?
    xlbt
    @xlbt

    Hello,
    I'm new in Rudder, I try to use mustache template to set sshd config.
    (I would like to avoid to use jinja2 as it ask for a package dependencie.)

    I use {{{vars.sys.ipv4[eth0]}}} for the ipv4 address, but it seems {{{vars.sys.ipv6[eth0]}}} does not exist.
    With {{{vars.sys.inet6.addresses.eth0.address}}}, I have an ipv6, but if the server does not have ipv6 set,
    it gives ipv6 link-local addresse (with prefix fe80::).

    What can I do to write the line "ListenAddress ..." only if the ipv6 is set on the server ?

    I didn't success/anderstand to use of :
    {{#vars....}}
    {{/vars....}}

    Thanks.

    Alexis Mousset
    @amousset:matrix.org
    [m]
    @xlbt: Hello, welcome! Mustache has very limited conditional capabilities. One option is to define a condition in the technique before calling the templating method, for example a Condition from command(my_name, ip a | grep ..., 0, 1) with a command detecting if the system has a proper IPv6 address, and use the defined condition with {{#classes.my_name_true}} ListenAddress ... {{/classes.my_name_true}}.
    arjenandringa
    @arjenandringa
    Hi there! I've been reading up on Rudder's Git repository. I wonder if it's possible, without corrupting the data, to sync the repository to another location within the on-premises infrastructure and changing contents of files? Such as extending techniques or rulesets?
    Francois Armand
    @fanf
    hello @arjenandringa ! Yes it is. Just be aware that only /var/rudder/configuration-repositor/techniques and ncf are a source of data, rules, directives etc are serialisation of the current corresponding object. If you modify these ones, you will need to do an "archive restauration - from last commit" to load them
    (we are working on making the git content the source of truth for all data, should come in 7.0)
    arjenandringa
    @arjenandringa
    Thanks for the very quick response. When can 7.0 be expected? I just reached Rudder a few weeks ago.
    Francois Armand
    @fanf
    @arjenandringa ho, it's for september, so you should go for 6.2 now :)
    arjenandringa
    @arjenandringa
    Sounds great, thanks!
    lkoenen
    @lkoenen
    grafik.png
    when i click the shared files button the next window shows
    grafik.png
    following error message is in the logfile
    [2021-04-15 18:09:06+0200] ERROR com.normation.rudder.rest.internal.SharedFilesAPI - An error occurred while looking into directory <- Accumulated: SystemError: Error when serializing file folder; cause was: java.nio.file.NoSuchFileException: /var/rudder/configuration-repository/shared-files/folder/www/gdr
    -> com.normation.rudder.rest.internal.SharedFilesAPI.$anonfun$serialize$1(SharedFilesAPI.scala:93)
    Alexis Mousset
    @amousset:matrix.org
    [m]
    @lkoenen: which server version? A similar bug was fixed in 6.2.4 https://issues.rudder.io/issues/18200
    lkoenen
    @lkoenen
    6.2.4
    Francois Armand
    @fanf
    @lkoenen Is /var/rudder/configuration-repository/shared-files/folder/www/gdr a symlink ? Existing on the fs ?
    lkoenen
    @lkoenen
    sorry, checked the wrong place. yes gdr is a link
    Alexis Mousset
    @amousset:matrix.org
    [m]
    Does it point to something that exist on the server?
    lkoenen
    @lkoenen
    Okay, yeah you're right. that will be the mistake. The problem is that I have an old complex construct of files, folders and links, whose management I want to migrate from an old system to rudder. The link makes no sense on the server, but it is needed by the old system, which must run in parallel in the transition period. sorry, my mistake. thanks for the effort
    Alexis Mousset
    @amousset:matrix.org
    [m]
    It should work anyway and that's the point of #18200 iirc
    Sometimes a symlink makes sense on the nodes but not on the server
    lkoenen
    @lkoenen
    hmm, okay but I am using version 6.2.4. is there anything else I can check?
    Alexis Mousset
    @amousset:matrix.org
    [m]
    we reproduced the bug, the fix actually only fixed the problem when the symlink is at the root of the shared-files folder.
    could you open an issue for this on https://issues.rudder.io?
    Alexis Mousset
    @amousset:matrix.org
    [m]
    Thanks!
    Vincent Membré
    @VinceMacBuche
    And the fix is on its way
    Alexis Mousset
    @amousset:matrix.org
    [m]
    🚀
    lkoenen
    @lkoenen
    thanks for the great work
    Vincent Membré
    @VinceMacBuche
    You're welcome thanks for your feedbacks and bug reports, they are really precious for us
    Vincent Membré
    @VinceMacBuche
    @lkoenen the fix was merged just in time for 6.2.5 release (currently building and will be available after we validate last fixes)