Bug 1055647
Summary: | rhcsh quota check incorrect | ||
---|---|---|---|
Product: | OpenShift Online | Reporter: | Jhon Honce <jhonce> |
Component: | Containers | Assignee: | Jhon Honce <jhonce> |
Status: | CLOSED CURRENTRELEASE | QA Contact: | libra bugs <libra-bugs> |
Severity: | medium | Docs Contact: | |
Priority: | medium | ||
Version: | 2.x | CC: | bmeng, chunchen |
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: | 2014-01-30 00:56:39 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: |
Description
Jhon Honce
2014-01-20 16:55:53 UTC
Commit pushed to master at https://github.com/openshift/origin-server https://github.com/openshift/origin-server/commit/e0876024e55b7439af201682b50e2f426bd3d2b6 Bug 1055647 - rhcsh quota check incorrect It's fixed, verified on devenv_4247, please refer to the following results: 1. Create gear $ rhc app create cews20 jbossews-2.0 --no-git 2. ssh into gear $ rhc ssh cews20 Connecting to 52dde1bbe8baadd155000007.rhcloud.com ... ********************************************************************* You are accessing a service that is for use only by authorized users. If you do not have authorization, discontinue use at once. Any use of the services is subject to the applicable terms of the agreement which can be found at: https://www.openshift.com/legal ********************************************************************* Welcome to OpenShift shell This shell will assist you in managing OpenShift applications. !!! IMPORTANT !!! IMPORTANT !!! IMPORTANT !!! Shell access is quite powerful and it is possible for you to accidentally damage your application. Proceed with care! If worse comes to worst, destroy your application with "rhc app delete" and recreate it !!! IMPORTANT !!! IMPORTANT !!! IMPORTANT !!! Type "help" for more info. [cews20-cdm.dev.rhcloud.com 52dde1bbe8baadd155000007]\> Please refer to more situations testing results: 1. Make quota is between 9% and 90% 1) Create an app $ rhc app create cews20 jbossews-2.0 --no-git 2) SSH into app and write some data to make quota between 9% and 90% rhc ssh cews20; cd app-root/data; dd if=/dev/zero of=300M.txt bs=1M count=300 3) SSH into app again and found there are not the messages $ rhc ssh cews20 Connecting to 52dde1bbe8baadd155000007.rhcloud.com ... ********************************************************************* You are accessing a service that is for use only by authorized users. If you do not have authorization, discontinue use at once. Any use of the services is subject to the applicable terms of the agreement which can be found at: https://www.openshift.com/legal ********************************************************************* Welcome to OpenShift shell This shell will assist you in managing OpenShift applications. !!! IMPORTANT !!! IMPORTANT !!! IMPORTANT !!! Shell access is quite powerful and it is possible for you to accidentally damage your application. Proceed with care! If worse comes to worst, destroy your application with "rhc app delete" and recreate it !!! IMPORTANT !!! IMPORTANT !!! IMPORTANT !!! Type "help" for more info. [cews20-cdm.dev.rhcloud.com 52dde1bbe8baadd155000007]\> 2. Make quota exceeds 90.0% 1) Create an app $ rhc app create cews20 jbossews-2.0 --no-git 2) SSH into app and write some data to make quota exceeds 90.0% rhc ssh cews20; cd app-root/data; dd if=/dev/zero of=1000M.txt bs=1M count=1000 3) SSH into app again and found there show the messages $ rhc ssh cews20 Connecting to 52dde1bbe8baadd155000007.rhcloud.com ... ********************************************************************* You are accessing a service that is for use only by authorized users. If you do not have authorization, discontinue use at once. Any use of the services is subject to the applicable terms of the agreement which can be found at: https://www.openshift.com/legal ********************************************************************* Welcome to OpenShift shell This shell will assist you in managing OpenShift applications. !!! IMPORTANT !!! IMPORTANT !!! IMPORTANT !!! Shell access is quite powerful and it is possible for you to accidentally damage your application. Proceed with care! If worse comes to worst, destroy your application with "rhc app delete" and recreate it !!! IMPORTANT !!! IMPORTANT !!! IMPORTANT !!! Type "help" for more info. Warning: Gear 52dde1bbe8baadd155000007 is using 97.9% of disk quota [cews20-cdm.dev.rhcloud.com 52dde1bbe8baadd155000007]\> 3. Make quota is 9.x% 1) Create an app $ rhc app create cews20 jbossews-2.0 --no-git 2) SSH into app and write some data to make quota is 9.x% rhc ssh cews20; cd app-root/data; dd if=/dev/zero of=93M.txt bs=1M count=93 3) SSH into app again and found there are not the messages $ rhc ssh cews20 Connecting to 52dde1bbe8baadd155000007.rhcloud.com ... ********************************************************************* You are accessing a service that is for use only by authorized users. If you do not have authorization, discontinue use at once. Any use of the services is subject to the applicable terms of the agreement which can be found at: https://www.openshift.com/legal ********************************************************************* Welcome to OpenShift shell This shell will assist you in managing OpenShift applications. !!! IMPORTANT !!! IMPORTANT !!! IMPORTANT !!! Shell access is quite powerful and it is possible for you to accidentally damage your application. Proceed with care! If worse comes to worst, destroy your application with "rhc app delete" and recreate it !!! IMPORTANT !!! IMPORTANT !!! IMPORTANT !!! Type "help" for more info. [cews20-cdm.dev.rhcloud.com 52dde1bbe8baadd155000007]\> |