Nova boot may fail if the logical switch is not accessible.
This patch wait until the segment consolidated state is successful
before returning the LS id to nova.
Change-Id: Ib055feda79877fe4ebcc5db193f7d9d081724a94
(cherry picked from commit e0f7bfaeaf)