https://www.puppet.com/community logo
Join Slack
Powered by
# choria
  • r

    ripienaar

    06/17/2025, 2:00 PM
    I think you want windows releases thought right? Honestly not in a position to keep making those, someone would need to contribute build tooling on github actions, I am just too far out of it with windows
  • n

    natemccurdy

    08/04/2025, 9:55 PM
    @natemccurdy has left the channel
  • h

    Hugo Haakseth

    08/20/2025, 12:51 PM
    Any chance that changes to support puppet-systemd 8.x in choria-mcollective could be released to forge any time soon?
  • r

    ripienaar

    08/20/2025, 12:52 PM
    will do releases soon yes, been on 3 month break
    👍 1
  • i

    Ibrahim Sikandar

    09/25/2025, 11:01 AM
    Hello, I want to build choria and configure configure to use them with Oracle8+ servers, how can I get started with it?
  • r

    ripienaar

    09/25/2025, 11:02 AM
    the el8 rpm probably just works?
  • i

    Ibrahim Sikandar

    09/25/2025, 11:12 AM
    yes but I need some guidance and steps to get started, like setting and configure broker, server, client etc
  • r

    ripienaar

    09/25/2025, 6:26 PM
    Suggest you refer to the docs on choria.io
  • i

    Ibrahim Sikandar

    09/29/2025, 8:12 AM
    I checked the docs and it doesnt really tell how to install, configure and test
  • i

    Ibrahim Sikandar

    09/29/2025, 8:12 AM
    it looks like a general doc with info about choria
  • b

    bastelfreak

    09/29/2025, 8:22 AM
    Did you check https://choria.io/docs/deployment/ ?
  • i

    Ibrahim Sikandar

    09/30/2025, 10:33 PM
    I went through this and it doesnt explain how can I write a manifest for choria (broker,server and agent)
  • i

    Ibrahim Sikandar

    09/30/2025, 10:37 PM
    can anyone help? I have an oracle8 vm and Its using puppet agent to get manifest
  • i

    Ibrahim Sikandar

    09/30/2025, 10:39 PM
    I was previously using MCO but as its EOL so thats why i am moving to choria, i am new to this so thats why if there is anyone who have worked on this
  • r

    ripienaar

    10/01/2025, 5:11 AM
    It’s all covered there
  • i

    Ibrahim Sikandar

    10/01/2025, 8:14 PM
    its running choria --version 0.29.4
  • b

    bastelfreak

    10/01/2025, 8:18 PM
    Which error did you get when you tried to install it with puppet?
  • i

    Ibrahim Sikandar

    10/01/2025, 8:23 PM
    this didnt worked
  • s

    smortex

    10/01/2025, 10:01 PM
    the choria class has no "broker" parameter. The broker is managed with choria::broker. Here is the conf I use for end-to-end testing of choria when I update the FreeBSD ports: https://github.com/smortex/freebsd-puppet-test-infrastructure/tree/production/site-modules/profile/manifests/choria
  • a

    Anderson Ferreira

    10/15/2025, 6:34 PM
    hello! i'd like to propose the following PR for your review: https://github.com/choria-io/go-choria/pull/2282 we've hit a situation with an overloaded choria broker during a "reconnection storm" and increasing the connection timeout on the choria servers - along with tls_timeout and auth_timeout on the broker - resolved the issue.
  • r

    ripienaar

    10/15/2025, 7:03 PM
    Hmm, how many nodes are reconnecting? They should have random reconnect delays and expo backoff to help already. Do you have big RSA keys maybe? Like 4K or similar?
  • a

    Anderson Ferreira

    10/15/2025, 7:36 PM
    6K nodes. 2K keys. broker running on an aws ec2 instance (t3a.medium). i could see in the logs the backoff algorithm running. but in the environment i have, that wasn't enough. i went ahead, built a choria package with the connect timeout option, installed in a choria server, and that server could connect to the broker. these are the sort of messages i see in the broker during the reconnection storm:
    Copy code
    {
      "component": "network_broker",
      "level": "error",
      "msg": "redact:41534 - cid:29307 - TLS handshake timeout",
      "time": "2025-10-15T06:24:23-05:00"
    }
    and this is what i see in the server:
    Copy code
    {"component":"server","connection":"redact","identity":"redact","level":"info","msg":"Sleeping 3.062s till the next reconnection attempt","time":"2025-10-14T11:53:50-05:00"}
    {"component":"server","connection":"redact","identity":"redact","level":"error","msg":"NATS client encountered an error: EOF","time":"2025-10-14T11:53:50-05:00"}
    {"component":"server","connection":"redact","identity":"redact","level":"info","msg":"Sleeping 8.839s till the next reconnection attempt","time":"2025-10-14T11:54:08-05:00"}
    {"component":"server","connection":"redact","identity":"redact","level":"error","msg":"NATS client encountered an error: EOF","time":"2025-10-14T11:54:08-05:00"}
    {"component":"server","connection":"redact","identity":"redact","level":"info","msg":"Sleeping 4.7s till the next reconnection attempt","time":"2025-10-14T11:54:24-05:00"}
    {"component":"server","connection":"redact","identity":"redact","level":"error","msg":"NATS client encountered an error: EOF","time":"2025-10-14T11:54:24-05:00"}
    {"component":"server","connection":"redact","identity":"redact","level":"info","msg":"Sleeping 10.622s till the next reconnection attempt","time":"2025-10-14T11:54:38-05:00"}
    {"component":"server","connection":"redact","identity":"redact","level":"error","msg":"NATS client encountered an error: read tcp redact:57536-\u003eredact:4222: read: connection reset by peer","time":"2025-10-14T11:54:38-05:00"}
  • r

    ripienaar

    10/16/2025, 3:13 AM
    Yeah sounds like typical RSA certs that are very heavy. Not sure if Puppet can make different algo certs yet but that would really help. It’s one broker or a cluster? 6k nodes really not that bad.
  • r

    ripienaar

    10/16/2025, 3:41 AM
    Oh those are really crappy instances. With 2k key size certs you should probably go for something bigger. More CPUs would help as the TLS will use that well.
  • r

    ripienaar

    10/16/2025, 3:41 AM
    Can add another option but obviously prefer to identify the issue cos that’s not normal
  • b

    bastelfreak

    10/16/2025, 6:40 AM
    Puppet has an option for elliptic curves, but that's rarely used. Worth a try
  • a

    Anderson Ferreira

    10/16/2025, 3:39 PM
    it's one broker only. in practical terms, increasing the instance size might tackle the problem. but why giving aws more money if a configuration option would also handle it? 😛 under usual load, the broker is performing fine, responses from the fleet are processed quick enough. so increasing the instance for a situation that does not happen often does not seem ideal. and if i can go a little further, conceptually it seems we really need the connect timeout. since we are providing a way to tune the timers on the broker side (tls_timeout/auth_timeout), we'd also need a way to reflect that on the server side. i hope you agree 🙂
  • r

    ripienaar

    10/16/2025, 5:25 PM
    Yeah. Will review next week am ooo atm
  • a

    Anderson Ferreira

    10/16/2025, 5:27 PM
    oh, no problem. enjoy your time off. and thank you so much for being open to discuss/review this. really appreciate it.
  • i

    Ibrahim Sikandar

    10/16/2025, 6:42 PM
    Hey Guys, so I just build a custom choria module using rpm, its 0.29v. I configured broker using broker.conf file and on another server I configured server using server.conf and client.conf. It works, when i did
    choria ping
    it returned me the nodes hostname. Now I want to get facts like ip addresses and stuff but it returns
    null
    I also added this
    plugin.choria.facts_source = facter
    plugin.choria.facts_file = /etc/choria/facts.json
    in server.conf file but it still not getting the facts although it return the IP address when I do this
    sudo jq -r '.ipaddress' /etc/choria/facts.json
    192.168.20.30