Page MenuHomePhabricator

Puppet failure on deployment-memc08.deployment-prep.eqiad.wmflabs
Closed, ResolvedPublic


deployment-memc08 fails puppet. Apparently the instance got created a year ago as part of T213089: Upgrade memcached cluster to Debian Buster

The prompt shows:

The last Puppet run was at Fri Oct 30 18:00:44 UTC 2020 (9535 minutes ago).
Using configured environment 'production'
Retrieving pluginfacts
Retrieving plugin
Retrieving locales
Loading facts
Could not retrieve catalog from remote server: Error 500 on SERVER: Server Error: Evaluation Error: Error while evaluating a Resource Statement, Evaluation Error: Error while evaluating a Function Call, Class[Profile::Memcached::Instance]:
  parameter 'size' expects an Integer value, got String
  parameter 'growth_factor' expects a Float value, got String (file: /etc/puppet/modules/role/manifests/memcached.pp, line: 9, column: 5) on node deployment-memc08.deployment-prep.eqiad.wmflabs
Not using cache on failed catalog
Could not retrieve catalog; skipping run

Event Timeline

hashar claimed this task.

Hiera at has:

- modern
profile::memcached::growth_factor: '1.15'
profile::memcached::size: '3000'
profile::memcached::version: present
puppetmaster: deployment-puppetmaster04.deployment-prep.eqiad.wmflabs

That hasn't been changed recently . I guess the Puppet class now enforces type.

I have dropped the single quotes surrounding the values (diff), and surely Puppet is now working.