Bug 1108575
Summary: | rhc cartridge storage --remove not working on haproxy gear | ||
---|---|---|---|
Product: | OpenShift Container Platform | Reporter: | Ma xiaoqiang <xiama> |
Component: | Node | Assignee: | Brenton Leanhardt <bleanhar> |
Status: | CLOSED ERRATA | QA Contact: | libra bugs <libra-bugs> |
Severity: | high | Docs Contact: | |
Priority: | high | ||
Version: | 2.1.0 | CC: | abhgupta, adellape, akostadi, bleanhar, bperkins, jokerman, libra-bugs, libra-onpremise-devel, lnader, mmccomas, xiama, xtian |
Target Milestone: | --- | Keywords: | Upstream |
Target Release: | --- | ||
Hardware: | Unspecified | ||
OS: | Unspecified | ||
Whiteboard: | |||
Fixed In Version: | openshift-origin-broker-util-1.23.8.9-1.el6op, rubygem-openshift-origin-controller-1.23.10.8-1.el6op | Doc Type: | Bug Fix |
Doc Text: |
Previously, when users removed additional storage from an application while specifying the HAProxy cartridge, the action completed successfully but the storage removal was not accurately reported. This bug fix updates the broker's controller logic and now storage is accurately reported in this scenario.
|
Story Points: | --- |
Clone Of: | 1067404 | Environment: | |
Last Closed: | 2014-08-26 13:52:22 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: | |||
Bug Depends On: | 1067404 | ||
Bug Blocks: |
Comment 1
Brenton Leanhardt
2014-08-01 13:00:36 UTC
Check on puddle[2.1.5/2014-08-01.1]
1.create a scalable app
#rhc app create phps php-5.4 -s
2.add storage
rhc cartridge storage -c haproxy-1.4 -a phps --add 4gb
3.show the storage
rhc cartridge storage -c haproxy-1.4 -a phps --show
RESULT:
Web Load Balancer
-----------------
Base Gear Storage: 1GB
Additional Gear Storage: 4GB
4. remove storage twice
rhc cartridge storage -c haproxy-1.4 -a phps --remove 1
5.check the storage
#rhc cartridge storage -a phps
RESULT:
Web Load Balancer
-----------------
Base Gear Storage: 1GB
Additional Gear Storage: 2GB
6.login the app and run 'quota -s'
>quota -s
Disk quotas for user 53df203316ae31a3ce000065 (uid 5656):
Filesystem blocks quota limit grace files quota limit grace
/dev/mapper/vg_rhel65-lv_root
1092 0 3072M 237 0 240k
Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA. For information on the advisory, and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. http://rhn.redhat.com/errata/RHBA-2014-1095.html |