Page MenuHomePhabricator
Paste P7280

random puppet error noticed on deployment-deploy01 during setup only
ActivePublic

Authored by Krenair on Jun 21 2018, 6:57 PM.
Error: /Stage[main]/Profile::Mediawiki::Deployment::Server/Scap::Source[statsv/statsv]/Scap_source[statsv/statsv]/ensure: change from absent to present failed: Execution of '/usr/bin/scap deploy --init' returned 70: 17:53:15 Unhandled error:
Traceback (most recent call last):
File "/usr/lib/python2.7/dist-packages/scap/cli.py", line 336, in run
exit_status = app.main(app.extra_arguments)
File "/usr/lib/python2.7/dist-packages/scap/deploy.py", line 633, in main
self._build_deploy_groups()
File "/usr/lib/python2.7/dist-packages/scap/deploy.py", line 975, in _build_deploy_groups
self.all_targets = target_obj.all
File "/usr/lib/python2.7/dist-packages/scap/targets.py", line 223, in all
return self.get_deploy_groups()['all_targets']
File "/usr/lib/python2.7/dist-packages/scap/targets.py", line 196, in get_deploy_groups
targets = self._get_targets_for_key(key)
File "/usr/lib/python2.7/dist-packages/scap/targets.py", line 253, in _get_targets_for_key
utils.check_file_exists(hosts_file)
File "/usr/lib/python2.7/dist-packages/scap/utils.py", line 487, in check_file_exists
path
IOError: [Errno 2] Error: None is not a file.: None
17:53:15 deploy failed: <IOError> [Errno 2] Error: None is not a file.: None