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

    David Sandilands

    01/26/2023, 11:22 PM
    hey Jerry the target will be the primary where it will need to run the Puppet certificate commands against your list of nodes. It actually runs a check to make sure you are on the Primary https://github.com/puppetlabs/support-tasks/blob/main/tasks/st0317b_purge_node.rb#L17-L23
  • d

    David Sandilands

    01/26/2023, 11:25 PM
    sorry I clicked wrong task https://github.com/puppetlabs/support-tasks/blob/main/tasks/st0317a_clean_cert.rb#L22-L30
  • d

    David Sandilands

    01/26/2023, 11:26 PM
    sorry I clicked wrong variant of the task heres the clean https://github.com/puppetlabs/support-tasks/blob/main/tasks/st0317a_clean_cert.rb#L22-L30
  • j

    Justin

    01/27/2023, 10:38 AM
    I am wanting HA, but not sure how that work with only a single orchestrator service, but we have two sides from every data center that go primary and then a fail over, but we use different proxy for primary and failover and it can be different depending on country and dc. This issue I am finding when fail over cant reach primary due to internal issue that might happen, even though agents are connected to dr, primary loses them or the start trying to hit primary from dr side and fail. So when the proxy comes back on the round robin it might go through primary but try to hit failover site.
  • b

    bastelfreak

    01/27/2023, 10:50 AM
    ah just the url list then?
  • c

    csharpsteen

    01/27/2023, 2:21 PM
    The PE Orchestrator does not have a HA feature. PE DR provides HA for
    puppet
    agent runs, using existing code and classification. Everything else (ca operations, code deployment, classification changes, orchestration, etc.) is in a "warm standby" mode that becomes writable if the Replica is promoted to Primary.
  • c

    csharpsteen

    01/27/2023, 2:34 PM
    There's no supported PE architecture where the pxp-agents can end up connected to a DR replica prior to promotion --- because the service does not run prior to promotion.
  • j

    Justin

    01/27/2023, 2:36 PM
    Even the DR replica kind of not the issue, it more needing to keep it on one side until something happen and it knows to try the other side, but with two proxy each agent needs, it might be difficult to point correctly where it should go, since agent/pcp round robin.
  • s

    Slackbot

    01/28/2023, 3:32 PM
    This message was deleted.
    s
    • 2
    • 1
  • s

    Slackbot

    01/28/2023, 3:38 PM
    This message was deleted.
    b
    d
    k
    • 4
    • 14
  • s

    Slackbot

    01/30/2023, 2:05 PM
    This message was deleted.
    b
    s
    j
    • 4
    • 34
  • j

    Joseph Cove

    01/30/2023, 3:58 PM
    Hi Guys, hopefully one of you can shed some light on an issue I am having on a clients system, I am looking to perform some upgrades from puppet 2018.1.5 , but when trying to run a puppet agent -t on the replica server we are faced with . All other agents are ok and run their puppet agent -t without issues. It is the same without --noop Is there any value in regenerating certificates in this case? or any other ideas what could be causing this? Many thanks
  • j

    Joseph Cove

    01/30/2023, 4:16 PM
    Hi Guys, hopefully one of you can shed some light on an issue I am having on a clients system, I am looking to perform some upgrades from puppet 2018.1.5 , but when trying to run a puppet agent -t on the replica server we are faced with . All other agents are ok and run their puppet agent -t without issues. It is the same without --noop Is there any value in regenerating certificates in this case? or any other ideas what could be causing this? Many thanks
  • v

    vchepkov

    01/30/2023, 4:36 PM
    your puppet.conf seems have wrong configuration, check your server_list, it takes precedence
  • j

    Joseph Cove

    01/30/2023, 4:47 PM
    If I check the server_list values on the replica server which is failing.. it has this.. [agent] server_list = DNSforprimaryMaster8140,DNSforSelf8140 hope that makes sense.
  • v

    vchepkov

    01/30/2023, 4:52 PM
    it does, but that's not what agent sees
  • c

    csharpsteen

    01/30/2023, 4:53 PM
    Which
    puppet --version
    is this? There was a bug a while ago where if no entry in
    server_list
    was reachable, the
    hostname:port
    would end up set to
    nil:0
    .
  • c

    csharpsteen

    01/30/2023, 4:55 PM
    Ah, 2018.1.5 -- so Puppet 5. That might be old enough.
  • c

    csharpsteen

    01/30/2023, 4:56 PM
    Yup, https://tickets.puppetlabs.com/browse/PUP-8967. Fixed in 2018.1.9
  • j

    Joseph Cove

    01/30/2023, 4:58 PM
    oh wow yep sounds about right.. I will check that bug report! thx
  • j

    Joseph Cove

    01/30/2023, 4:58 PM
    it is indeed puppet v 5
    facepalm 1
  • j

    Joseph Cove

    01/30/2023, 5:00 PM
    The addresses in server_list are in fact reachable, we have tried with ping / telnet and it is all working. just the puppet agent -t comes back with that error.
  • j

    Joseph Cove

    01/30/2023, 5:15 PM
    The addresses in server_list are in fact reachable, we have tried with ping / telnet and it is all working. just the puppet agent -t comes back with that error.
  • v

    vchepkov

    01/30/2023, 7:41 PM
    Have anyone noticed puppetlabs/puppet_operational_dashboards flips telegraf settings most of the time? from what I can tell it swap primary/replica in configuration files
  • v

    vchepkov

    01/30/2023, 7:42 PM
    for example, in
    puppetserver_metrics.conf
    urls order changes for primary/replica
  • s

    Slackbot

    01/30/2023, 8:07 PM
    This message was deleted.
    d
    b
    +2
    • 5
    • 9
  • b

    bastelfreak

    01/31/2023, 9:18 AM
    Hey, we're in the process of cleaning up legacy facts and functions for a customer, to reduce some noise in the puppetserver.log. The puppet-agent module uses one of those functions https://github.com/puppetlabs/puppetlabs-puppet_agent/pull/628 . Can this be reviewed?
  • b

    bastelfreak

    01/31/2023, 9:18 AM
    Hey, we're in the process of cleaning up legacy facts and functions for a customer, to reduce some noise in the puppetserver.log. The puppet-agent module uses one of those functions https://github.com/puppetlabs/puppetlabs-puppet_agent/pull/628 . Can this be reviewed?
  • d

    David Sandilands

    01/31/2023, 10:00 AM
    I've fed in these sites lacking updates, we're speaking to our marketing/communication team, I am using my usual combo of slack reminders and I will get back here on this
1...343536...73Latest