Files
doc-exports/docs/cce/umn/cce_10_0447.html
Dong, Qiu Jian 6157284549 CCE UMN update -20240401 version
Reviewed-by: Eotvos, Oliver <oliver.eotvos@t-systems.com>
Co-authored-by: Dong, Qiu Jian <qiujiandong1@huawei.com>
Co-committed-by: Dong, Qiu Jian <qiujiandong1@huawei.com>
2024-04-15 14:42:22 +00:00

20 lines
2.5 KiB
HTML

<a name="cce_10_0447"></a><a name="cce_10_0447"></a>
<h1 class="topictitle1">Node Key Directory File Permissions</h1>
<div id="body0000001442493109"><div class="section" id="cce_10_0447__section1249107165514"><h4 class="sectiontitle">Check Items</h4><p id="cce_10_0447__p263771514555">Check whether the owner and owner group of the files in the <strong id="cce_10_0447__b152051369475">/var/paas</strong> directory used by the CCE are both <strong id="cce_10_0447__b13612184234716">paas</strong>.</p>
</div>
<div class="section" id="cce_10_0447__section77761310175513"><h4 class="sectiontitle">Solution</h4><ul id="cce_10_0447__ul797419268411"><li id="cce_10_0447__li5975152618413"><strong id="cce_10_0447__b16461138153720">Scenario 1: The error message "xx file permission has been changed!" is displayed.</strong><p id="cce_10_0447__p661762815511">Solution: Enable CCE to use the <strong id="cce_10_0447__b412665913245">/var/paas</strong> directory to manage nodes and store file data whose owner and owner group are both <strong id="cce_10_0447__b99325714392">paas</strong>.</p>
<p id="cce_10_0447__p5585618164912">During the current cluster upgrade, the owner and owner group of the files in the <strong id="cce_10_0447__b17971136182520">/var/paas</strong> directory are reset to paas.</p>
<p id="cce_10_0447__p3371623174817">Check whether file data in the current service pod is stored in the <strong id="cce_10_0447__b1771144919254">/var/paas</strong> directory. If yes, do not use this directory, remove abnormal files from this directory, and check again. After the check is passed, proceed with the upgrade.</p>
<pre class="screen" id="cce_10_0447__screen19805011313">find /var/paas -not \( -user paas -o -user root \) -print</pre>
</li><li id="cce_10_0447__li11343432104116"><strong id="cce_10_0447__b465454915386">Scenario 2: The error message "user paas must have at least read and execute permissions on the root directory" is displayed.</strong><p id="cce_10_0447__p192514524410">Solution: Change the permission on the root directory to the default permission 555. If the permission on the root directory of the node is modified, user <strong id="cce_10_0447__b199210499399">paas</strong> does not have the read permission on the root directory. As a result, restarting the component failed during the upgrade.</p>
</li></ul>
</div>
</div>
<div>
<div class="familylinks">
<div class="parentlink"><strong>Parent topic:</strong> <a href="cce_10_0550.html">Troubleshooting for Pre-upgrade Check Exceptions</a></div>
</div>
</div>