https://www.puppet.com/community logo
Join Slack
Powered by
# office-hours
  • j

    josh

    05/10/2022, 5:16 PM
    FWIW this is the PR https://github.com/puppetlabs/puppet/pull/8902
  • v

    vchepkov

    05/10/2022, 5:17 PM
    Seems Fedora's support is lagging. F36 is out and the last supported version in PE is F34 😞
  • j

    josh

    05/10/2022, 5:18 PM
    I think most people assume deferred functions follow normal puppet ordering/relationships and are surprised to find out it doesn't work that way. Also deferred function failures cause the entire run to fail, instead of only that resource and resources that depend on it.
  • j

    josh

    05/10/2022, 5:18 PM
    But the lazy eval change will fix all of those things
  • b

    bastelfreak

    05/10/2022, 5:19 PM
    @josh do you know if there are any new awesome ideas for pluginsyncing custom datatypes / any hopes for speeding up existing pluginsync? in my current env an agent spenda 50 to 70s just with pluginsync during each run (without any changes)
  • j

    josh

    05/10/2022, 5:21 PM
    The F36 epic for open source is https://tickets.puppetlabs.com/browse/PA-4442. We recently migrated data centers and all of our platform addition work has been delayed. We're currently working on or will soon work on Windows 11, macOS 11 & 12 M1, Ubuntu 22.04, F36
  • b

    binford2k

    05/10/2022, 5:21 PM
    @bastelfreak question for you--do you have many different platforms? I wonder if platform suitability detection would help reduce some of the time spent syncing or whether it would just trade sync runtime for platform detection runtime.
  • b

    bastelfreak

    05/10/2022, 5:21 PM
    what kind of platforms do you mean?
  • b

    binford2k

    05/10/2022, 5:22 PM
    eg, why sync powershell DSC providers to a linux node?
  • b

    binford2k

    05/10/2022, 5:22 PM
    eg, why sync powershell DSC providers to a linux node?
  • b

    bastelfreak

    05/10/2022, 5:22 PM
    I have around 45 envs with 950 nodes, mostly RHEL 7
  • b

    bastelfreak

    05/10/2022, 5:22 PM
    ah
  • v

    vchepkov

    05/10/2022, 5:22 PM
    btw, RHEL9 is out in couple of weeks according to RedHat announcement
  • b

    bastelfreak

    05/10/2022, 5:23 PM
    I have a many nodes that do not need the majority of the custom types/providers (all the enterprise modules)
  • v

    vchepkov

    05/10/2022, 5:24 PM
    btw, that was my issue as well, hence I created
    windows_production
    environments with module sets just for windows
  • j

    josh

    05/10/2022, 5:29 PM
    About pluginsync, there's the segmentation issue @binford2k mentioned (controlling which agents get which plugins) and there's the "manage one file at a time" problem.
  • b

    bastelfreak

    05/10/2022, 5:29 PM
    maybe the agent could just check the .ra10k-drploy.json from the server and if that matches the version on the agent it assumes its up2date
  • b

    binford2k

    05/10/2022, 5:30 PM
    was it @bastelfreak who proposed the tarball pluginsync?
    😁 1
  • b

    bastelfreak

    05/10/2022, 5:30 PM
    or get a digest file from puppetserver with all checksums
  • j

    josh

    05/10/2022, 5:30 PM
    There are lots of possible optimizations for the latter problem.
  • b

    bastelfreak

    05/10/2022, 5:30 PM
    @binford2k no, PE does the .tar.gz. there is a ticket that suggests implementing the .tar support in puppetserver
  • j

    josh

    05/10/2022, 5:31 PM
    Did you know that each agent pluginsync request causes puppetserver to calculate file checksums for every possible pluginsync-able file?
    whoa 1
  • b

    bastelfreak

    05/10/2022, 5:31 PM
    @binford2k https://tickets.puppetlabs.com/browse/SERVER-2539
  • b

    bastelfreak

    05/10/2022, 5:31 PM
    @josh lol
  • j

    josh

    05/10/2022, 5:31 PM
    And then puppetserver does the same thing again for the next agent pluginsync request
  • b

    bastelfreak

    05/10/2022, 5:32 PM
    how smart of you to implement something with so much room of easy improvements!
    🦜 1
  • b

    bastelfreak

    05/10/2022, 5:32 PM
    :D
  • b

    binford2k

    05/10/2022, 5:32 PM
    Copy code
    sleep(30)
  • b

    bastelfreak

    05/10/2022, 5:32 PM
    indeed sounds like a rather simple fix? the puppetserver knows the requested file.
  • j

    josh

    05/10/2022, 5:33 PM
    We've talked about precalculating all of the file metadata & checksums during a code deploy for an environment, like how you can run
    puppet resource generate
    to generate the pcore resource types.
    👍 1
1...456...78Latest