https://www.puppet.com/community logo
Join Slack
Powered by
# puppet-enterprise
  • c

    csharpsteen

    02/02/2023, 9:29 PM
    It looks like the SnakeYAML library does have
    setCodePointLimit
    and
    setNestingDepthLimit
    methods --- but those are not exposed at the JRuby level yet: https://github.com/jruby/jruby/issues/7543 So, the limits are fixed to the SnakeYAML defaults of 3 MB for size and 50 for nesting depth.
  • s

    Slackbot

    02/02/2023, 9:55 PM
    This message was deleted.
    s
    v
    • 3
    • 3
  • v

    vchepkov

    02/02/2023, 9:57 PM
    same deal with plans doc
  • m

    magisus

    02/02/2023, 9:57 PM
    The docs in question I found that refer to the issue are here https://developer.hashicorp.com/vault/docs/auth/cert There's a note in there about unique serials
  • d

    David Sandilands

    02/03/2023, 9:51 AM
    I am still monitoring this and I will chase when I get back from leave as I know others have hit this when doing upgrades
  • j

    Joseph Cove

    02/03/2023, 2:19 PM
    Has anyone seen an issue like this before, trying to upgrade an agent.. but we get a lovely error message regarding GPG keys. So far we have moved existing keys to allow the module to replace the keys yet they still don't work. Could it be the module version / age contains old keys?
  • v

    vchepkov

    02/03/2023, 2:20 PM
    Do you use puppetlabs/puppet_agent to manage agents ?
    ✅ 1
  • j

    Joseph Cove

    02/03/2023, 2:21 PM
    Yes
  • v

    vchepkov

    02/03/2023, 2:21 PM
    hmm, it should have updated new gpg keys
  • j

    Joseph Cove

    02/03/2023, 2:21 PM
    Would it still have them in version 2.0.1?
  • b

    bastelfreak

    02/03/2023, 2:21 PM
    which version of puppetlabs/puppet_agent? 😄
  • j

    Joseph Cove

    02/03/2023, 2:21 PM
    we are upgrading some pretty old code..
  • b

    bastelfreak

    02/03/2023, 2:22 PM
    that's ....ancient
  • b

    bastelfreak

    02/03/2023, 2:22 PM
    that's ....ancient
  • b

    bastelfreak

    02/03/2023, 2:22 PM
    the new gpg key is from 2020? and 2.0.1 is from 2019
  • j

    Joseph Cove

    02/03/2023, 2:22 PM
    I did think we need to push to update all code and use a later version of the module..
  • b

    bastelfreak

    02/03/2023, 2:22 PM
    https://forge.puppet.com/modules/puppetlabs/puppet_agent/changelog#features-5
  • v

    vchepkov

    02/03/2023, 2:23 PM
    Copy code
    mod 'puppetlabs/puppet_agent', '4.12.1'
    ✅ 1
  • j

    Joseph Cove

    02/03/2023, 2:23 PM
    Thankyou! felt like i was going mad
  • j

    Joseph Cove

    02/03/2023, 2:33 PM
    Just to confirm that was exactly the issue.
    👍 1
  • s

    Slackbot

    02/04/2023, 2:54 AM
    This message was deleted.
    k
    b
    j
    • 4
    • 9
  • s

    Slackbot

    02/07/2023, 11:33 AM
    This message was deleted.
    g
    n
    c
    • 4
    • 7
  • s

    Slackbot

    02/08/2023, 3:20 AM
    This message was deleted.
    b
    s
    r
    • 4
    • 5
  • r

    RP_Williams

    02/08/2023, 3:21 AM
    Good day I'm struggling to determine why our testbed PE server is unable to refresh the list of class definitions it should have from our set of dev environments... The console shows an error stating "Error retrieving class definitions" The logs aren't very clear about the what's happening at the time when I click on the "Refresh" link to update the class definitions... I can't find anything in the Puppet Server logfiles at /var/log/puppetlabs/puppetserver/puppetserver.log or /var/log/puppetlabs/orchestration-services/orchestration-services.log The only thing related I can find is in the Console Services logfile at /var/log/puppetlabs/console-services/console-services.log where the entries look like this: === INFO [p.c.class-updater] Requesting classes in development from https://puppetserver:8140/puppet/v3/environment_classes?environment=development with etag e87750971897e8a55a651f3afb01880efc537b9637fa46f1c6f1c6aa09a352c9 INFO [p.c.class-updater] 304 response received for request for classes in development. === Any ideas on what to look for would be greatly appreciated... Thanks
  • k

    kenyon

    02/08/2023, 11:40 PM
    @jonathan.newman / @steveax I found that for node groups with no rules, i.e., <https://www.puppet.com/docs/pe/2021.7/groups_endpoint.html#get-v1-groups-id-rules%7CGET /v1/groups/<id>/rules> returns
    null
    in the
    rule
    key, the translated rules are returned as
    [ "=", "node_state", "active" ]
    , which matches all nodes, exactly the opposite of what is shown in the PE Console under "Matching nodes". Is this a bug in the API?
  • s

    Slackbot

    02/09/2023, 4:16 PM
    This message was deleted.
    s
    j
    • 3
    • 2
  • s

    Slackbot

    02/09/2023, 7:40 PM
    This message was deleted.
    c
    k
    • 3
    • 2
  • k

    Kenny Kant

    02/09/2023, 7:40 PM
    Am i understanding the file location correctly?
  • k

    Kenny Kant

    02/09/2023, 7:42 PM
    The site-modules directory is the equivalent of the modules directory when using the file resource?
  • k

    Kenny Kant

    02/09/2023, 7:44 PM
    Copy code
    modulepath     = site-modules:modules:$basemodulepath
1...363738...73Latest