Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Repo info
Activity
    wjterveld
    @wjterveld
    oke.. there are none in the administration.. I will create one
    done.. regenerating the polies takes much longer now!!
    fanf42
    @fanf42:matrix.org
    [m]
    this may be good
    wjterveld
    @wjterveld
    cool!! I still have one error.. but this seems to be an old agent??
    ⇨ Unexpected: Generation ended but some nodes were in errors: Error while building target configuration node for node '798c933f-0f4f-496a-ab75-083c0f20b9b0' which is one of the target of rules. Ignoring it for the rest of the process
    ⇨ Node ahk-prdidm02.xxxxxxl (798c933f-0f4f-496a-ab75-083c0f20b9b0) has an agent which doesn't support sending compliance reports in HTTPS: Rudder agent only support HTTPS reporting for version >= 6.0. You need to either disable that node (in node details > settings > Node State) or update agent version on that node
    I'll start with the disable optien
    fanf42
    @fanf42:matrix.org
    [m]
    yes, it is an agent which is just too old for 7.0 more secured protocols (actually, 6.x supported both but the old protocol was removed in 7.0)
    just to know: why did you upgraded to 7.0 and 7.1 ? 7.0 is almost EOL (and 7.2 is out early next week, with a much refined UI and other cool things)
    wjterveld
    @wjterveld
    great!! ALL is green again!! Thank you so much..
    reason that I upgraded to 7.0 is this problem I tried 6.2 to 7.1 with this error.. so i tried to go a version lower and lower.. until I ended at 7.0 :-)
    So now I know how to fix it I will upgrade to 7.2 ..
    fanf42
    @fanf42:matrix.org
    [m]
    ah ah ok :)
    wjterveld
    @wjterveld
    great work!! Thanx agian.. I will make a new snapshot of the production and try the upgrade on the production servers!!
    fanf42
    @fanf42:matrix.org
    [m]
    hey, you seems to use rudder since a very very long time since you have pre-6.0 agent. May I ask you since when ?
    wjterveld
    @wjterveld
    Oh I thing for 5 years
    I do see still see an error in the stout file..
    2022-09-23 12:36:18.124:WARN:oejs.session:qtp644345897-13:
    java.lang.IllegalStateException: Not started
    Oh fixed it with a jetty restart I think :D
    fanf42
    @fanf42:matrix.org
    [m]
    wow, 5 years is huge :) We welcome feedbacks, especially from long term users, so don't hesitate (even via private email if you prefer)
    wjterveld
    @wjterveld
    Time seems to fly these day's so the 5 years could be 4 or 6 also :D
    fanf42
    @fanf42:matrix.org
    [m]
    ah ah, I understand.
    wjterveld
    @wjterveld
    We have loved the product form the beginning.
    I will provide feedback more often no problem. using a PM maybe the best way..
    fanf42
    @fanf42:matrix.org
    [m]
    you can contact me at francois@rudder.io, or the dev team is available at rudder@rudder.io (and of course, for general info etc, you can use the contact form on the website)
    for the illegalestateerror: it's nothing. It's an exception that is raised when we stop the java server (restart rudder for ex), and we didn't found a way to hide it. It's extremely frustrating, misleading, but armless
    Fdall
    @Fdall
    @skygeneve could you double check that /usr/bin/env/python exists on the machine from where you are running the ansible cli ? If so, do you have a specific error message?
    skygeneve
    @skygeneve
    @Alexis Mousset, no luck still not working
    @Fdall , here is the error => Inventory script (/home/adminmis/ansible/ansible-tnsnames/rudder.py) had an execution error: ERROR: "Name collision on hosts:
    Unable to parse /home/adminmis/ansible/ansible-tnsnames/rudder.py as an inventory source
    Fdall
    @Fdall
    @skygeneve Ok, looks like an ansible error when it finds multiples hosts defined with the same name in the inventory. Can you try to run the rudder.py script without ansible and find the hosts defined multiple times? You should be able to identify them by running either ./rudder.py | jq '._meta.hostvars | keys' or ./rudder.py | jq 'keys'
    It can happen if you have rudder nodes with similar hostname or groups with almost similar names
    herderien
    @herderien:matrix.org
    [m]
    hello, i'm trying to acces node item "properties" through REST API with python, but it seems they aren't all available.
    Using this syntax :
    node = {"objectType": "node", "attribute": "properties",
    "comparator": "eq", "value": "foo"}
    And get this as a return :
    {"action":"listAcceptedNodes","result":"error","errorDetails":"The attribute 'properties' is unknown for type 'node' in line 'StringCriterionLine(node,properties,eq,Some(foo))'. Possible attributes: [OS, agentName, inventoryDate, ipHostNumber, localAccountName, localAdministratorAccountName, nodeHostname, nodeId, osArchitectureType, osFullName, osKernelVersion, osName, osServicePack, osVersion, policyServerId, ram, state, swap]"}
    I think i'm not using the right syntax but could not find anything helping in documentation
    1 reply
    herderien
    @herderien:matrix.org
    [m]
    hello thank you for your reply! sorry for not being clear enough...i'm trying ^^
    Actually i'm trying to list nodes with only selected properties...for exemple get minimal,os, lastInventoryDate,lastRunDate, properties named y and z
    3 replies
    herderien
    @herderien:matrix.org
    [m]
    i was thinking about that but file with minimal and properties is about 900k lines, not sure if you quilify this as huge ^^
    1 reply
    herderien
    @herderien:matrix.org
    [m]
    ok thank you very much for the advice, most nodes will have the expected props, so i will post filter. Have a nice Week end !
    1 reply
    Nicolas E
    @necar_gitlab

    Hello everyone. No issue today, just questions : Our setup is using the builtin directive Rudder SNMP Configuration, for which I suppose is :

    • ensuring that the snmpd daemon is installed and running
    • doing something on /etc/snmp/snmpd.conf [1]
      For this point [1], I'm witnessing that any manual change on this file is not overwritten by the directive, which behaviour I was expecting.

    Before going any further, may someone tell me if Rudder 7.2.0 is still using this snmpd mecanism for internal purposes, or has it been superseded by something newer?

    2 replies
    Elenui
    @Elenui
    Hey,
    I recreated the Technique SNMPD to enforce the configuration base on the software install
    with a jinja template
    Elenui
    @Elenui
    Hello guys i'm playing with the api I want to create a group
    "where": [
          {
            "objectType": "node",
            "attribute": "properties",
            "comparator": "eq",
            "value": "client=toto"
          }
    Is it the right way to use the where ?
    nvm found it
    Elenui
    @Elenui
    Hello,
    Smal question about the API (again).
    If I create my node using the API using generic OS Name will it be overwrite after a agent inventory ?
    3 replies
    fanf42
    @fanf42:matrix.org
    [m]
    yes, the inventory is the source of truth for inventories things (ie not properties, which their source of truth comes from... It depends :) Groups, user defined, data sources, inventory hooks...)
    Elenui
    @Elenui
    Ok thanks :)
    fanf42
    @fanf42:matrix.org
    [m]
    it's the same idea with node create api (plugin < 7.2, native in 7.2), things that are set-up via the API are overridden by the next inventory (apart properties, as ever)
    Elenui
    @Elenui
    OOh find a bug on 7.2
    :D
    Ok it's ui related but :)
    Elenui
    @Elenui
    @amousset thanks for taking care of my issue :)
    How can I contribute to rudder-tools ? Just a PR ?
    3 replies
    fanf42
    @fanf42:matrix.org
    [m]
    ok, I think there is no pb, especially for self contained things like that
    (ie: sure, go on :) )