Last modified: 2013-07-24 20:50:22 UTC
Running puppet on any beta instance yield: err: Could not retrieve catalog from remote server: Error 400 on SERVER: Could not parse for environment production: No file(s) found for import of '../private/manifests/passwords.pp' at /etc/puppet/manifests/base.pp:10 on node i-0000031a.pmtpa.wmflabs
The puppet private directory got moved around apparently: Possible causes: https://gerrit.wikimedia.org/r/#/c/75503/ https://gerrit.wikimedia.org/r/#/c/75496/
https://gerrit.wikimedia.org/r/#/c/75592/ (by Andrew Bogott) sets a symlink
The initial problem was that the /etc/puppet symlinks on virt0 were pointing to /var/lib/git/operations/puppet whereas the actual cron-updated repos are in /root/testrepo. I'd like to standardize on /var/lib/git/operations/ but, for the moment, I've moved the symlinks to point to /root/testrepo. Alas, now the puppetmaster is doing something altogether new and different: err: Could not retrieve catalog from remote server: Error 500 on SERVER: <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd"> For which the actual error message seems to be: <dd>Could not prepare for execution: Got 1 failure(s) while initializing: change from absent to directory failed: Could not set 'directory on ensure: File exists - /etc/puppet/manifests </dd> Why would the puppetmaster be creating dirs as a result of a query?
This mystery is not solved, but vir0 has been rearranged to more-closely resemble the other puppet masters, and is now working properly.
Thank you Andrew!