cloudtools / stacker

An AWS CloudFormation Stack orchestrator/manager.
http://stacker.readthedocs.io/en/stable/
BSD 2-Clause "Simplified" License
711 stars 167 forks source link

stacker build -j 10 throws exception for all stacks #733

Closed russellballestrini closed 5 years ago

russellballestrini commented 5 years ago

Here is the error. -j 10

Exception in thread route53-main-zone:
Traceback (most recent call last):
  File "/usr/local/lib/python2.7/threading.py", line 801, in __bootstrap_inner
    self.run()
  File "/usr/local/lib/python2.7/threading.py", line 754, in run
    self.__target(*self.__args, **self.__kwargs)
  File "/stacks/src/stacker/stacker/dag/__init__.py", line 468, in fn
    self.semaphore.acquire()
AttributeError: 'int' object has no attribute 'acquire'

CC @phobologic @ejholmes

russellballestrini commented 5 years ago

Maybe related: https://github.com/cloudtools/stacker/commit/a3feb4a85c815fc76cc6fe13b243a2655b497d03

russellballestrini commented 5 years ago

Upgrading to stacker 1.7.0 fix this.