Merge "Use realization ID if not found by search api"
This commit is contained in:
commit
442a2d4309
@ -307,6 +307,12 @@ class NsxPolicyResourceBase(object):
|
||||
resource_type=resource_def.resource_type(),
|
||||
resource_id=resource_def.get_id(),
|
||||
error=error_msg)
|
||||
if (info and info['state'] == constants.STATE_REALIZED and
|
||||
info.get('realization_specific_identifier')):
|
||||
LOG.warning("Realization ID for %s was not found via "
|
||||
"search api although it was realized",
|
||||
policy_resource_path)
|
||||
return info['realization_specific_identifier']
|
||||
eventlet.sleep(sleep)
|
||||
test_num += 1
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user