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

    ziggy

    07/29/2022, 6:12 PM
    Hey all. When using Puppet compilers, is there a specific http health check that will return if health for port 8142? https://puppet.com/docs/pe/2019.8/installing_compilers.html says to use
    /status/v1/simple/
    , but that path returns a 404 for me. Port 8140 works fine for this path perfectly fine.
  • z

    ziggy

    07/29/2022, 6:15 PM
    Hey all. When using Puppet compilers, is there a specific http health check that will return if health for port 8142? https://puppet.com/docs/pe/2019.8/installing_compilers.html says to use
    /status/v1/simple/
    , but that path returns a 404 for me. Port 8140 works fine for this path perfectly fine. Trying to set up an AWS load balancer and cant find the right health check to use for this. I'd prefer an HTTP check, but if I have to resort to TCP, that would work - I just can't use round robin / random load balancing as mentioned in the docs since AWS doesnt seem to have that for network load balancers
  • z

    ziggy

    07/29/2022, 6:16 PM
    Hey all. When using Puppet compilers, is there a specific http health check that will return if health for port 8142? https://puppet.com/docs/pe/2019.8/installing_compilers.html says to use
    /status/v1/simple/
    , but that path returns a 404 for me. Port 8140 works fine for this path perfectly fine. Trying to set up an AWS load balancer and cant find the right health check to use for this. I'd prefer an HTTP check, but if I have to resort to TCP, that would work - I just can't use round robin / random load balancing as mentioned in the docs since AWS doesnt seem to have those options for network load balancers
  • z

    ziggy

    07/29/2022, 6:18 PM
    Hey all. When using Puppet compilers, is there a specific http health check that will return 200 if health is for port 8142? https://puppet.com/docs/pe/2019.8/installing_compilers.html says to use
    /status/v1/simple/
    , but that path returns a 404 for me. Port 8140 works fine for this path perfectly fine. Trying to set up an AWS load balancer and cant find the right health check to use for this. I'd prefer an HTTP check, but if I have to resort to TCP, that would work - I just can't use round robin / random load balancing as mentioned in the docs since AWS doesnt seem to have those options for network load balancers
  • n

    NickB

    07/29/2022, 6:41 PM
    message has been deleted
  • n

    NickB

    07/29/2022, 6:42 PM
    message has been deleted
  • n

    NickB

    07/29/2022, 7:00 PM
    You could perhaps talk to v1/inventory on the orchestration service on the primary to verify that the compilers are connected via PXP agent to the PCP broker on the primary
  • n

    NickB

    07/29/2022, 7:02 PM
    You could perhaps talk to v1/inventory on the orchestration service (port 8143) on the primary to verify that the compilers are connected via PXP agent to the PCP broker on the primary
  • z

    ziggy

    07/29/2022, 8:46 PM
    thanks. Yeah that path doesnt seem to work on the compilers at least on 8142. The primary server, sure.
  • z

    ziggy

    07/29/2022, 8:47 PM
    thanks. Yeah that path doesnt seem to work on the compilers or the primary on 8142 - only 8140 works
  • z

    ziggy

    07/29/2022, 8:47 PM
    thanks. Yeah that path doesnt seem to work on the compilers or the primary on 8142. only 8140 works
  • d

    David Sandilands

    07/29/2022, 11:17 PM
    pecdm has the follow terraform https://github.com/puppetlabs/terraform-aws-pe_arch/blob/main/modules/loadbalancer/main.tf to set up its network load balancer with health check for compiler and just uses 8140 for both Also note https://puppet.com/docs/pe/2019.8/installing_compilers.html#how-compilers-work directts similar to do healthcheck to 8140 for both 8140 and 8142
  • s

    Slackbot

    08/01/2022, 9:27 AM
    This message was deleted.
    t
    f
    • 3
    • 2
  • s

    Slackbot

    08/01/2022, 12:10 PM
    This message was deleted.
    t
    • 2
    • 1
  • t

    tenajsystems

    08/01/2022, 6:52 PM
    I am following this documentation on how to configure compilers
    <https://puppet.com/docs/pe/2019.8/installing_compilers.html>
    and I have configured
    pe_repo::compile_master_pool_address
    in the console using the compiler's FQDN. I run puppet on the primary server and compiler (didn't see any changes processed). When I try to install puppet agent on a server, in the
    puppet.conf
    it points it to the primary server instead of the compiler. I'm I missing anything or what I need to check to resolve this issue?
  • t

    tenajsystems

    08/01/2022, 6:53 PM
    I am following this documentation on how to configure compilers
    <https://puppet.com/docs/pe/2019.8/installing_compilers.html>
    and I have configured
    pe_repo::compile_master_pool_address
    in the console using the compiler's FQDN. I run puppet on the primary server and compiler (didn't see any changes processed). When I try to install puppet agent on a server, in the
    puppet.conf
    it points it to the primary server instead of the compiler. I'm I missing anything or what I need to check to resolve this issue?
  • v

    vchepkov

    08/01/2022, 6:53 PM
    I think that only changes your puppet install script, next time you install something you will see the change
  • t

    tenajsystems

    08/01/2022, 6:55 PM
    Yeah, when I try to run the script to install an agent, it still points it to the primary server and not the compiler
  • v

    vchepkov

    08/01/2022, 6:55 PM
    and that change applied to what group?
  • v

    vchepkov

    08/01/2022, 6:56 PM
    is compiler part of it?
  • t

    tenajsystems

    08/01/2022, 6:57 PM
    What do mean?
  • v

    vchepkov

    08/01/2022, 6:57 PM
    you said
    configured in the console
  • v

    vchepkov

    08/01/2022, 6:57 PM
    some particular node group, I assume
  • s

    Slackbot

    08/01/2022, 6:57 PM
    This message was deleted.
    t
    v
    • 3
    • 47
  • s

    Slackbot

    08/02/2022, 11:35 AM
    This message was deleted.
    👀 1
    r
    m
    +2
    • 5
    • 13
  • r

    ramindk

    08/02/2022, 11:05 PM
    I've used haproxy in tcp passthrough mode (no ssl termination or proxy) in the past. IIRC we did leastconn to the backend servers. Connections are long lived so tendency of traffic clump after server side restarts. further haproxy notes. • Send logs to /dev/log instead of that local0 nonsense. You'll need to add the socket via this in rsyslog ``$AddUnixListenSocket /var/lib/haproxy/dev/log`` • enable seamless reloads. watchdog of 3-600s should be fine. • haproxy::listen won't work. Use haproxy::frontend and haproxy::backend
  • i

    Isaiah Frantz

    08/10/2022, 7:17 PM
    Hey all, Im trying to decom a compiler, its been unpinned from pe_compiler and pe_master and is not in that list but those are still showing up in the nodes details groups tab
  • i

    Isaiah Frantz

    08/10/2022, 7:18 PM
    how do I decom a compiler?
  • i

    Isaiah Frantz

    08/10/2022, 7:18 PM
    it would be real nice if there was a
    puppet infrustructure forget compiler
    command but I guess thats only for replicase
  • i

    Isaiah Frantz

    08/10/2022, 7:19 PM
    it would be real nice if there was a
    puppet infrustructure forget compiler
    command but I guess thats only for replicase
1...171819...73Latest