[09:16:53] jbond: good morning. I have upgraded to Debian Bookworm which comes with ruby 3.1 and rspec-puppet 2.9.0 does not support it :) It fails to build the catalogue with `wrong number of arguments (given 1, expected 0)` from `build_catalog_without_cache_v2` [09:17:02] fix is in the PR https://github.com/rodjek/rspec-puppet/pull/830/files [09:18:39] hashar: ack ill upgrade my self and take a look [09:20:29] I am not sure Tim Sharpe is active anymore, it looks like https://github.com/rodjek/rspec-puppet/ is mostly idle since ~ 2021 [09:20:57] and that PR comes from https://github.com/puppetlabs/rspec-puppet which has a lot more commits and some newer tags [09:21:22] which appears on https://rubygems.org/gems/rspec-puppet [09:21:32] my fault for having bookmarked the old repo :] [09:27:09] that is in rspec-puppet 2.10.0 ( https://github.com/puppetlabs/rspec-puppet/blob/main/CHANGELOG.md#v2100---2021-08-02 ) [09:27:58] then I get some other error in Puppet which I guess is because Puppet 5.5.10 would need adjustement for ruby 3.1 :] [09:36:00] hashar: ahh yes, i think for now its best to use a container of the buoild local tools. im working on upgrading the main infrastrutre this Q. you can probably change things localy to use puppet 7 and things may work but i dont have the time to look into that right now [09:39:43] yeah the next issue in Puppet is similar. Puppet::FileSystem::FileImpl.read() invokes `Pathname.read(opts)` [09:40:28] with ruby 3.1 the parameter should be expanded (is that the thing?) using `**opts` which is in Puppet 6.15.0 [09:40:37] apparently ruby 2.7 emits warning for it [09:40:50] so yeah it is obsoletE. Thank :] [09:59:37] hashar: morit.zm has patched the puppet5.5. package in the wikimedia bookworm packages. you could download that and see what is there but at this point i think its best to spend effort getting the infra upgraded then, we can just start using puppet7 in the Gemfile as well [10:00:01] jbond: yeah +1 don't worry :] [10:00:16] I merely brain dumped my finding in case someone else hits the same issue [10:00:22] thanks [11:25:47] 10netbox, 10Infrastructure-Foundations, 10Patch-For-Review: Netbox: PuppetDB import script error with VMs - https://phabricator.wikimedia.org/T340190 (10Volans) a:03Volans [11:38:09] 10netbox, 10Infrastructure-Foundations, 10Patch-For-Review: Netbox: PuppetDB import script error with VMs - https://phabricator.wikimedia.org/T340190 (10Volans) p:05High→03Medium a:05Volans→03None Fix deployed, I've run the import script manually for the couple of VMs with still a `##PRIMARY##` inter... [13:04:45] (SystemdUnitFailed) firing: update-ubuntu-mirror.service Failed on mirror1001:9100 - https://wikitech.wikimedia.org/wiki/Monitoring/check_systemd_state - https://grafana.wikimedia.org/d/g-AaZRFWk/systemd-status - https://alerts.wikimedia.org/?q=alertname%3DSystemdUnitFailed [13:49:01] Installed ruby-2.7.8 to /home/hashar/.rbenv/versions/2.7.8 [13:49:01] cd puppet && rbenv local 2.7.8 && ruby --version [13:49:01] ruby 2.7.8p225 [13:49:01] bundle install --redownload [13:49:28] and that fixed the spec run. I have a bunch of warnings such as puppet-5.5.10/lib/puppet/file_system/file_impl.rb:80: warning: Using the last argument as keyword parameters is deprecated [13:49:33] which is what fails on ruby 3.1 [14:02:54] 10SRE-tools, 10Infrastructure-Foundations, 10cloud-services-team (FY2022/2023-Q4): Allow wmcs cookbooks running on cloudcuminXXXX to write to the SAL - https://phabricator.wikimedia.org/T325756 (10fnegri) Logging in wmcs-cookbooks is currently handled by the `SALLogger` class in [wmcs_libs/common.py](https:/... [15:57:45] 10netops, 10Infrastructure-Foundations, 10SRE: Connection errors from users on Vodafone DE (AS3209) [28.06.2023] - https://phabricator.wikimedia.org/T340670 (10cmooney) p:05Triage→03Low [17:04:45] (SystemdUnitFailed) firing: update-ubuntu-mirror.service Failed on mirror1001:9100 - https://wikitech.wikimedia.org/wiki/Monitoring/check_systemd_state - https://grafana.wikimedia.org/d/g-AaZRFWk/systemd-status - https://alerts.wikimedia.org/?q=alertname%3DSystemdUnitFailed [19:04:45] (SystemdUnitFailed) resolved: update-ubuntu-mirror.service Failed on mirror1001:9100 - https://wikitech.wikimedia.org/wiki/Monitoring/check_systemd_state - https://grafana.wikimedia.org/d/g-AaZRFWk/systemd-status - https://alerts.wikimedia.org/?q=alertname%3DSystemdUnitFailed [19:39:15] 10Puppet, 10Release-Engineering-Team, 10Patch-For-Review: Puppet git::clone probably does not need `umask` parameter - https://phabricator.wikimedia.org/T338277 (10Dzahn) deployed change to /etc/zuul/wikimedia on contint2002, contint1002, finally contint2001. zuul class does not use umask parameter anymore f...