Description of problem: Modify the max_members_per_resource to 3 in development.rb file and restart broker service. Try to add more than 3 members to the domain via RESTAPI. It will return proper message but do not have exit code. <messages> <message> <severity>error</severity> <text>The members could not be added due to validation errors.</text> <exit-code nil="true"></exit-code> <field nil="true"></field> <index nil="true"></index> </message> </messages> Version-Release number of selected component (if applicable): devenv_3921 How reproducible: always Steps to Reproduce: 1. Set the max_members_per_resource 2. Restart broker and clear broker cache 3. Try to add member to the domain more than the limit Actual results: No exit code for the operation. Expected results: Should have exit code. Additional info:
Commit pushed to master at https://github.com/openshift/li https://github.com/openshift/li/commit/a2be0d473bb6b49db26fc0ce4a110e58aa47562c Bug 1021380
exit code should be 222 and the message should be more detailed now. https://github.com/openshift/origin-server/pull/4166
Commit pushed to master at https://github.com/openshift/origin-server https://github.com/openshift/origin-server/commit/81945e390bf9d2a8a959e3e67b75810633c43e50 Bug 1021380
<messages> <message> <severity>error</severity> <text>You are limited to 2 members per domain</text> <exit-code>222</exit-code> <field>members</field> <index nil="true"></index> </message> </messages> Issue has been fixed on devenv_4022.