Tune openshift node config to pass `oo-accept-node` test

Issue #65 wontfix
Jimmy Chu created an issue

Clear the FAIL message. Refer to the following log.

Production:

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: 54e49c9a9068dca6d1000001
INFO: determining node uid range: 1000 to 6999
INFO: checking presence of tc qdisc
INFO: checking for cgroup filter
INFO: checking presence of tc classes
INFO: checking filesystem quotas
FAIL: quotas are not enabled on / (/dev/xvda)
INFO: checking quota db file selinux label
FAIL: quota db file: selinux type is incorrect: type: file_t

INFO: checking 3 user accounts
INFO: checking application dirs
FAIL: directory 54f876e59068dc2365000019 doesn't have a cartridge directory
FAIL: directory 54f876e59068dc2365000019/.env doesn't have OPENSHIFT_PRIMARY_CARTRIDGE_DIR
INFO: checking system httpd configs
INFO: checking cartridge repository
4 ERRORS

Staging:

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: 54c9b1a4b33f024b1d000001
INFO: determining node uid range: 1000 to 6999
INFO: checking presence of tc qdisc
INFO: checking for cgroup filter
INFO: checking presence of tc classes
INFO: checking filesystem quotas
FAIL: quotas are not enabled on / (/dev/vda1)
INFO: checking quota db file selinux label
INFO: checking 2 user accounts
FAIL: user 54f3c44c57f22f8388000006 does not have quotas imposed. This can be addressed by running: oo-devel-node set-quota --with-container-uuid 
54f3c44c57f22f8388000006 --blocks 1048576 --inodes 80000
FAIL: user 54f8763557f22f838800002e does not have quotas imposed. This can be addressed by running: oo-devel-node set-quota --with-container-uuid 
54f8763557f22f838800002e --blocks 1048576 --inodes 80000
INFO: checking application dirs
INFO: checking system httpd configs
INFO: checking cartridge repository
3 ERRORS

Comments (4)

  1. Log in to comment