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
    Hi @alex17865_twitter - we don't have a solution yet, but the workaround is described in the issue - it should help you workaround it
    Alex
    @alex17865_twitter
    I have a better workaround I think. Go in <Rudder_Dir>, and do "git add techniques/* && git commit -a" in ssh.
    But it's a little bit annoying to do this each time ><
    Francois Armand
    @fanf
    @alex17865_twitter what Rudder version? (to update the ticket if still present in 6.1)
    Suvi
    @Suvi8

    Hallo, i have a problem updating the OS with yum update:

    it gives me this error:

    yum update
    Loaded plugins: fastestmirror
    Setting up Update Process
    Determining fastest mirrors
    epel/metalink | 29 kB 00:00

    • base: mirror.init7.net
    • epel: pkg.adfinis-sygroup.ch
    • extras: mirror.init7.net
    • updates: mirror.init7.net
      Rudder_6.0 | 2.9 kB 00:00
      Rudder_6.0/primary_db | 5.7 kB 00:00
      https://download.rudder.io/rpm/6.1/RHEL_6/repodata/repomd.xml: [Errno 14] PYCURL ERROR 22 - "The requested URL returned error: 401 Unauthorized"
      Trying other mirror.
      Error: Cannot retrieve repository metadata (repomd.xml) for repository: Rudder_6.1. Please verify its path and try again
    Its a CentOS 6.10
    Alexis Mousset
    @amousset
    Hi @Suvi8, CentOS 6 requires usingthe private repositories as it is not publicly supported anymore, but only as part of the subscription.
    Alex
    @alex17865_twitter
    @fanf last one on debian 10
    Alexis Mousset
    @amousset
    https://docs.rudder.io/reference/6.1/installation/agent/rhel.html#_installation in the blue info box :
    echo '[Rudder_6.1]
    name=Rudder 6.1
    baseurl=https://LOGIN:PASSWORD@download.rudder.io/rpm/6.1/RHEL_$releasever/
    gpgcheck=1
    gpgkey=https://LOGIN:PASSWORD@download.rudder.io/rpm/rudder_rpm_key.pub' > /etc/yum.repos.d/rudder.repo
    Suvi
    @Suvi8
    @amousset yes, we have a rudder subscription
    Alexis Mousset
    @amousset
    (and replace LOGIN/PASSWORD by your technical account's credentials)
    Suvi
    @Suvi8

    @amousset its already there, when i want to clean the yum cache it shows:

    yum clean all
    Loaded plugins: fastestmirror
    Repository Rudder_6.1 is listed more than once in the configuration

    Alexis Mousset
    @amousset
    Oh indeed I did not read the first message correctly!
    Suvi
    @Suvi8
    yesi can access the repo with username/password in my browser
    Francois Armand
    @fanf
    @alex17865_twitter just to be sure: last 6.1 or 6.0 (sorry to ask, it's to be able to reproduce in your condition, else we won't know for sure if we corrected the pb)
    Alex
    @alex17865_twitter
    @fanf 6.1 :)
    Francois Armand
    @fanf
    @alex17865_twitter thanks, ticket updated accordingly
    _ChezW@m_
    @JrmChP_twitter
    Hey, is there an easy way to change a node uuid post re install, or do i have to delete it from rudder, and accept again ?
    Francois Armand
    @fanf
    @JrmChP_twitter depends of your use case. If you reinstalled rudder agent on the same node, and want a different uuid, you can use rudder agent reinit which will reset everything, create a new uuid, and send an inventory. Still, you will have to delete the old node/uuid and accepte the new one.
    _ChezW@m_
    @JrmChP_twitter
    ok thanks. no way to change the uuid on rudder after an os reinstall for example ?
    Francois Armand
    @fanf
    @JrmChP_twitter I don't know what you want to achieve. If it's an OS reinstall, it is a different node, no? Likely, not the same rules/groupes/etc. What would you like to keep from the other node/uuid ?
    _ChezW@m_
    @JrmChP_twitter
    @fanf juste a reinstall of same os / config on a host that was used for test before production. I was lazy and want to avoid declaration of properties :-)
    Francois Armand
    @fanf
    @JrmChP_twitter perhaps you could have used the old uuid, but there is some subtlilies regarding agent keys restoration, not sure it's documented
    _ChezW@m_
    @JrmChP_twitter
    ok thanks @fanf . I finally juste remove and accept nodes again. Only 3 manual properties to apply. by the way, maybe full copying a property from one node to another may be a cool improvements on future release :-)
    Francois Armand
    @fanf
    @JrmChP_twitter datasources plugin allows to copy properties from an end point
    pmg
    @pmg7557_twitter
    Hi All, I want to retrieve a rudder property for all my nodes. Does somebody know the right ldap request?
    Francois Armand
    @fanf
    @pmg7557_twitter not sure why you want to use LDAP ? That's an internal API, not meant to be public. Don't you want to use API for that ? curl -k -H "X-API-TOKEN: ..." -H "Content-Type: application/json" 'https://..../rudder/api/latest/nodes?include=minimal,properties' | jq '.data.nodes[] (here, you can be much more precise with filter on prop name, etc, see: https://stedolan.github.io/jq/manual/
    for example, to get values for all property names "test" in a json array that can be latter post-processed, you can do that :
    .../rudder/api/latest/nodes?include=minimal,properties' | jq '[.data.nodes[] | {"id":.id, "propTest": .properties | map(select(.name == "test"))}]'
    and the result will looks like:
    image.png
    pmg
    @pmg7557_twitter
    @fanf Thanks François. I thought of ldap because I just wanted to do a one quick one shoot test. I never used the API, I 'll see it later because for the moment curl failed due to lack of certifcat.
    Francois Armand
    @fanf
    @pmg7557_twitter even with -k ?
    @pmg7557_twitter also, you have a local token on server: curl -k -H "X-API-Token: $(cat /var/rudder/run/api-token)" ...
    pmg
    @pmg7557_twitter
    @fanf Ok with -k, very easy to use :-) THANKS. Just to fin a little bug in your filter ( bash: erreur de syntaxe près du symbole inattendu « select » )
    Francois Armand
    @fanf
    @pmg7557_twitter du you have single quotes around the whole expression? '[.data.nodes[] | {"id":.id, "propTest": .properties | map(select(.name == "test"))}]'
    bash should not look into it
    pmg
    @pmg7557_twitter
    @fanf Thanks, it works perfectly :-)
    Francois Armand
    @fanf
    :thumbsup:
    Waccabac
    @Waccabac_twitter
    Hi
    Does Rudder agent get Docker informations ?
    Francois Armand
    @fanf
    @Waccabac_twitter what is your use case? Rudder agent in a container?
    Waccabac
    @Waccabac_twitter
    I want to get software informations on container
    but every time the container is rebuild ... Normally Rudder-agent is reset ?
    Francois Armand
    @fanf
    @amousset or @peckpeck perhaps will know
    Waccabac
    @Waccabac_twitter
    hello :)
    Waccabac
    @Waccabac_twitter
    @fanf the Rudder API don't show "software list" of a node ?
    Francois Armand
    @fanf
    @Waccabac_twitter it does, but not by default to avoid perf and bloat pb since results can be huge
    see https://docs.rudder.io/api/#tag/Nodes for the list of things you can get about a node
    with the syntax: .../nodes?include=minimal,software for example
    (or just for a node of course: .../nodes/xxxx-xxxx-xxxx?inlcude=fullfor ex)