Bug 1107801
| Summary: | rhcsh quota check prints error messages on login if quotas are disabled | ||
|---|---|---|---|
| Product: | OpenShift Container Platform | Reporter: | Miheer Salunke <misalunk> |
| Component: | Containers | Assignee: | Miheer Salunke <misalunk> |
| Status: | CLOSED ERRATA | QA Contact: | libra bugs <libra-bugs> |
| Severity: | low | Docs Contact: | |
| Priority: | high | ||
| Version: | 2.1.0 | CC: | bleanhar, chunchen, jokerman, libra-onpremise-devel, mmasters, mmccomas, pruan, yadu, yanpzhan |
| Target Milestone: | --- | Keywords: | Reopened |
| Target Release: | --- | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | Bug Fix | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | 1092722 | Environment: | |
| Last Closed: | 2014-06-18 20:00:24 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: | 1092722 | ||
| Bug Blocks: | |||
|
Description
Miheer Salunke
2014-06-10 16:26:12 UTC
Quality Engineering Management has reviewed and declined this request. You may appeal this decision by reopening this request. Comment #2 is in error. This bug was accidentally declined by QE. We'll have that fixed in a minute. I'v confirm the patch is not merged, and the bug still could be reproduced on 2.1.z/2014-06-11.1, just re-assign back.
Additional info:
# rhc ssh php2
Type "help" for more info.
awk: END { exit ( !( > 90.0)); }
awk: ^ syntax error
awk: END { exit ( !( > 90.0)); }
awk: ^ syntax error
awk: END { exit ( !( > 90.0)); }
awk: ^ syntax error
awk: END { exit ( !( > 90.0)); }
awk: ^ syntax error
awk: END { exit ( !( > 90.0)); }
awk: ^ syntax error
awk: END { exit ( !( > 90.0)); }
awk: ^ syntax error
My apologies, looking now the latest Node package was not in yesterday's build. I'm fixing that now. Verified on 2.1.z/2014-06-12.2
Steps to verify:
1. Create an app
# rhc app create apptest php-5.4
2. Disable quotas on the node
#quotaoff /
3. rhc ssh app
# rhc ssh apptest
4.Chenk node
# oo-accept-node -v
5.Enable quotas on the node,ssh app and check node.
#quotaon /
# rhc ssh apptest
# oo-accept-node -v
Actual results:
All display normally:
3.# rhc ssh apptest
Connecting to 539a5323db26c8b7e9000009.com.cn ...
*********************************************************************
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.
[apptest-dom13.ose21z-manual.com.cn 539a5323db26c8b7e9000009]\> quota
[apptest-dom13.ose21z-manual.com.cn 539a5323db26c8b7e9000009]\> echo $?
0
4.# oo-accept-node -v
INFO: using default accept-node extensions
INFO: loading node configuration file /etc/openshift/node.conf
INFO: loading resource limit file /etc/openshift/resource_limits.conf
INFO: finding external network device
INFO: checking node public hostname resolution
INFO: checking selinux status
INFO: checking selinux openshift-origin policy
INFO: checking selinux booleans
INFO: checking package list
INFO: checking services
INFO: checking kernel semaphores >= 512
INFO: checking cgroups configuration
INFO: checking cgroups processes
INFO: find district uuid: 539a51cadb26c814e3000001
INFO: determining node uid range: 1000 to 6999
INFO: traffic control not enabled in /etc/openshift/node.conf, set TRAFFIC_CONTROL_ENABLED=true to enable
INFO: checking filesystem quotas
FAIL: quotas are not enabled on / (/dev/mapper/VolGroup-lv_root)
INFO: checking quota db file selinux label
INFO: checking 1 user accounts
INFO: checking application dirs
INFO: checking system httpd configs
INFO: checking cartridge repository
1 ERRORS
5.Ssh app well,and check no error:
# oo-accept-node -v
INFO: using default accept-node extensions
INFO: loading node configuration file /etc/openshift/node.conf
INFO: loading resource limit file /etc/openshift/resource_limits.conf
INFO: finding external network device
INFO: checking node public hostname resolution
INFO: checking selinux status
INFO: checking selinux openshift-origin policy
INFO: checking selinux booleans
INFO: checking package list
INFO: checking services
INFO: checking kernel semaphores >= 512
INFO: checking cgroups configuration
INFO: checking cgroups processes
INFO: find district uuid: 539a51cadb26c814e3000001
INFO: determining node uid range: 1000 to 6999
INFO: traffic control not enabled in /etc/openshift/node.conf, set TRAFFIC_CONTROL_ENABLED=true to enable
INFO: checking filesystem quotas
INFO: checking quota db file selinux label
INFO: checking 1 user accounts
INFO: checking application dirs
INFO: checking system httpd configs
INFO: checking cartridge repository
PASS
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/RHSA-2014-0764.html |