If lxc returns 'Instance is busy running a "create" operation', the
container was successfully created but it's not yet fully running. Call
this a success as future operations will succeed once the container has
fully started.
Signed-off-by: Tom Hromatka <tom.hromatka@oracle.com>
try:
Run.run(cmd)
q.put(True)
+ except RunError as re:
+ if re.stderr.find('Instance is busy running a "create" operation') >= 0:
+ q.put(True)
except Exception: # noqa: E722
q.put(False)
except BaseException: # noqa: E722