Skip to content
This repository has been archived by the owner on Oct 24, 2023. It is now read-only.

revert: JoinControllers system.conf override #410

Merged
merged 1 commit into from
Feb 1, 2019

Conversation

jackfrancis
Copy link
Member

@jackfrancis jackfrancis commented Jan 31, 2019

Reason for Change:

From systemd 240 release:

The JoinControllers= option in system.conf is no longer supported, as
it didn't work correctly, is hard to support properly, is legacy (as
the concept only exists on cgroupsv1) and apparently wasn't used.
Issue Fixed:

Reverts Azure/acs-engine#3915

Requirements:

Notes:

@acs-bot acs-bot added the size/S label Jan 31, 2019
@acs-bot
Copy link

acs-bot commented Jan 31, 2019

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: jackfrancis

The full list of commands accepted by this bot can be found here.

The pull request process is described here

Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@codecov
Copy link

codecov bot commented Jan 31, 2019

Codecov Report

Merging #410 into master will decrease coverage by 0.01%.
The diff coverage is n/a.

@@            Coverage Diff             @@
##           master     #410      +/-   ##
==========================================
- Coverage   53.42%   53.41%   -0.02%     
==========================================
  Files          95       95              
  Lines       14361    14360       -1     
==========================================
- Hits         7673     7670       -3     
- Misses       6025     6027       +2     
  Partials      663      663

@CecileRobertMichon
Copy link
Contributor

can you add the reference to the PR this is reverting?

@jackfrancis jackfrancis changed the title fix: revert JoinControllers system.conf override revert: JoinControllers system.conf override Feb 1, 2019
Copy link
Contributor

@CecileRobertMichon CecileRobertMichon left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

code revert lgtm

I don't have context on why the override was added/why it needs to be reverted though...

@CecileRobertMichon
Copy link
Contributor

your commit message still says fix, you'll want to change it to revert: before merging

@jackfrancis jackfrancis merged commit 4f149e2 into Azure:master Feb 1, 2019
@jackfrancis jackfrancis deleted the revert-joincontrollers branch February 1, 2019 20:02
tariq1890 pushed a commit to tariq1890/aks-engine that referenced this pull request Feb 5, 2019
tariq1890 pushed a commit to tariq1890/aks-engine that referenced this pull request Feb 5, 2019
@jackfrancis
Copy link
Member Author

@victornoel
Copy link

@jackfrancis is this already running on AKS? I have nodes I created around March 15 and the JoinControllers option is still enabled.

This is problematic for me because of this bug in the JVM: https://bugs.openjdk.java.net/browse/JDK-8217766

Basically the JVM can't exploit the cgroup with JoinControllers enabled, so all JVM based container running on AKS are using a huge amount of memory compared to the actual limits specified for the kubernetes pod.

@jackfrancis
Copy link
Member Author

@victornoel I believe this reversion has not yet landed in AKS. Quickest way to validate would be to build a tiny cluster and do a quick sanity check.

@victornoel
Copy link

@jackfrancis maybe not the best place to ask, but is there an official place where I can see what version of aks-engine is deployed in AKS and/or information on when it happens?

@CecileRobertMichon
Copy link
Contributor

@victornoel each VM the AKS MC_ resource group should have an AKS Engine Version tag that let's you know what version of aks-engine was used to deploy it.

@victornoel
Copy link

@CecileRobertMichon indeed, I can see which version is deployed (it is 0.33.2 and 0.33.4 depending on the node). The only way to know which version is going to be deployed for new nodes is to create one?

@CecileRobertMichon
Copy link
Contributor

@victornoel I'd say that's the most reliable way. There's also notes about aks-engine minor version updates in AKS release notes but it doesn't look like there is patch information there.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants