Merge "Fix error when senlin do health check a cluster"

This commit is contained in:
Zuul 2019-08-20 18:29:29 +00:00 committed by Gerrit Code Review
commit c4d3fc622c
1 changed files with 3 additions and 0 deletions

View File

@ -1556,6 +1556,9 @@ class ServerProfile(base.Profile):
consts.VS_DELETED]
if not obj.physical_id:
if obj.status == 'BUILD' or obj.status == 'CREATING':
return True
LOG.info('%s for %s: server has no physical ID.',
consts.POLL_STATUS_FAIL, obj.name)
return False