Fix whatever is broken (puppet agent --test is failing after reboot for some reasons)
root@bojimans:~# puppet agent --testInfo: Using configured environment 'production'Info: Retrieving pluginfactsInfo: Retrieving pluginInfo: Retrieving localesInfo: Loading factsError: Could not retrieve catalog from remote server: Error 500 on SERVER: Server Error: Evaluation Error: Error while evaluating a Function Call, No preferred version defined or automatically detected. (file: /etc/puppet/code/environments/production/modules/postgresql/manifests/globals.pp, line: 228, column: 5) on node bojimans.internal.softwareheritage.orgWarning: Not using cache on failed catalogError: Could not retrieve catalog; skipping run
Fix pushed and deployed. Puppet agent unstuck [1].
The task can be closed.
root@bojimans:~# puppet agent --enable; puppet agent --testInfo: Using configured environment 'production'Info: Retrieving pluginfactsInfo: Retrieving pluginInfo: Retrieving localesInfo: Loading factsInfo: Caching catalog for bojimans.internal.softwareheritage.orgInfo: Applying configuration version '1639489174'Notice: /Stage[main]/Profile::Icinga2::Apt_config/Apt::Source[icinga-stable-release]/Apt::Setting[list-icinga-stable-release]/File[/etc/apt/sources.list.d/icinga-stable-release.list]/content:--- /etc/apt/sources.list.d/icinga-stable-release.list 2021-12-14 10:34:14.272197969 +0000+++ /tmp/puppet-file20211214-12402-1kaltb2 2021-12-14 13:39:48.343107216 +0000@@ -1,3 +1,3 @@ # This file is managed by Puppet. DO NOT EDIT. # icinga-stable-release-deb http://packages.icinga.com/debian icinga-buster main+deb http://packages.icinga.com/debian icinga-bullseye mainInfo: Computing checksum on file /etc/apt/sources.list.d/icinga-stable-release.listInfo: /Stage[main]/Profile::Icinga2::Apt_config/Apt::Source[icinga-stable-release]/Apt::Setting[list-icinga-stable-release]/File[/etc/apt/sources.list.d/icinga-stable-release.list]: Filebucketed /etc/apt/sources.list.d/icinga-stable-release.list to puppet with sum 4c454cae4c26eee78d089c5038f7aa04Notice: /Stage[main]/Profile::Icinga2::Apt_config/Apt::Source[icinga-stable-release]/Apt::Setting[list-icinga-stable-release]/File[/etc/apt/sources.list.d/icinga-stable-release.list]/content: content changed '{md5}4c454cae4c26eee78d089c5038f7aa04' to '{md5}fe5dbd7310994bfefc9fc63c2715b86e'Info: /Stage[main]/Profile::Icinga2::Apt_config/Apt::Source[icinga-stable-release]/Apt::Setting[list-icinga-stable-release]/File[/etc/apt/sources.list.d/icinga-stable-release.list]: Scheduling refresh of Class[Apt::Update]Info: Computing checksum on file /etc/apt/preferences.d/swh-backported-packages.prefInfo: /Stage[main]/Profile::Swh::Apt_config::Backports/Apt::Pin[swh-backported-packages]/Apt::Setting[pref-swh-backported-packages]/File[/etc/apt/preferences.d/swh-backported-packages.pref]: Filebucketed /etc/apt/preferences.d/swh-backported-packages.pref to puppet with sum a4805753567feb59c7323d2b3cd8c64eNotice: /Stage[main]/Profile::Swh::Apt_config::Backports/Apt::Pin[swh-backported-packages]/Apt::Setting[pref-swh-backported-packages]/File[/etc/apt/preferences.d/swh-backported-packages.pref]/ensure: removed Notice: /Stage[main]/Profile::Swh::Apt_config/Apt::Source[debian]/Apt::Setting[list-debian]/File[/etc/apt/sources.list.d/debian.list]/content:--- /etc/apt/sources.list.d/debian.list 2021-12-14 10:34:14.304203479 +0000 +++ /tmp/puppet-file20211214-12402-13dd3pl 2021-12-14 13:39:48.415107453 +0000@@ -1,3 +1,3 @@ # This file is managed by Puppet. DO NOT EDIT. # debian-deb http://deb.debian.org/debian/ buster main+deb http://deb.debian.org/debian/ bullseye mainInfo: Computing checksum on file /etc/apt/sources.list.d/debian.listInfo: /Stage[main]/Profile::Swh::Apt_config/Apt::Source[debian]/Apt::Setting[list-debian]/File[/etc/apt/sources.list.d/debian.list]: Filebucketed /etc/apt/sources.list.d/debian.list to puppet with sum 6ddde35c41380a75cfff67656683f341Notice: /Stage[main]/Profile::Swh::Apt_config/Apt::Source[debian]/Apt::Setting[list-debian]/File[/etc/apt/sources.list.d/debian.list]/content: content changed '{md5}6ddde35c41380a75cfff67656683f341' to '{md5}ec46afc7765bc77091e7494dbc1b9780'Info: /Stage[main]/Profile::Swh::Apt_config/Apt::Source[debian]/Apt::Setting[list-debian]/File[/etc/apt/sources.list.d/debian.list]: Scheduling refresh of Class[Apt::Update]Notice: /Stage[main]/Profile::Swh::Apt_config/Apt::Source[debian-updates]/Apt::Setting[list-debian-updates]/File[/etc/apt/sources.list.d/debian-updates.list]/content:--- /etc/apt/sources.list.d/debian-updates.list 2021-12-14 10:34:14.324206922 +0000+++ /tmp/puppet-file20211214-12402-177n65l 2021-12-14 13:39:48.519107796 +0000 @@ -1,3 +1,3 @@ # This file is managed by Puppet. DO NOT EDIT. # debian-updates-deb http://deb.debian.org/debian/ buster-updates main+deb http://deb.debian.org/debian/ bullseye-updates mainInfo: Computing checksum on file /etc/apt/sources.list.d/debian-updates.listInfo: /Stage[main]/Profile::Swh::Apt_config/Apt::Source[debian-updates]/Apt::Setting[list-debian-updates]/File[/etc/apt/sources.list.d/debian-updates.list]: Filebucketed /etc/apt/sources.list.d/debian-updates.list to puppet with sum 6f4f271cba6ca2d545ef4a11e8079c7bNotice: /Stage[main]/Profile::Swh::Apt_config/Apt::Source[debian-updates]/Apt::Setting[list-debian-updates]/File[/etc/apt/sources.list.d/debian-updates.list]/content: content changed '{md5}6f4f271cba6ca2d545ef4a11e8079c7b' to '{md5}3df5075ecb38588de2d4af11148a591f'Info: /Stage[main]/Profile::Swh::Apt_config/Apt::Source[debian-updates]/Apt::Setting[list-debian-updates]/File[/etc/apt/sources.list.d/debian-updates.list]: Scheduling refresh of Class[Apt::Update]Notice: /Stage[main]/Profile::Swh::Apt_config/Apt::Source[debian-security]/Apt::Setting[list-debian-security]/File[/etc/apt/sources.list.d/debian-security.list]/content:--- /etc/apt/sources.list.d/debian-security.list 2021-12-14 10:34:14.344210367 +0000+++ /tmp/puppet-file20211214-12402-2lmr8a 2021-12-14 13:39:48.543107876 +0000@@ -1,3 +1,3 @@ # This file is managed by Puppet. DO NOT EDIT. # debian-security-deb http://deb.debian.org/debian-security/ buster/updates main +deb http://deb.debian.org/debian-security/ bullseye-security mainInfo: Computing checksum on file /etc/apt/sources.list.d/debian-security.listInfo: /Stage[main]/Profile::Swh::Apt_config/Apt::Source[debian-security]/Apt::Setting[list-debian-security]/File[/etc/apt/sources.list.d/debian-security.list]: Filebucketed /etc/apt/sources.list.d/debian-security.list to puppet with sum 1ec3fdb08c4e0040080ef98bd5c32d26Notice: /Stage[main]/Profile::Swh::Apt_config/Apt::Source[debian-security]/Apt::Setting[list-debian-security]/File[/etc/apt/sources.list.d/debian-security.list]/content: content changed '{md5}1ec3fdb08c4e0040080ef98bd5c32d26' to '{md5}61e7e51539cfd274dac46fd7fad658d4'Info: /Stage[main]/Profile::Swh::Apt_config/Apt::Source[debian-security]/Apt::Setting[list-debian-security]/File[/etc/apt/sources.list.d/debian-security.list]: Scheduling refresh of Class[Apt::Update]Notice: /Stage[main]/Profile::Swh::Apt_config/Apt::Source[softwareheritage]/Apt::Setting[list-softwareheritage]/File[/etc/apt/sources.list.d/softwareheritage.list]/content:--- /etc/apt/sources.list.d/softwareheritage.list 2021-12-14 10:34:14.364213810 +0000+++ /tmp/puppet-file20211214-12402-lgs5gb 2021-12-14 13:39:48.563107941 +0000@@ -1,3 +1,3 @@ # This file is managed by Puppet. DO NOT EDIT. # Software Heritage specific package repository-deb [trusted=yes] https://debian.softwareheritage.org/ buster-swh main +deb [trusted=yes] https://debian.softwareheritage.org/ bullseye-swh mainInfo: Computing checksum on file /etc/apt/sources.list.d/softwareheritage.listInfo: /Stage[main]/Profile::Swh::Apt_config/Apt::Source[softwareheritage]/Apt::Setting[list-softwareheritage]/File[/etc/apt/sources.list.d/softwareheritage.list]: Filebucketed /etc/apt/sources.list.d/softwareheritage.list to puppet with sum 1a2f771433b000dc6281c921f4b317b3Notice: /Stage[main]/Profile::Swh::Apt_config/Apt::Source[softwareheritage]/Apt::Setting[list-softwareheritage]/File[/etc/apt/sources.list.d/softwareheritage.list]/content: content changed '{md5}1a2f771433b000dc6281c921f4b317b3' to '{md5}4a171760bb752c91af408364c7602d2b'Info: /Stage[main]/Profile::Swh::Apt_config/Apt::Source[softwareheritage]/Apt::Setting[list-softwareheritage]/File[/etc/apt/sources.list.d/softwareheritage.list]: Scheduling refresh of Class[Apt::Update]Notice: /Stage[main]/Profile::Postgresql::Apt_config/Apt::Source[pgdg]/Apt::Setting[list-pgdg]/File[/etc/apt/sources.list.d/pgdg.list]/content:--- /etc/apt/sources.list.d/pgdg.list 2021-12-14 10:34:14.404220698 +0000+++ /tmp/puppet-file20211214-12402-1qf5y6f 2021-12-14 13:39:48.595108048 +0000@@ -1,3 +1,3 @@ # This file is managed by Puppet. DO NOT EDIT. # pgdg-deb https://apt.postgresql.org/pub/repos/apt/ buster-pgdg main+deb https://apt.postgresql.org/pub/repos/apt/ bullseye-pgdg mainInfo: Computing checksum on file /etc/apt/sources.list.d/pgdg.listInfo: /Stage[main]/Profile::Postgresql::Apt_config/Apt::Source[pgdg]/Apt::Setting[list-pgdg]/File[/etc/apt/sources.list.d/pgdg.list]: Filebucketed /etc/apt/sources.list.d/pgdg.list to puppet with sum 33f3e4dfd60c941c575a1e0bfcee3050Notice: /Stage[main]/Profile::Postgresql::Apt_config/Apt::Source[pgdg]/Apt::Setting[list-pgdg]/File[/etc/apt/sources.list.d/pgdg.list]/content: content changed '{md5}33f3e4dfd60c941c575a1e0bfcee3050' to '{md5}3be9967828a10378c1a774a94f4f1f4b'Info: /Stage[main]/Profile::Postgresql::Apt_config/Apt::Source[pgdg]/Apt::Setting[list-pgdg]/File[/etc/apt/sources.list.d/pgdg.list]: Scheduling refresh of Class[Apt::Update]Notice: /Stage[main]/Apt::Backports/Apt::Source[backports]/Apt::Pin[backports]/Apt::Setting[pref-backports]/File[/etc/apt/preferences.d/backports.pref]/content:--- /etc/apt/preferences.d/backports.pref 2020-10-01 12:21:09.517425053 +0000+++ /tmp/puppet-file20211214-12402-1mz98sz 2021-12-14 13:39:48.691108364 +0000@@ -1,5 +1,5 @@ # This file is managed by Puppet. DO NOT EDIT. Explanation: apt: backports Package: *-Pin: release a=buster-backports+Pin: release a=bullseye-backports Pin-Priority: 100Info: Computing checksum on file /etc/apt/preferences.d/backports.prefInfo: /Stage[main]/Apt::Backports/Apt::Source[backports]/Apt::Pin[backports]/Apt::Setting[pref-backports]/File[/etc/apt/preferences.d/backports.pref]: Filebucketed /etc/apt/preferences.d/backports.pref to puppet with sum 8b23afda48fb6f44f763dd760315d974Notice: /Stage[main]/Apt::Backports/Apt::Source[backports]/Apt::Pin[backports]/Apt::Setting[pref-backports]/File[/etc/apt/preferences.d/backports.pref]/content: content changed '{md5}8b23afda48fb6f44f763dd760315d974' to '{md5}d41347bc7d8b49b57450805369b05dd1'Notice: /Stage[main]/Apt::Backports/Apt::Source[backports]/Apt::Setting[list-backports]/File[/etc/apt/sources.list.d/backports.list]/content:--- /etc/apt/sources.list.d/backports.list 2021-12-14 10:34:14.528242051 +0000+++ /tmp/puppet-file20211214-12402-1yfy1j9 2021-12-14 13:39:48.715108443 +0000@@ -1,3 +1,3 @@ # This file is managed by Puppet. DO NOT EDIT. # backports-deb http://deb.debian.org/debian/ buster-backports main+deb http://deb.debian.org/debian/ bullseye-backports mainInfo: Computing checksum on file /etc/apt/sources.list.d/backports.listInfo: /Stage[main]/Apt::Backports/Apt::Source[backports]/Apt::Setting[list-backports]/File[/etc/apt/sources.list.d/backports.list]: Filebucketed /etc/apt/sources.list.d/backports.list to puppet with sum 5936718623f0443d655149a707471e39Notice: /Stage[main]/Apt::Backports/Apt::Source[backports]/Apt::Setting[list-backports]/File[/etc/apt/sources.list.d/backports.list]/content: content changed '{md5}5936718623f0443d655149a707471e39' to '{md5}3dd4342012607031174752767513ac53'Info: /Stage[main]/Apt::Backports/Apt::Source[backports]/Apt::Setting[list-backports]/File[/etc/apt/sources.list.d/backports.list]: Scheduling refresh of Class[Apt::Update]Info: Class[Apt::Update]: Scheduling refresh of Exec[apt_update]Notice: /Stage[main]/Apt::Update/Exec[apt_update]: Triggered 'refresh' from 1 eventNotice: Applied catalog in 10.97 seconds
Antoine R. Dumontmarked the checklist item Fix whatever is broken (puppet agent --test is failing after reboot for some reasons) as completed
marked the checklist item Fix whatever is broken (puppet agent --test is failing after reboot for some reasons) as completed
Antoine R. Dumontmarked the checklist item Inventory update for that node as completed
marked the checklist item Inventory update for that node as completed