Page MenuHomePhabricator

Puppet broken on phabricator-bookworm-3.devtools.eqiad1.wikimedia.cloud
Open, Needs TriagePublic

Description

I've been receiving this email daily for a couple of weeks now:

---- Failed resources if any:

  * Package[phabricator/deployment]

--- Last run log:

ERR: Execution of '/usr/bin/scap deploy-local --repo phabricator/deployment -D log_json:False' returned 1: 07:59:02 Fetch from: http://deploy-1006.devtools.eqiad1.wikimedia.cloud/phabricator/deployment/.git
07:59:02 Update submodules
07:59:02 Updating .gitmodule: /srv/deployment/phabricator/deployment-cache/cache
07:59:02 Revision directory already exists (use --force to override)
07:59:02 Rendering config_file: /srv/deployment/phabricator/deployment-cache/revs/ce0b8651779d76de7a2f2698cd3da94ffff2b358/phabricator/conf/local/local.json using /etc/phabricator/config.yaml
07:59:02 Unhandled error:
Traceback (most recent call last):
  File "/var/lib/scap/scap/lib/python3.11/site-packages/scap/cli.py", line 827, in run
    exit_status = app.main(app.extra_arguments)
                  ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/var/lib/scap/scap/lib/python3.11/site-packages/scap/deploy.py", line 174, in main
    getattr(self, stage)()
  File "/var/lib/scap/scap/lib/python3.11/site-packages/scap/deploy.py", line 236, in config_deploy
    updated = utils.write_file_if_needed(filename, tmpl.render())
                                                   ^^^^^^^^^^^^^
  File "/var/lib/scap/scap/lib/python3.11/site-packages/scap/template.py", line 135, in render
    template_vars = self._get_file_vars()
                    ^^^^^^^^^^^^^^^^^^^^^
  File "/var/lib/scap/scap/lib/python3.11/site-packages/scap/template.py", line 125, in _get_file_vars
    with open(self.var_file, "r") as variables:
         ^^^^^^^^^^^^^^^^^^^^^^^^
PermissionError: [Errno 13] Permission denied: '/etc/phabricator/config.yaml'
07:59:02 deploy-local failed: <PermissionError> [Errno 13] Permission denied: '/etc/phabricator/config.yaml' (scap version: 4.243.0) (duration: 00m 00s)

ERR: change from 'absent' to 'present' failed: Execution of '/usr/bin/scap deploy-local --repo phabricator/deployment -D log_json:False' returned 1: 07:59:02 Fetch from: http://deploy-1006.devtools.eqiad1.wikimedia.cloud/phabricator/deployment/.git
07:59:02 Update submodules
07:59:02 Updating .gitmodule: /srv/deployment/phabricator/deployment-cache/cache
07:59:02 Revision directory already exists (use --force to override)
07:59:02 Rendering config_file: /srv/deployment/phabricator/deployment-cache/revs/ce0b8651779d76de7a2f2698cd3da94ffff2b358/phabricator/conf/local/local.json using /etc/phabricator/config.yaml
07:59:02 Unhandled error:
Traceback (most recent call last):
  File "/var/lib/scap/scap/lib/python3.11/site-packages/scap/cli.py", line 827, in run
    exit_status = app.main(app.extra_arguments)
                  ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/var/lib/scap/scap/lib/python3.11/site-packages/scap/deploy.py", line 174, in main
    getattr(self, stage)()
  File "/var/lib/scap/scap/lib/python3.11/site-packages/scap/deploy.py", line 236, in config_deploy
    updated = utils.write_file_if_needed(filename, tmpl.render())
                                                   ^^^^^^^^^^^^^
  File "/var/lib/scap/scap/lib/python3.11/site-packages/scap/template.py", line 135, in render
    template_vars = self._get_file_vars()
                    ^^^^^^^^^^^^^^^^^^^^^
  File "/var/lib/scap/scap/lib/python3.11/site-packages/scap/template.py", line 125, in _get_file_vars
    with open(self.var_file, "r") as variables:
         ^^^^^^^^^^^^^^^^^^^^^^^^
PermissionError: [Errno 13] Permission denied: '/etc/phabricator/config.yaml'
07:59:02 deploy-local failed: <PermissionError> [Errno 13] Permission denied: '/etc/phabricator/config.yaml' (scap version: 4.243.0) (duration: 00m 00s)

NOTICE: ensure changed 'stopped' to 'running' (corrective)
NOTICE: Applied catalog in 18.08 seconds

---- Exceptions that happened when running the script if any:
  No exceptions happened.

Event Timeline

@brennen Do you know anything about this node?

@Aklapper The tag you removed was correct for this task. Yes, this is related to what you linked to but does not mean it's not about the VPS project. @Arnoldokoth is working on this.