Bug 869226
Summary: | Got error when add cartridge to scalable app or scale it up after setting its min gear size to "16". | ||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Product: | OKD | Reporter: | Mengjiao Gao <mgao> | ||||||||
Component: | Master | Assignee: | Rajat Chopra <rchopra> | ||||||||
Status: | CLOSED CURRENTRELEASE | QA Contact: | libra bugs <libra-bugs> | ||||||||
Severity: | low | Docs Contact: | |||||||||
Priority: | medium | ||||||||||
Version: | 2.x | CC: | rchopra, szhou, yujzhang | ||||||||
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: | 2012-11-06 18:49:43 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: | |||||||||||
Attachments: |
|
Description
Mengjiao Gao
2012-10-23 10:27:14 UTC
Created attachment 632018 [details]
error page when add cartridges in step 6.
Created attachment 632019 [details]
The app detail page after step 6.
Fixed with rev#9232307bf7cd12783692552d3aad33ae2c023d84 Yes, we want to have the broker scale up the app automatically, but that is not done yet and will be part of some user story in the future. As of this fix, an appropriate message will guide the user about whats going on with gear additions and limits. Tested this issue on devenv_2403. Firstly, I set a scalable app's min gear size bigger than its available gear number. Then I tried to add cartridge to the app, and I would get error message as this :"You have reached the maximum allowed gears and cannot create another. You must scale down an application or remove an application or cartridge to continue.". And when I tried to scale up it with RESTAPI, I will get message as below: " <messages> <message> <text>rr has a gear limit of 19 and this app requires 3 more gears. Check the 'scales_from' limit of all cartridges of the app?</text> <field nil="true"></field> <severity>error</severity> <exit-code>104</exit-code> </message> </messages> " Since I think this are appropriate messages for user, so I will put this issue to verified. Looking forward your later improvement to scale up the app automatically, thanks! |