<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Collecting Information on Huawei</title><link>https://huawei.github.io/css-docs/en/v4.11.0/common-o-m-operations/collecting-information/</link><description>Recent content in Collecting Information on Huawei</description><generator>Hugo</generator><language>en</language><copyright>Copyright © 2025 Huawei Technologies Co., Ltd. All rights reserved.</copyright><atom:link href="https://huawei.github.io/css-docs/en/v4.11.0/common-o-m-operations/collecting-information/index.xml" rel="self" type="application/rss+xml"/><item><title>Obtaining the CSI Version</title><link>https://huawei.github.io/css-docs/en/v4.11.0/common-o-m-operations/collecting-information/obtaining-the-csi-version/</link><pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate><guid>https://huawei.github.io/css-docs/en/v4.11.0/common-o-m-operations/collecting-information/obtaining-the-csi-version/</guid><description>&lt;p>This section describes how to view the CSI version.&lt;/p>
&lt;h2 id="section1883055741114">Procedure&lt;/h2>
&lt;ol>
&lt;li>
&lt;p>Use a remote access tool, such as PuTTY, to log in to any master node in the Kubernetes cluster through the management IP address.&lt;/p>
&lt;/li>
&lt;li>
&lt;p>Run the following command to query information about the node where huawei-csi-node resides.&lt;/p>
&lt;div class="highlight">&lt;pre tabindex="0" style="color:#4c4f69;background-color:#eff1f5;-moz-tab-size:4;-o-tab-size:4;tab-size:4;">&lt;code class="language-fallback" data-lang="fallback">&lt;span style="display:flex;">&lt;span>kubectl get pod -A -owide | grep huawei-csi-node
&lt;/span>&lt;/span>&lt;/code>&lt;/pre>&lt;/div>&lt;p>The following is an example of the command output.&lt;/p>
&lt;div class="highlight">&lt;pre tabindex="0" style="color:#4c4f69;background-color:#eff1f5;-moz-tab-size:4;-o-tab-size:4;tab-size:4;">&lt;code class="language-fallback" data-lang="fallback">&lt;span style="display:flex;">&lt;span>NAMESPACE NAME READY STATUS RESTARTS AGE IP NODE NOMINATED NODE READINESS GATES
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>huawei-csi huawei-csi-node-87mss 3/3 Running 0 6m41s 192.168.129.155 node-1 &amp;lt;none&amp;gt; &amp;lt;none&amp;gt;
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>huawei-csi huawei-csi-node-xp8cc 3/3 Running 0 6m41s 192.168.129.156 node-2 &amp;lt;none&amp;gt; &amp;lt;none
&lt;/span>&lt;/span>&lt;/code>&lt;/pre>&lt;/div>&lt;/li>
&lt;li>
&lt;p>Use a remote access tool, such as PuTTY, to log in to any node where huawei-csi-node resides through the node IP address.&lt;/p></description></item><item><title>Viewing Huawei CSI Logs</title><link>https://huawei.github.io/css-docs/en/v4.11.0/common-o-m-operations/collecting-information/viewing-huawei-csi-logs/</link><pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate><guid>https://huawei.github.io/css-docs/en/v4.11.0/common-o-m-operations/collecting-information/viewing-huawei-csi-logs/</guid><description>&lt;h2 id="en-us_topic_0000001191906803_section5326743451">Viewing Logs of the huawei-csi-controller Service&lt;/h2>
&lt;ol>
&lt;li>
&lt;p>Run the following command to obtain the node where huawei-csi-controller is located.&lt;/p>
&lt;div class="highlight">&lt;pre tabindex="0" style="color:#4c4f69;background-color:#eff1f5;-moz-tab-size:4;-o-tab-size:4;tab-size:4;">&lt;code class="language-fallback" data-lang="fallback">&lt;span style="display:flex;">&lt;span>kubectl get pod -A -o wide | grep huawei
&lt;/span>&lt;/span>&lt;/code>&lt;/pre>&lt;/div>&lt;p>The following is an example of the command output, where &lt;strong>IP&lt;/strong> indicates the node IP address and &lt;strong>NODE&lt;/strong> indicates the node name.&lt;/p>
&lt;div class="highlight">&lt;pre tabindex="0" style="color:#4c4f69;background-color:#eff1f5;-moz-tab-size:4;-o-tab-size:4;tab-size:4;">&lt;code class="language-fallback" data-lang="fallback">&lt;span style="display:flex;">&lt;span>NAME READY STATUS RESTARTS AGE IP NODE NOMINATED NODE READINESS GATES
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>huawei-csi-controller-695b84b4d8-tg64l 9/9 Running 0 14s &amp;lt;host1-ip&amp;gt; &amp;lt;host1-name&amp;gt; &amp;lt;none&amp;gt; &amp;lt;none&amp;gt;
&lt;/span>&lt;/span>&lt;/code>&lt;/pre>&lt;/div>&lt;/li>
&lt;li>
&lt;p>Use a remote access tool, such as PuTTY, to log in to the node where the huawei-csi-controller service resides in the Kubernetes cluster through the management IP address.&lt;/p></description></item><item><title>Collecting Logs</title><link>https://huawei.github.io/css-docs/en/v4.11.0/common-o-m-operations/collecting-information/collecting-logs/</link><pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate><guid>https://huawei.github.io/css-docs/en/v4.11.0/common-o-m-operations/collecting-information/collecting-logs/</guid><description>&lt;h2 id="section298992810393">Performing Check Before Collection&lt;/h2>
&lt;ol>
&lt;li>
&lt;p>Use a remote access tool, such as PuTTY, to log in to the node where the oceanctl tool is installed in the Kubernetes cluster through the management IP address.&lt;/p>
&lt;/li>
&lt;li>
&lt;p>Run the following command. The displayed version is &lt;strong>v4.11.0&lt;/strong>.&lt;/p>
&lt;div class="highlight">&lt;pre tabindex="0" style="color:#4c4f69;background-color:#eff1f5;-moz-tab-size:4;-o-tab-size:4;tab-size:4;">&lt;code class="language-fallback" data-lang="fallback">&lt;span style="display:flex;">&lt;span>oceanctl version
&lt;/span>&lt;/span>&lt;/code>&lt;/pre>&lt;/div>&lt;p>The following is an example of the command output.&lt;/p>
&lt;div class="highlight">&lt;pre tabindex="0" style="color:#4c4f69;background-color:#eff1f5;-moz-tab-size:4;-o-tab-size:4;tab-size:4;">&lt;code class="language-yaml" data-lang="yaml">&lt;span style="display:flex;">&lt;span>&lt;span style="color:#8839ef">Oceanctl Version&lt;/span>: v4.11.0
&lt;/span>&lt;/span>&lt;/code>&lt;/pre>&lt;/div>&lt;/li>
&lt;li>
&lt;p>Run the &lt;strong>oceanctl collect logs &amp;ndash;help&lt;/strong> command. The following information is displayed.&lt;/p>
&lt;div class="highlight">&lt;pre tabindex="0" style="color:#4c4f69;background-color:#eff1f5;-moz-tab-size:4;-o-tab-size:4;tab-size:4;">&lt;code class="language-gdscript3" data-lang="gdscript3">&lt;span style="display:flex;">&lt;span>&lt;span style="color:#04a5e5;font-weight:bold">$&lt;/span> oceanctl collect logs &lt;span style="color:#04a5e5;font-weight:bold">--&lt;/span>help
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>Collect logs of one &lt;span style="color:#04a5e5;font-weight:bold">or&lt;/span> more nodes &lt;span style="color:#04a5e5;font-weight:bold">in&lt;/span> specified namespace &lt;span style="color:#04a5e5;font-weight:bold">in&lt;/span> Kubernetes
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>Usage:
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span> oceanctl collect logs [flags]
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>Examples:
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span> &lt;span style="color:#9ca0b0;font-style:italic"># Collect logs of all nodes in specified namespace&lt;/span>
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span> oceanctl collect logs &lt;span style="color:#04a5e5;font-weight:bold">-&lt;/span>n &lt;span style="color:#04a5e5;font-weight:bold">&amp;lt;&lt;/span>namespace&lt;span style="color:#04a5e5;font-weight:bold">&amp;gt;&lt;/span>
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span> &lt;span style="color:#9ca0b0;font-style:italic"># Collect logs of specified node in specified namespace&lt;/span>
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span> oceanctl collect logs &lt;span style="color:#04a5e5;font-weight:bold">-&lt;/span>n &lt;span style="color:#04a5e5;font-weight:bold">&amp;lt;&lt;/span>namespace&lt;span style="color:#04a5e5;font-weight:bold">&amp;gt;&lt;/span> &lt;span style="color:#04a5e5;font-weight:bold">-&lt;/span>N &lt;span style="color:#04a5e5;font-weight:bold">&amp;lt;&lt;/span>node&lt;span style="color:#04a5e5;font-weight:bold">&amp;gt;&lt;/span>
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span> &lt;span style="color:#9ca0b0;font-style:italic"># Collect logs of all nodes in specified namespace&lt;/span>
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span> oceanctl collect logs &lt;span style="color:#04a5e5;font-weight:bold">-&lt;/span>n &lt;span style="color:#04a5e5;font-weight:bold">&amp;lt;&lt;/span>namespace&lt;span style="color:#04a5e5;font-weight:bold">&amp;gt;&lt;/span> &lt;span style="color:#04a5e5;font-weight:bold">-&lt;/span>a
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span> &lt;span style="color:#9ca0b0;font-style:italic"># Collect logs of all nodes in specified namespace with a maximum of 50 nodes collected at the same time&lt;/span>
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span> oceanctl collect logs &lt;span style="color:#04a5e5;font-weight:bold">-&lt;/span>n &lt;span style="color:#04a5e5;font-weight:bold">&amp;lt;&lt;/span>namespace&lt;span style="color:#04a5e5;font-weight:bold">&amp;gt;&lt;/span> &lt;span style="color:#04a5e5;font-weight:bold">-&lt;/span>a &lt;span style="color:#04a5e5;font-weight:bold">--&lt;/span>threads&lt;span style="color:#04a5e5;font-weight:bold">-&lt;/span>&lt;span style="color:#04a5e5">max&lt;/span>&lt;span style="color:#04a5e5;font-weight:bold">=&lt;/span>&lt;span style="color:#fe640b">50&lt;/span>
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span> &lt;span style="color:#9ca0b0;font-style:italic"># Collect logs of specified node in specified namespace&lt;/span>
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span> oceanctl collect logs &lt;span style="color:#04a5e5;font-weight:bold">-&lt;/span>n &lt;span style="color:#04a5e5;font-weight:bold">&amp;lt;&lt;/span>namespace&lt;span style="color:#04a5e5;font-weight:bold">&amp;gt;&lt;/span> &lt;span style="color:#04a5e5;font-weight:bold">-&lt;/span>N &lt;span style="color:#04a5e5;font-weight:bold">&amp;lt;&lt;/span>node&lt;span style="color:#04a5e5;font-weight:bold">&amp;gt;&lt;/span> &lt;span style="color:#04a5e5;font-weight:bold">-&lt;/span>a
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>Flags:
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span> &lt;span style="color:#04a5e5;font-weight:bold">-&lt;/span>a, &lt;span style="color:#04a5e5;font-weight:bold">--&lt;/span>all Collect all nodes messages
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span> &lt;span style="color:#04a5e5;font-weight:bold">-&lt;/span>h, &lt;span style="color:#04a5e5;font-weight:bold">--&lt;/span>help help &lt;span style="color:#8839ef">for&lt;/span> logs
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span> &lt;span style="color:#04a5e5;font-weight:bold">-&lt;/span>n, &lt;span style="color:#04a5e5;font-weight:bold">--&lt;/span>namespace string namespace of resources
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span> &lt;span style="color:#04a5e5;font-weight:bold">-&lt;/span>N, &lt;span style="color:#04a5e5;font-weight:bold">--&lt;/span>nodename string Specify the node &lt;span style="color:#8839ef">for&lt;/span> which information is to be collected&lt;span style="color:#04a5e5;font-weight:bold">.&lt;/span>
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span> &lt;span style="color:#04a5e5;font-weight:bold">--&lt;/span>threads&lt;span style="color:#04a5e5;font-weight:bold">-&lt;/span>&lt;span style="color:#04a5e5">max&lt;/span> &lt;span style="color:#fe640b">int&lt;/span> set maximum number[&lt;span style="color:#fe640b">1&lt;/span>&lt;span style="color:#04a5e5;font-weight:bold">~&lt;/span>&lt;span style="color:#fe640b">1000&lt;/span>] of threads &lt;span style="color:#8839ef">for&lt;/span> nodes to be collected&lt;span style="color:#04a5e5;font-weight:bold">.&lt;/span> (default &lt;span style="color:#fe640b">50&lt;/span>)
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>Global Flags:
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span> &lt;span style="color:#04a5e5;font-weight:bold">--&lt;/span>&lt;span style="color:#04a5e5">log&lt;/span>&lt;span style="color:#04a5e5;font-weight:bold">-&lt;/span>dir string Specify the directory &lt;span style="color:#8839ef">for&lt;/span> printing &lt;span style="color:#04a5e5">log&lt;/span> files&lt;span style="color:#04a5e5;font-weight:bold">.&lt;/span> (default &lt;span style="color:#40a02b">&amp;#34;/var/log/huawei&amp;#34;&lt;/span>)
&lt;/span>&lt;/span>&lt;/code>&lt;/pre>&lt;/div>&lt;/li>
&lt;li>
&lt;p>Run the following command to check whether a Pod is started properly. In the command, &lt;em>huawei-csi&lt;/em> indicates the namespace for installing CSI.&lt;/p></description></item></channel></rss>