Bugzilla will be upgraded to version 5.0. The upgrade date is tentatively scheduled for 2 December 2018, pending final testing and feedback.
Bug 1108575 - rhc cartridge storage --remove not working on haproxy gear
rhc cartridge storage --remove not working on haproxy gear
Status: CLOSED ERRATA
Product: OpenShift Container Platform
Classification: Red Hat
Component: Pod (Show other bugs)
2.1.0
Unspecified Unspecified
high Severity high
: ---
: ---
Assigned To: Brenton Leanhardt
libra bugs
: Upstream
Depends On: 1067404
Blocks:
  Show dependency treegraph
 
Reported: 2014-06-12 05:26 EDT by Ma xiaoqiang
Modified: 2016-07-03 20:44 EDT (History)
12 users (show)

See Also:
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 09:52:22 EDT
Type: Bug
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)


External Trackers
Tracker ID Priority Status Summary Last Updated
Red Hat Product Errata RHBA-2014:1095 normal SHIPPED_LIVE Red Hat OpenShift Enterprise 2.1.5 bug fix and enhancement update 2014-08-26 13:51:34 EDT

  None (edit)
Comment 1 Brenton Leanhardt 2014-08-01 09:00:36 EDT
Upstream commits:

commit 3ce626c4a8c530aa08d05534a799a742a940e21a
Author: Abhishek Gupta <abhgupta@redhat.com>
Date:   Wed May 28 14:48:10 2014 -0700

    Bug 1067404: Handling additional storage correctly at the group level

commit 7102c9c830a4f7da6295ccd11e2e8f53f6993f70
Author: Abhishek Gupta <abhgupta@redhat.com>
Date:   Mon Jun 16 11:59:11 2014 -0700

    Bug 1109646: dup was being called on nil
Comment 4 Ma xiaoqiang 2014-08-04 02:25:53 EDT
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
Comment 6 errata-xmlrpc 2014-08-26 09:52:22 EDT
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

Note You need to log in before you can comment on or make changes to this bug.