Page MenuHomePhabricator

Address deprecations and warnings in buster initial box provision
Closed, ResolvedPublic

Description

  • puppetlabs.facter - locale environment variables were bad; continuing with LANG=C LC_ALL=C 838863
    • This is set by the misc module, by mediawiki-vagrant.sh This is caused by the fix for T86282, which dates to Ubuntu 14
  • The function 'hiera_include' is deprecated in favor of using 'lookup'. See https://puppet.com/docs/puppet/5.5/deprecated_language.html\n (file & line not available) 850264
  • /vagrant/puppet/hiera.yaml: Use of 'hiera.yaml' version 3 is deprecated. It should be converted to version 5 850264
  • Warning: The node parameter 'environment' for node 'test' was already set to 'vagrant'. It could not be set to 'vagrant' 850277
  • (After SSH'ing in) -bash: warning: setlocale: LC_ALL: cannot change locale (en_US.UTF-8) 850300

Event Timeline

Change 838863 had a related patch set uploaded (by Mainframe98; author: Mainframe98):

[mediawiki/vagrant@master] Drop LANG env factor quirk hack

https://gerrit.wikimedia.org/r/838863

I get

-bash: warning: setlocale: LC_ALL: cannot change locale (en_US.UTF-8)

when using vagrant ssh, I guess that's the same issue.

Mainframe98 renamed this task from Address deprecations in buster initial box provision to Address deprecations and warnings in buster initial box provision.Oct 26 2022, 4:53 PM
Mainframe98 updated the task description. (Show Details)

Change 850264 had a related patch set uploaded (by Gergő Tisza; author: Gergő Tisza):

[mediawiki/vagrant@master] Update to hiera version 5

https://gerrit.wikimedia.org/r/850264

Change 850277 had a related patch set uploaded (by Gergő Tisza; author: Gergő Tisza):

[mediawiki/vagrant@master] Deduplicate puppet environment setting

https://gerrit.wikimedia.org/r/850277

Change 850300 had a related patch set uploaded (by Gergő Tisza; author: Gergő Tisza):

[mediawiki/vagrant@master] Ensure en_US.UTF-8 locale exists

https://gerrit.wikimedia.org/r/850300

Change 838863 merged by jenkins-bot:

[mediawiki/vagrant@master] Drop LANG env factor quirk hack

https://gerrit.wikimedia.org/r/838863

Change 850264 merged by jenkins-bot:

[mediawiki/vagrant@master] Update to hiera version 5

https://gerrit.wikimedia.org/r/850264

Change 850300 merged by jenkins-bot:

[mediawiki/vagrant@master] Ensure en_US.UTF-8 locale exists

https://gerrit.wikimedia.org/r/850300

Tgr claimed this task.
Tgr updated the task description. (Show Details)

Change 850277 merged by jenkins-bot:

[mediawiki/vagrant@master] Deduplicate puppet environment setting

https://gerrit.wikimedia.org/r/850277

Change 850615 had a related patch set uploaded (by Gergő Tisza; author: Gergő Tisza):

[mediawiki/vagrant@master] Update to hiera version 5

https://gerrit.wikimedia.org/r/850615

Found some more hiera deprecations in the roles.

Change 850615 merged by jenkins-bot:

[mediawiki/vagrant@master] Update to hiera version 5

https://gerrit.wikimedia.org/r/850615