Gate failure due to introduction of new WSME 0.8.0
Many of the changes on gate are failing because of Bad Request error. The reason for this is the request accepts some fields whereas the entire dictionary is getting passed without applying any filter. This patch solves the problem. A new WSME version 0.8.0 was introduced today, which seems to be the cause of this problem. http://osdir.com/ml/openstack-dev/2015-08/msg01687.html Change-Id: I6d40889683449995df7bd7ebcdf755991cef43ef Closes-bug: #1488687
This commit is contained in:
parent
ef43d2a0fc
commit
327d2eb852
@ -39,7 +39,8 @@ class BayPatchType(types.JsonPatchType):
|
||||
|
||||
@staticmethod
|
||||
def internal_attrs():
|
||||
internal_attrs = ['/api_address', '/node_addresses']
|
||||
internal_attrs = ['/api_address', '/node_addresses',
|
||||
'/master_addresses', '/stack_id']
|
||||
return types.JsonPatchType.internal_attrs() + internal_attrs
|
||||
|
||||
|
||||
|
@ -152,7 +152,8 @@ class JsonPatchType(wtypes.Base):
|
||||
method may be overwritten by derived class.
|
||||
|
||||
"""
|
||||
return ['/created_at', '/id', '/links', '/updated_at', '/uuid']
|
||||
return ['/created_at', '/id', '/links', '/updated_at',
|
||||
'/uuid', '/project_id', '/user_id']
|
||||
|
||||
@staticmethod
|
||||
def mandatory_attrs():
|
||||
|
Loading…
x
Reference in New Issue
Block a user