Red Hat Bugzilla – Bug 1021380
There is no exit code when adding login to domain meets max member limit
Last modified: 2015-05-14 20:55:58 EDT
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.
<text>The members could not be added due to validation errors.</text>
Version-Release number of selected component (if applicable):
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
No exit code for the operation.
Should have exit code.
Commit pushed to master at https://github.com/openshift/li
exit code should be 222 and the message should be more detailed now.
Commit pushed to master at https://github.com/openshift/origin-server
<text>You are limited to 2 members per domain</text>
Issue has been fixed on devenv_4022.