| Summary: | Web cartridge's min gears can grow greater than max gears after enabling HA | ||
|---|---|---|---|
| Product: | OpenShift Online | Reporter: | Jianwei Hou <jhou> |
| Component: | Pod | Assignee: | Abhishek Gupta <abhgupta> |
| Status: | CLOSED CURRENTRELEASE | QA Contact: | libra bugs <libra-bugs> |
| Severity: | medium | Docs Contact: | |
| Priority: | medium | ||
| Version: | 2.x | CC: | rchopra |
| Target Milestone: | --- | ||
| Target Release: | --- | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | Bug Fix | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2013-09-19 16:50:46 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
Jianwei Hou
2013-09-11 02:39:30 UTC
Verified on devenv_3776 1. Enable HA in OpenShift config, and grant user with ha capability 2. Create a scalable php application, set min/max gears to 1 rhc create-app php1s php-5.3 -s rhc cartridge-scale php-5.3 -a php1s --min 1 --max 1 3. Enable HA curl -s -k -H 'Content-Type: Application/json' --user openshift+migration1:XXX https://ec2-54-243-9-104.compute-1.amazonaws.com/broker/rest/domains/jhou/applications/php1s/events -X POST -d '{"event":"make-ha"}' Result: { "api_version": 1.6, "data": null, "messages": [ { "exit_code": null, "field": null, "severity": "error", "text": "Cannot make the application HA because the web cartridge's max gear limit is '1'" } ], "status": "unprocessable_entity", "supported_api_versions": [ 1.0, 1.1, 1.2, 1.3, 1.4, 1.5, 1.6 ], "type": null, "version": "1.6" } |