Workaround for bug 816 60/7860/2
authorAdam Israel <adam.israel@canonical.com>
Tue, 27 Aug 2019 16:50:06 +0000 (12:50 -0400)
committerAdam Israel <adam.israel@canonical.com>
Tue, 27 Aug 2019 16:58:57 +0000 (12:58 -0400)
commit93a3db12e79d8e35ab8ca9a518a56631d8fd0707
tree644db6b26cb047135318e2ab18e5fc6dc20aeb82
parent9b1fde45c38da39b576c8cf1dbdfa8f4c3408844
Workaround for bug 816

Identified the root cause of bug 816 as a race condition in Juju 2.6.6,
which will be fixed in the pending 2.6.7 release. In the meantime, this
adds a workaround to dealing with the race condition by sleeping
immediately after the model is created.

Change-Id: Ief3d0bffe51cef0736f9819a2934e62412584fe4
Signed-off-by: Adam Israel <adam.israel@canonical.com>
modules/libjuju/juju/controller.py