Description of problem: When creating scaled app, the gear size specified with -g option is not respected Version-Release number of selected component (if applicable): How reproducible: When creating scaled app, the gear size specified with -g option is not respected Steps to Reproduce: 1. Create a app with -g medium and -s flags Actual results: App is created on a "std" gear Expected results: 2. App is created on a "lg" gear Additional info:
https://github.com/openshift/os-client-tools/pull/13
Checked on the latest devenv_1752 with the latest client rhc-0.92.3, it still not works, but it still does not work. <name>scalephp</name> <app-url>http://scalephp-domx015.dev.rhcloud.com/</app-url> <git-url>ssh://e16cab56db7740d4968a06545eb211b2.rhcloud.com/~/git/scalephp.git/</git-url> <gear-profile>small</gear-profile> <domain-id>domx015</domain-id> <scalable>true</scalable> In the end, found the latest client has not included your change, will wait for the next version.
Verified this on devenv_1757 with rhc-0.92.5-1.el6_2.noarch, it created scaling app with -g medium successfully and gear profile is medium as well. #rhc app create --app scalephp1 --type php-5.3 -g medium --scaling -p 123456 Creating application: scalephp1 in domx017 Now your new domain name is being propagated worldwide (this might take a minute)... Warning: Permanently added 'scalephp1-domx017.dev.rhcloud.com,23.21.38.176' (RSA) to the list of known hosts. Confirming application 'scalephp1' is available: Success! scalephp1 published: http://scalephp1-domx017.dev.rhcloud.com/ git url: ssh://42407dfc7eb348689c759cb0eb4d9c51.rhcloud.com/~/git/scalephp1.git/ Successfully created application: scalephp1 <?xml version="1.0" encoding="UTF-8"?> <response> <supported-api-versions> <supported-api-version>1.0</supported-api-version> </supported-api-versions> <status>ok</status> <data> <application> <framework>php-5.3</framework> <git-url>ssh://42407dfc7eb348689c759cb0eb4d9c51.rhcloud.com/~/git/scalephp1.git/</git-url> <uuid>42407dfc7eb348689c759cb0eb4d9c51</uuid> <app-url>http://scalephp1-domx017.dev.rhcloud.com/</app-url> <aliases/> <gear-profile>medium</gear-profile> <health-check-path>health_check.php</health-check-path> <name>scalephp1</name> <embedded> <haproxy-1.4> <info></info> </haproxy-1.4> </embedded> <creation-time>2012-05-07T02:04:31-04:00</creation-time>