Bug 974520

Summary: Attempt to create application fails with Cgroups controller not found for: cpu.cfs_quota_us
Product: OKD Reporter: Jan Pazdziora <jpazdziora>
Component: ContainersAssignee: Krishna Raman <kraman>
Status: CLOSED CURRENTRELEASE QA Contact: libra bugs <libra-bugs>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 2.xCC: bmeng, jpazdziora, mfisher
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:46:36 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 Jan Pazdziora 2013-06-14 10:46:57 UTC
Description of problem:

I've installed OpenShift Origin nightly on Fedora 19 using the puppet method. When I try to create the application, either via rhc or via console WebUI, the application does not get created and the operation fails with error message

   Cgroups controller not found for: cpu.cfs_quota_us
   
Version-Release number of selected component (if applicable):

OpenShift Origin nightly on Fedora 19 as of today.

How reproducible:

Deterministic.

Steps to Reproduce:
1. Install OpenShift Origini nightly on Fedora 19.
2. Run rhc setup.
3. Run rhc create-app -n test -a perlx -t perl-5.16

Actual results:

Application Options
-------------------
  Namespace:  test
  Cartridges: perl-5.16
  Gear Size:  default
  Scaling:    no

Creating application 'perlx' ... Cgroups controller not found for: cpu.cfs_quota_us

Expected results:

No error.

Additional info:

Comment 1 Hiro Asari 2013-06-14 16:37:40 UTC
Assigning to Krishna, since it seems Fedora-specific.

Comment 2 Krishna Raman 2013-12-09 20:45:55 UTC
Tracked this down to a Kernel issue which has been fixed in Fedora.

Comment 3 Meng Bo 2013-12-11 06:09:38 UTC
Perl app can be created successfully on Fedora 19 Origin build. (https://mirror.openshift.com/pub/origin-server/nightly/fedora-19/latest/x86_64/)

Package:
openshift-origin-cartridge-perl-1.17.0-1.git.60.dec301c.fc19.noarch

# rhc app create perl2 perl-5 --no-git
Using perl-5.16 (Perl 5.16) for 'perl-5'

Application Options
-------------------
Domain:     bmeng
Cartridges: perl-5.16
Gear Size:  default
Scaling:    no

Creating application 'perl2' ... done


Waiting for your DNS name to be available ... done

Your application 'perl2' is now available.

  URL:        http://perl2-bmeng.example.com/
  SSH to:     52a801076892df0014000084.com
  Git remote: ssh://52a801076892df0014000084.com/~/git/perl2.git/

Run 'rhc show-app perl2' for more details about your app.

Comment 4 Jan Pazdziora 2013-12-11 06:38:35 UTC
(In reply to Meng Bo from comment #3)
> Perl app can be created successfully on Fedora 19 Origin build.
> (https://mirror.openshift.com/pub/origin-server/nightly/fedora-19/latest/
> x86_64/)

How did you install the build?

Comment 5 Meng Bo 2013-12-11 07:03:54 UTC
Hi Jan,

I installed the origin on Fedora 19 by following the guide here.
http://openshift.github.io/documentation/oo_deployment_guide_puppet.html

Comment 6 Jan Pazdziora 2013-12-19 06:11:47 UTC
Thanks. I confirm that on Fedora 19 where I don't hit bug 984575, the cpu.cfs_quota_us bug is no longer present.