Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Re-running watchmaker results in a traceback #173

Closed
lorengordon opened this issue Mar 8, 2017 · 0 comments
Closed

Re-running watchmaker results in a traceback #173

lorengordon opened this issue Mar 8, 2017 · 0 comments

Comments

@lorengordon
Copy link
Member

lorengordon commented Mar 8, 2017

The first watchmaker run places all the formulas in the correct location, but the second run blows up cuz the formula directories already exist.

Traceback (most recent call last):
  File "/usr/bin/watchmaker", line 11, in <module>
    load_entry_point('watchmaker==0.1.3.dev0', 'console_scripts', 'watchmaker')()
  File "/usr/lib/python2.6/site-packages/watchmaker/cli.py", line 109, in main
    sys.exit(watchmaker_client.install())
  File "/usr/lib/python2.6/site-packages/watchmaker/__init__.py", line 385, in install
    workers_manager.worker_cadence()
  File "/usr/lib/python2.6/site-packages/watchmaker/managers/workers.py", line 38, in worker_cadence
    salt.install()
  File "/usr/lib/python2.6/site-packages/watchmaker/workers/salt.py", line 419, in install
    self._build_salt_formula(self.salt_srv)
  File "/usr/lib/python2.6/site-packages/watchmaker/workers/salt.py", line 396, in _build_salt_formula
    formulas_conf = self._get_formulas_conf()
  File "/usr/lib/python2.6/site-packages/watchmaker/workers/salt.py", line 159, in _get_formulas_conf
    os.path.join(self.salt_formula_root, '', formula))
  File "/usr/lib64/python2.6/shutil.py", line 142, in copytree
    os.makedirs(dst)
  File "/usr/lib64/python2.6/os.py", line 157, in makedirs
    mkdir(name, mode)
OSError: [Errno 17] File exists: '/srv/salt/formulas/ash-windows-formula'
@lorengordon lorengordon changed the title Reinstalling watchmaker results in a traceback Re-running watchmaker results in a traceback Mar 8, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant