https://www.puppet.com/community logo
Join Slack
Powered by
# puppet
  • b

    bastelfreak

    02/07/2023, 7:13 PM
    that's something that could/should be implemented (if that really is still missing)
  • b

    Brian Schonecker

    02/07/2023, 7:17 PM
    The logical volume seems to have it (I assume this is an autorequire) but the volume group doesn't have an autorequire on a physical volume.
  • b

    Brian Schonecker

    02/07/2023, 7:18 PM
    The logical volume seems to have it (I assume this is an autorequire) but the volume group doesn't have an autorequire on a physical volume.
  • n

    natemccurdy

    02/07/2023, 7:25 PM
    Collectors are a tool of last resort since they can have a lot of nasty unintended side effects.
  • s

    Slackbot

    02/07/2023, 7:34 PM
    This message was deleted.
    w
    c
    +2
    • 5
    • 7
  • v

    Vesco

    02/08/2023, 8:35 AM
    Hello guys! I am unable to start puppetserver service VM is RHEL 8.7 puppetserver version: 7.9.3 javac 1.8.0_362 openjdk version "1.8.0_362" /var/log/puppetlabs/puppetserver/puppetserver.log 2023-02-08T093438.940+01:00 ERROR [async-dispatch-2] [p.t.internal] Error during service start!!! org.bouncycastle.openssl.PEMException: unable to convert key pair: RSA KeyFactory not available ..... Caused by: java.security.NoSuchAlgorithmException: RSA KeyFactory not available
  • b

    bastelfreak

    02/08/2023, 8:39 AM
    Is that with FIPS mode?
  • v

    Vesco

    02/08/2023, 8:40 AM
    oh mmmh yes it's enabled
  • s

    Slackbot

    02/08/2023, 8:46 AM
    This message was deleted.
    clapping 1
    r
    • 2
    • 3
  • s

    Slackbot

    02/08/2023, 8:50 AM
    This message was deleted.
    w
    • 2
    • 1
  • b

    bastelfreak

    02/08/2023, 8:51 AM
    your welcome!
    🙌 1
  • s

    Slackbot

    02/08/2023, 11:51 AM
    This message was deleted.
    b
    k
    +2
    • 5
    • 37
  • k

    krishna kant mishra

    02/08/2023, 11:51 AM
    Can anyone pls help me
  • k

    krishna kant mishra

    02/08/2023, 11:52 AM
    I haven’t defined environment under puppet.conf file
  • v

    vchepkov

    02/08/2023, 12:00 PM
    We do with certs extension
  • c

    CVQuesty

    02/08/2023, 1:56 PM
    that’s not where you define it any more. That’s quite an old practice… Further, Puppet will run by default in “production”, but not “win_production”. You would have to specify that environment for any nodes you wish to run in it. e.g.:
    puppet agent -t --environment win_production
    . If you were sing a control_repo, and were classifying nodes to a specific role or grouping of profiles, doing your environmental lookups in Hiera, that would be a better scenario for you. https://github.com/puppetlabs/control-repo https://www.puppet.com/docs/pe/2023.0/control_repo.html https://www.puppet.com/docs/puppet/7/environments_creating.html#env_create https://www.puppet.com/docs/puppet/7/environments_creating.html https://www.puppet.com/docs/puppet/7/environment_isolation.html#environment_isolation https://www.puppet.com/docs/puppet/7/roles_and_profiles_example.html
  • c

    CVQuesty

    02/08/2023, 1:56 PM
    that’s not where you define it any more. That’s quite an old practice… Further, Puppet will run by default in “production”, but not “win_production”. You would have to specify that environment for any nodes you wish to run in it. e.g.:
    puppet agent -t --environment win_production
    . If you were sing a control_repo, and were classifying nodes to a specific role or grouping of profiles, doing your environmental lookups in Hiera, that would be a better scenario for you. https://github.com/puppetlabs/control-repo https://www.puppet.com/docs/pe/2023.0/control_repo.html https://www.puppet.com/docs/puppet/7/environments_creating.html#env_create https://www.puppet.com/docs/puppet/7/environments_creating.html https://www.puppet.com/docs/puppet/7/environment_isolation.html#environment_isolation https://www.puppet.com/docs/puppet/7/roles_and_profiles_example.html
  • l

    Les Shiner

    02/08/2023, 3:36 PM
    Morning all. My agent checks into the CA and gets it's cert signed. Then when it goes to grab it's catalog from the compilers i get a wonderful error. Compilers are sitting behind an LB in azure.
    Copy code
    <http://load.eastus.cloudapp.azure.com|load.eastus.cloudapp.azure.com>
    I have added that to the dns_alt names of all the compilers. Here is an excerpt from "puppet ssl show" for compiler 1
    Copy code
    X509v3 Subject Alternative Name: DNS:Compiler-1, DNS:<http://Compiler-1.bx.internal.cloudapp.net|Compiler-1.bx.internal.cloudapp.net>, DNS:<http://eastus.cloudapp.azure.com|eastus.cloudapp.azure.com>, DNS:<http://compiler-1.bx.internal.cloudapp.net|compiler-1.bx.internal.cloudapp.net>, DNS:<http://load.eastus.cloudapp.azure.com|load.eastus.cloudapp.azure.com>, DNS:<http://master.eastus.cloudapp.azure.com|master.eastus.cloudapp.azure.com>
    you can clearly see that it has 'load.eastus.cloudapp.azure.com' as an alt name here is my error:
    Copy code
    Server hostname '<http://load.eastus.cloudapp.azure.com|load.eastus.cloudapp.azure.com>' did not match server certificate; expected one of <http://compiler-1.bx.internal.cloudapp.net|compiler-1.bx.internal.cloudapp.net>, DNS:Compiler-1, DNS:<http://Compiler-1.bx.internal.cloudapp.net|Compiler-1.bx.internal.cloudapp.net>, DNS:<http://eastus.cloudapp.azure.com|eastus.cloudapp.azure.com>, DNS:<http://compiler-1.bx.internal.cloudapp.net|compiler-1.bx.internal.cloudapp.net>, DNS:<http://master.eastus.cloudapp.azure.com|master.eastus.cloudapp.azure.com>
  • l

    Les Shiner

    02/08/2023, 3:40 PM
    Morning all. My agent checks into the CA and gets it's cert signed. Then when it goes to grab it's catalog from the compilers i get a wonderful error. Compilers are sitting behind an LB in azure.
    Copy code
    <http://load.eastus.cloudapp.azure.com|load.eastus.cloudapp.azure.com>
    I have added that to the dns_alt names of all the compilers. Here is an excerpt from "puppet ssl show" for compiler 1
    Copy code
    X509v3 Subject Alternative Name: DNS:Compiler-1, DNS:<http://Compiler-1.bx.internal.cloudapp.net|Compiler-1.bx.internal.cloudapp.net>, DNS:<http://eastus.cloudapp.azure.com|eastus.cloudapp.azure.com>, DNS:<http://compiler-1.bx.internal.cloudapp.net|compiler-1.bx.internal.cloudapp.net>, DNS:<http://load.eastus.cloudapp.azure.com|load.eastus.cloudapp.azure.com>, DNS:<http://master.eastus.cloudapp.azure.com|master.eastus.cloudapp.azure.com>
    you can clearly see that it has 'load.eastus.cloudapp.azure.com' as an alt name here is my error:
    Copy code
    Server hostname '<http://load.eastus.cloudapp.azure.com|load.eastus.cloudapp.azure.com>' did not match server certificate; expected one of <http://compiler-1.bx.internal.cloudapp.net|compiler-1.bx.internal.cloudapp.net>, DNS:Compiler-1, DNS:<http://Compiler-1.bx.internal.cloudapp.net|Compiler-1.bx.internal.cloudapp.net>, DNS:<http://eastus.cloudapp.azure.com|eastus.cloudapp.azure.com>, DNS:<http://compiler-1.bx.internal.cloudapp.net|compiler-1.bx.internal.cloudapp.net>, DNS:<http://master.eastus.cloudapp.azure.com|master.eastus.cloudapp.azure.com>
  • c

    CVQuesty

    02/08/2023, 4:04 PM
    on the server, if you do
    puppetserver ca list --certname <http://load.eastus.cloudapp.azure.com|load.eastus.cloudapp.azure.com>
    , what does it give you?
  • l

    Les Shiner

    02/08/2023, 4:05 PM
    on my compiler correct?
  • c

    CVQuesty

    02/08/2023, 4:07 PM
    Typically, the compiler does not terminate the SSL conversation, the primary server does.
  • l

    Les Shiner

    02/08/2023, 4:08 PM
    on my CA it states "Missing Certificates: load.eastus.cloudapp.azure.com"
  • c

    CVQuesty

    02/08/2023, 4:09 PM
    again, the primary “master” (if I can use that term any more) is where the CA signing, storage, and answering into the environment tend to happen (unless you are syncing the certs and all associated files from the primary master to all other compiler nodes)
  • c

    CVQuesty

    02/08/2023, 4:10 PM
    Usually, an agent will have two directives in puppet.conf. The
    server
    entry and the
    ca_server
    entry.
  • l

    Les Shiner

    02/08/2023, 4:10 PM
    ok, my agents have server=load.eastus.cloudapp.azure.come
  • c

    CVQuesty

    02/08/2023, 4:10 PM
    the
    ca_server
    entry will point to the primary server and then the
    server
    entry will point to that load balancer
  • l

    Les Shiner

    02/08/2023, 4:11 PM
    exactly
  • c

    CVQuesty

    02/08/2023, 4:11 PM
    how about
    ca_server
    ?
  • l

    Les Shiner

    02/08/2023, 4:11 PM
    master.eastus.cloudapp.azure.com
1...299300301...428Latest