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

    vchepkov

    05/04/2023, 2:17 PM
    it just timeouts. it has been happening in PE2021.7, I did open ticket before and I was told that it could be related to a ticket https://tickets.puppetlabs.com/browse/PE-34609 , But I don't have access to it
  • v

    vchepkov

    05/04/2023, 2:17 PM
    Copy code
    Deploying all environments.
    2023/05/04 10:14:18 ERROR - [POST /deploys][500] The deploys job failed to resolve before the wait timeout was exceeded.
    {
      "errored-deploys": [],
      "timeout": 900,
      "unfinished-deploys": [
        {
          "environment": "production",
          "id": 4488,
          "status": "queued"
        }
      ],
      "unsynced-deploys": []
    }
  • v

    vchepkov

    05/04/2023, 2:17 PM
    that's pretty much it
  • b

    bastelfreak

    05/04/2023, 2:18 PM
    check the puppetserver logfile
  • v

    vchepkov

    05/04/2023, 2:18 PM
    Copy code
    2023-05-04T08:56:06.086-04:00 ERROR [qtp38561487-5083911] [p.c.app] The deploys job failed to resolve before the wait timeout was exceeded.
    2023-05-04T09:26:05.673-04:00 ERROR [qtp38561487-5262037] [p.c.app] The deploys job failed to resolve before the wait timeout was exceeded.
    2023-05-04T09:56:06.173-04:00 ERROR [qtp38561487-3976800] [p.c.app] The deploys job failed to resolve before the wait timeout was exceeded.
  • v

    vchepkov

    05/04/2023, 2:18 PM
    that's all
  • v

    vchepkov

    05/04/2023, 2:19 PM
    I guess will start wiping filesync ¯\_(ツ)_/¯
  • d

    daloran

    05/08/2023, 2:35 AM
    Hopefully simple enough question: anyone have the syntax for the console to accept a hash in a plan/task?
  • g

    glee

    05/08/2023, 3:28 AM
    you should be able to specify as json hash (colons not rockets) similar to other params https://www.puppet.com/docs/pe/2021.7/grouping_and_classifying_nodes.html#tips_for_specifying_parameter_and_variable_values eg:
    { "key1": "value1", "key2": "value2" }
    (no outer enclosing quotes)
  • d

    daloran

    05/08/2023, 3:57 AM
    I think i did every combination except double quotes around the key and the value
  • j

    jonathan.newman

    05/08/2023, 2:42 PM
    The inputs expect JSON, so it needs to use double quotes. The spec if you are curious: https://www.json.org/json-en.html
  • s

    Slackbot

    05/08/2023, 2:59 PM
    This message was deleted.
    c
    m
    • 3
    • 5
  • e

    erik

    05/09/2023, 4:55 PM
    I'm writing a bash script that needs to run on PE compilers but fail if it runs on the MoM. what's the least-awful way to check such a condition from shell, like looking for a specific file/path or calling
    facter <something>
    ?
  • v

    vchepkov

    05/09/2023, 5:02 PM
    write a bolt plan that will only run on compilers
  • e

    erik

    05/09/2023, 5:19 PM
    unable, has to function without relying on PE being available
  • c

    CVQuesty

    05/09/2023, 5:43 PM
    grep for your hostname from /etc/puppetlabs/puppet/puppet.conf and then grep for “server” in that. then, if you get the answer, don’t run the command, otherwise run it.
  • b

    bastelfreak

    05/09/2023, 5:45 PM
    eww 😄
  • c

    CVQuesty

    05/09/2023, 5:45 PM
    hey, he asked
  • b

    bastelfreak

    05/09/2023, 5:45 PM
    when you use peadm to setup a PE infra, it inserts data into the certificates. you can use that to differentiate between primary and compilers
  • c

    CVQuesty

    05/09/2023, 5:46 PM
    puppet isn’t available.
  • c

    CVQuesty

    05/09/2023, 5:46 PM
    has to function without relying on PE being available
  • b

    bastelfreak

    05/09/2023, 5:47 PM
    what does that mean? I assumed the PE services are down
  • c

    CVQuesty

    05/09/2023, 5:47 PM
    So, I’m assuming from that that none of the faces will be available either
  • c

    CVQuesty

    05/09/2023, 5:47 PM
    and the local port won’t be up
  • b

    bastelfreak

    05/09/2023, 5:47 PM
    you can read the local certificates, you don't need any PE service
  • c

    CVQuesty

    05/09/2023, 5:47 PM
    so, knocks against the API are also unavailable
  • c

    CVQuesty

    05/09/2023, 5:48 PM
    by the time I’ve opened a file for read, grep has already done the work
  • c

    CVQuesty

    05/09/2023, 5:48 PM
    you developer types always wanting elegance. PHAH!!!!
  • b

    bastelfreak

    05/09/2023, 5:48 PM
    that only works when the agent doesn't run against itself, which is possible for compilers
  • b

    bastelfreak

    05/09/2023, 5:49 PM
    no I want reliable scripts 😛
1...515253...73Latest