| Summary: | cannot estimate correct gear consumption for scalable app | ||
|---|---|---|---|
| Product: | OKD | Reporter: | Meng Bo <bmeng> |
| Component: | Pod | Assignee: | Ravi Sankar <rpenta> |
| Status: | CLOSED CURRENTRELEASE | QA Contact: | libra bugs <libra-bugs> |
| Severity: | low | Docs Contact: | |
| Priority: | low | ||
| Version: | 1.x | CC: | qgong, rmillner, rpenta |
| Target Milestone: | --- | Keywords: | Regression, Triaged |
| Target Release: | --- | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | Bug Fix | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2012-07-13 23:43:32 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: | |
|
Description
Meng Bo
2012-04-16 09:32:50 UTC
'Scalable' param is NOT part of the application descriptor. Current code ONLY estimates non-scalable apps and eventually we want to make this work for scalable apps as well. Note: Unknown params to application descriptor will be ignored. In this case, 'Scalable' param will be ignored. Cleanup is done in git rev c5abbc5b853. Verified on devenv_1874 non-scalable: [root@localhost qnodejs]# curl -k -X GET -H 'Accept: application/xml' --user qgong:xx -d descriptor="Name: q1ruby19dd\nRequires: \n- ruby-1.9\n \n- mysql-5.1\n" https://ec2-107-21-180-244.compute-1.amazonaws.com/broker/rest/estimates/application <?xml version="1.0" encoding="UTF-8"?> <response> <supported-api-versions> <supported-api-version>1.0</supported-api-version> </supported-api-versions> <data> <gear> <components> <component> <Name>ruby-1.9</Name> </component> <component> <Name>mysql-5.1</Name> </component> </components> </gear> </data> <messages/> <status>ok</status> <type>application_estimates</type> <version>1.0</version> </response> scalable: [root@localhost qnodejs]# curl -k -X GET -H 'Accept: application/xml' --user qgong:xx -d descriptor="Name: qs1ruby19\nRequires: \n- ruby-1.9\n \n- mysql-5.1\nScalable: true\n" https://ec2-107-21-180-244.compute-1.amazonaws.com/broker/rest/estimates/application <?xml version="1.0" encoding="UTF-8"?> <response> <supported-api-versions> <supported-api-version>1.0</supported-api-version> </supported-api-versions> <data> <gear> <components> <component> <Name>mysql-5.1</Name> </component> </components> </gear> <gear> <components> <component> <Name>ruby-1.9</Name> </component> </components> </gear> </data> <messages/> <status>ok</status> <type>application_estimates</type> <version>1.0</version> </response> |