Bug 1049779 - [origin_node_319]Failed to show warning messages when git touchpoints reach 90%+ for scaled-up gear
Summary: [origin_node_319]Failed to show warning messages when git touchpoints reach 9...
Keywords:
Status: CLOSED NOTABUG
Alias: None
Product: OpenShift Online
Classification: Red Hat
Component: Containers
Version: 2.x
Hardware: Unspecified
OS: Unspecified
medium
medium
Target Milestone: ---
: ---
Assignee: Jhon Honce
QA Contact: libra bugs
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2014-01-08 08:06 UTC by chunchen
Modified: 2016-09-30 02:15 UTC (History)
1 user (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2014-01-08 15:14:13 UTC
Target Upstream Version:


Attachments (Terms of Use)

Description chunchen 2014-01-08 08:06:33 UTC
Description of problem:
It's failed to show warning messages when git touchpoints reach 90%+ for scaled-up gear, the messages only can be shown for head gear.

Version-Release number of selected component (if applicable):
devenv_4195

How reproducible:
always

Steps to Reproduce:
1. Create a scaled app
rhc app create cpy27s  python-2.7 -s

2. Scale up this app
rhc cartridge scale python-2.7 -a cpy27s --min 2

3. Write some data to head gear and scaled-up gear to make disk quota and inodes reach 90%+
ssh <head_gear_SSH_URL>
ssh <scaled-up_gear_SSH_URL>
After ssh into the gears, do as below:
cd ~/app-root/data
dd if=/dev/zero of=950M.txt bs=1M count=950; ### if quota limitation is 1024MB
for i in `seq 1 75000`; do touch ccy$i.t; done   ### if inodes limitation is 80000

4. Make some changes in local repo
cd cpy27s;
git add . && git commit -amp && git push

Actual results:
<-------snip------->
remote: Script /var/lib/openshift/52ccc1123500c0cf8c000099/python//virtenv/bin/activate.fish cannot be made relative (it's not a normal script that starts with #!/var/lib/openshift/52ccc1123500c0cf8c000099/python/virtenv/bin/python)
remote: Starting PYTHON cart
remote: Warning: Gear 52ccc1123500c0cf8c000099 is using 93.9% of disk quota
remote: Warning: Gear 52ccc1123500c0cf8c000099 is using 95.1% of inodes allowed
remote: Result: success
remote: Distribution status: success
remote: Activation status: success
remote: Deployment completed with status: success
<-------snip------->


Expected results:
Should show warning messages when git touchpoints reach 90%+ for scaled-up gear successfully.

Additional info:

Comment 1 Jhon Honce 2014-01-08 15:14:13 UTC
During the git push process, the head gear cannot verify the quota on other gears.


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