John Bishop
02/28/2023, 9:38 PMJohn Bishop
02/28/2023, 9:39 PMJoel Wilson
02/28/2023, 9:45 PMSlackbot
02/28/2023, 9:46 PMnatemccurdy
02/28/2023, 9:51 PMDr Bunsen Honeydew
02/28/2023, 10:45 PMMarco Hernandez
02/28/2023, 10:46 PMSlackbot
03/01/2023, 5:39 AMrjd1
03/01/2023, 10:44 AMrjd1
03/01/2023, 10:44 AMbastelfreak
03/01/2023, 10:45 AMrjd1
03/01/2023, 10:46 AMSlackbot
03/01/2023, 11:48 AMssaini
03/01/2023, 12:01 PM[main]
...
dns_alt_names = puppet, <http://test.xyz.com|test.xyz.com>, <http://test.abc.com|test.abc.com>
then
rm -rf /etc/puppetlabs/puppet/ssl/
then
puppetserver ca clean --certname <http://test.xyz.com|test.xyz.com>
then run on the client to force creating a new SSL
puppet agent -tssaini
03/01/2023, 12:01 PM[main]
...
dns_alt_names = puppet, <http://test.xyz.com|test.xyz.com>, <http://test.abc.com|test.abc.com>
then
rm -rf /etc/puppetlabs/puppet/ssl/
then
puppetserver ca clean --certname <http://test.xyz.com|test.xyz.com>
then run on the client to force creating a new SSL
puppet agent -tNeeloj
03/01/2023, 12:08 PMSlackbot
03/01/2023, 12:14 PMssaini
03/01/2023, 12:27 PM$compilers.each |$compiler| {
haproxy::balancermember { $compiler:
listening_service => 'puppet',
server_names => $compiler,
ipaddresses => [getIP],
ports => '8140',
options => 'check',
}
}Despoina Ioannidi
03/01/2023, 2:20 PMnatemccurdy
03/01/2023, 6:09 PMSlackbot
03/01/2023, 6:11 PMNeeloj
03/01/2023, 6:13 PMSlackbot
03/01/2023, 7:24 PMDr Bunsen Honeydew
03/01/2023, 7:24 PMpuppet-puppetserver module at https://forge.puppet.com/puppet/puppetserver?src=slack&channel=puppetBrian Schonecker
03/01/2023, 7:47 PM# override yum repo mariadb version
mariadb::repo::repo_version: '10.5.18-13' # The - here doesn't match yum versionlock. That's OK!
mariadb::server::manage_repo: false # We'll manage our own MariaDB Enterprise repos. (below)
Also, you have to ensure that the mariadb enterprise repositories are defined in /etc/yum.repos.d:
yum::managed_repos:
- "mariadb-es-main"
- "mariadb-maxscale"
- "mariadb-tools"
- "mariadb-enterprise-tools"
In addition, I had to versionlock the MariadDB RPM so that yum wouldn't try to upgrade it:
yum::versionlock:
'MariaDB-server':
ensure: present
version: '10.5.18_13'
release: "1.el%{::os.release.major}"
epoch: 0
arch: "%{::os.architecture}"Brian Schonecker
03/01/2023, 7:48 PM# override yum repo mariadb version
mariadb::repo::repo_version: '10.5.18-13' # The - here doesn't match yum versionlock. That's OK!
mariadb::server::manage_repo: false # We'll manage our own MariaDB Enterprise repos. (below)
Also, you have to ensure that the mariadb enterprise repositories are defined in /etc/yum.repos.d:
yum::managed_repos:
- "mariadb-es-main"
- "mariadb-maxscale"
- "mariadb-tools"
- "mariadb-enterprise-tools"
In addition, I had to versionlock the MariadDB RPM so that yum wouldn't try to upgrade it:
yum::versionlock:
'MariaDB-server':
ensure: present
version: '10.5.18_13'
release: "1.el%{::os.release.major}"
epoch: 0
arch: "%{::os.architecture}"
yum::repos:
"mariadb-es-main":
descr: "MariaDB Enterprise Server"
baseurl: "<https://dlm.mariadb.com/repo/your_mariadb_id_here/mariadb-enterprise-server/%{lookup('mariadb::repo::repo_version')}/rpm/rhel/%{::os.release.major}/%{::architecture}>"
enabled: true
gpgcheck: true
gpgkey: "<https://supplychain.mariadb.com/MariaDB-Enterprise-GPG-KEY>"
module_hotfixes: true
target: "/etc/yum.repos.d/mariadb.repo"
"mariadb-maxscale":
descr: "MariaDB MaxScale"
baseurl: "<https://dlm.mariadb.com/repo/your_mariadb_id_here/maxscale/latest/yum/rhel/%{::os.release.major}/%{::architecture}>"
enabled: true
gpgcheck: true
gpgkey: "<https://supplychain.mariadb.com/MariaDB-MaxScale-GPG-KEY>"
target: "/etc/yum.repos.d/mariadb.repo"
"mariadb-tools":
descr: "MariaDB Tools"
baseurl: "<https://downloads.mariadb.com/Tools/rhel/%{::os.release.major}/%{::architecture}>"
enabled: true
gpgcheck: true
gpgkey: "<https://supplychain.mariadb.com/MariaDB-Enterprise-GPG-KEY>"
target: "/etc/yum.repos.d/mariadb.repo"
"mariadb-enterprise-tools":
descr: "MariaDB Enterprise Tools"
baseurl: "<https://dlm.mariadb.com/repo/your_mariadb_id_here/enterprise-tools/latest/rpm/rhel/%{::os.release.major}/%{::architecture}>"
enabled: true
gpgcheck: true
gpgkey: "<https://supplychain.mariadb.com/MariaDB-Enterprise-GPG-KEY>"
module_hotfixes: true
target: "/etc/yum.repos.d/mariadb.repo"Slackbot
03/01/2023, 9:28 PMkenyon
03/02/2023, 12:51 AMJames Paton-Smith
03/02/2023, 10:53 AMMar 02 08:00:03 laptop01 puppet-agent[57764]: Connection to <https://puppet.example.com:8140/puppet/v3> failed, trying next route: Request to <https://puppet.example.com:8140/puppet/v3> failed after 0.038 seconds: Failed to open TCP connection to <http://puppet.example.com:8140|puppet.example.com:8140> (getaddrinfo: Temporary failure in name resolution)
Mar 02 08:00:03 laptop01 puppet-agent[57764]: Wrapped exception:
Mar 02 08:00:03 laptop01 puppet-agent[57764]: Failed to open TCP connection to <http://puppet.example.com:8140|puppet.example.com:8140> (getaddrinfo: Temporary failure in name resolution)
Mar 02 08:00:03 laptop01 puppet-agent[57764]: No more routes to fileserver
The agent tries to contact the puppet server before it has properly woken up, so network and name resolution aren't working.
I've seen this reddit post with the same issue, but no definitive answer: https://www.reddit.com/r/Puppet/comments/7um9tb/getaddrinfo_temporary_failure_in_name_resolution/bastelfreak
03/02/2023, 11:01 AM