Bug 811500
Summary: | Massive error massage when create a scalable app while reaching gear limit via REST-API. | ||
---|---|---|---|
Product: | OKD | Reporter: | yquan <yquan> |
Component: | Pod | Assignee: | Abhishek Gupta <abhgupta> |
Status: | CLOSED CURRENTRELEASE | QA Contact: | libra bugs <libra-bugs> |
Severity: | low | Docs Contact: | |
Priority: | low | ||
Version: | 2.x | CC: | abhgupta, mpatel |
Target Milestone: | --- | Keywords: | Triaged |
Target Release: | --- | ||
Hardware: | Unspecified | ||
OS: | Unspecified | ||
Whiteboard: | |||
Fixed In Version: | devenv_1814 | Doc Type: | Bug Fix |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2012-06-08 17:59:26 UTC | Type: | Bug |
Regression: | --- | Mount Type: | --- |
Documentation: | --- | CRM: | |
Verified Versions: | Category: | --- | |
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
Cloudforms Team: | --- | Target Upstream Version: | |
Embargoed: |
Description
yquan
2012-04-11 09:31:57 UTC
Seems like this issue has already been fixed. [root@ip-10-72-79-0 ~]# curl -k -u 'agupta:p' -d 'scale=true' -d 'name=app3' -d 'cartridge=php-5.3' https://localhost/broker/rest/domains/agupta110/applications {"data":null,"version":"1.0","messages":[{"text":"Failed to create application app3 due to:Failed: Either application limit has already reached or domain doesn't exist for 'agupta'","field":null,"severity":"error","exit_code":null}],"supported_api_versions":["1.0"],"type":null,"status":"internal_server_error"} [root@ip-10-72-79-0 ~]# curl -k -u 'agupta:p' -d 'scale=true' -d 'name=app3' -d 'cartridge=php-5.3' https://localhost/broker/rest/domains/agupta110/applications.xml <?xml version="1.0" encoding="UTF-8"?> <response> <data> <datum nil="true"></datum> </data> <version>1.0</version> <messages> <message> <text>Failed to create application app3 due to:Failed: Either application limit has already reached or domain doesn't exist for 'agupta'</text> <field nil="true"></field> <severity>error</severity> <exit-code nil="true"></exit-code> </message> </messages> <supported-api-versions> <supported-api-version>1.0</supported-api-version> </supported-api-versions> <status>internal_server_error</status> <type nil="true"></type> </response> It is fixed on devenv_1815. Output: [root@localhost ~]# curl -k -H "Accept: application/xml" --user "yquan:asdfasdf1" https://ec2-23-22-159-8.compute-1.amazonaws.com/broker/rest/domains/domaintest0005/applications/ -X POST -d name=app3 -d scale=true -d cartridge=php-5.3 <?xml version="1.0" encoding="UTF-8"?> <response> <data> <datum nil="true"></datum> </data> <supported-api-versions> <supported-api-version>1.0</supported-api-version> </supported-api-versions> <version>1.0</version> <messages> <message> <exit-code nil="true"></exit-code> <field nil="true"></field> <text>Failed to create application app3 due to:Failed: Either application limit has already reached or domain doesn't exist for 'yquan'</text> <severity>error</severity> </message> </messages> <status>internal_server_error</status> <type nil="true"></type> </response> |