Workaround for bug 816 62/7862/1 v6.0.2 v6.0.2rc1 v6.0.3
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 20:10:04 +0000 (16:10 -0400)
commitb9921ccc1e35240b93083edaa1cc51e4b16779e5
tree644db6b26cb047135318e2ab18e5fc6dc20aeb82
parent92730104558ea972cc6884e165bf4b8bf1946fbf
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