Log message
From the following code, session can't be opened when environment status is DEPLOYING or DELETING status. if env_status in (states.EnvironmentStatus.DEPLOYING, states.EnvironmentStatus.DELETING): Change-Id: I4f20b51f87a77cfbf2d76e9961d8bfaa6380aac8
This commit is contained in:
parent
af6a44aa99
commit
090e2d2f9f
@ -44,7 +44,7 @@ class Controller(object):
|
||||
states.EnvironmentStatus.DELETING):
|
||||
LOG.warning('Could not open session for environment '
|
||||
'<EnvId: {id}>, environment has deploying '
|
||||
'status.'.format(id=environment_id))
|
||||
'or deleting status.'.format(id=environment_id))
|
||||
raise exc.HTTPForbidden()
|
||||
|
||||
user_id = request.context.user
|
||||
|
Loading…
Reference in New Issue
Block a user