OpenShift でギアの memory.limit_in_bytes の値を変更するとエラーが発生する
Issue
OpenShift Enterprise のノードで resource_limits.conf を変更しています。
以下は、変更しているリソースとなります。
memory_limit_in_bytes=12884901888
memory_memsw_limit_in_bytes=13153337344
設定している境界は連携するノードホストの容量内です。ただし、以下のコマンドを実行すると、
service ruby193-mcollective restart; oo-cgroup-enable --with-all-containers; oo-pam-enable --with-all-containers; oo-admin-ctl-tc restart
cgroup は失敗し、以下のエラーを表示します。
CGroups parameter cannot be set to value: memory.limit_in_bytes = 12884901888
他のコマンドはすべて成功しました。
その後のギアは正しい (新しい) リソースプロファイルで作成されます。古いリソースプロファイルでハングアップするのはレガシーギアだけです。また、ギアで保留されている操作はありませんが、ディストリクトのあるノードから別のノードに移動させることができます。
これは既知の問題ですか? 回避策はありますか? この手順に足りない点はありませんか?
Environment
- OpenShift Enterprise 2.0
- OpenShift Enterprise 2.1
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.
Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.
