「Connectrix B-Series:スイッチにライセンス キーを追加できず、「ライセンス変更のコミットに失敗しました」というエラーが表示される

Summary: 「licenseadd」を使用してMX610sスイッチにライセンスを追加できない 」コマンドを使用します。コマンド「license install -k」と「license -install」 」はFOSバージョン8.1.xではサポートされていません。

This article applies to This article does not apply to This article is not tied to any specific product. Not all product versions are identified in this article.

Symptoms

Error:
Switch-A:admin licenseadd "W4ZfEaJftZaSJAJJQRff37KSKHRgJrFrEFPfQFH*****"
adding license-key [W4ZfEaJftZaSJAJJQRff37KSKHRgJrFrEFPfQFH*****]
failed to commit license changes

Cause

次のエラーにより、Supportsaveとライセンスのインストールの実行に失敗します。
 "The switch does not have enough disk space to run full supportsave. Available Free disk space is 0 MB."
 
Switch-A:admin> supportsave
This command collects RASLOG, TRACE, supportShow, core file, FFDC data
and then transfer them to a FTP/SCP/SFTP server or a USB device.
This operation can take several minutes.
OK to proceed? (yes, y, no, n): [no] yes
Host IP or Host Name: 10.82.50.27
User Name: username
Password: ******
Protocol (ftp | scp | sftp): sftp
Remote Directory: /home/inti/brocade
Do you want to continue with CRA (Y/N) [N]:
The switch does not have enough disk space to run full supportsave. Available Free disk space is 0 MB.
Please run the following commands to release disk space and retry full supportsave
1. "supportsave -k" to transfer core files to remote location
2. "supportsave -R" to remove the core files in the switch
SupportSave failed.
次のコマンドから削除するコア ファイルを探します。
Switch-A:admin> supportsave -R
No core or FFDC data files found!
SupportSave completed.

Resolution

この問題に対処するには、いくつかの方法があります。
  • 修正1:
  1. 次のコマンドを実行して、rootアカウントが有効になっているかどうかを確認します。
 userconfig --show root
  1. rootアカウントを使用して、 /var/log/esmd_lib.log より多くのフラッシュ メモリーを使用している可能性のあるファイル
  1. 次のコマンドの出力をrootから収集します。
root> ls lR /var
この出力には、次のように表示されます。
/var/log:

-rw-r--r--   1 root     root      3113586 Oct 14 11:16 esmd_lib.log
-rw-r--r--   1 root     admin    14065977 Oct 13 05:17 esmd_lib.log.1
-rw-r--r--   1 root     admin    82593068 Oct  7 11:04 esmd_lib.log.2
-rw-r--r--   1 root     root     329366414 Sep  2 13:41 esmd_lib.log.3
  1. rootから次のコマンドを発行して、ファイルを削除します。
rm /var/log/esmd_lib.log
rm /var/log/esmd_lib.log.1
rm /var/log/esmd_lib.log.2
これにより、フラッシュメモリがクリーンアップされ、 supportsave 実行されます。
  1. 収集 supportsave を使用してライセンスをインストールします。 licenseadd <key> コマンドを実行します。
  2. rootアカウントが有効になっている場合は、次のコマンドを実行して、一時ファイルおよび不要なファームウェア ファイルを削除します。
df -k 
 
rootアカウントが有効になっていない場合は、メモリーの問題が原因で有効にできない場合があります。rootアカウントが無効になっている場合は、修正2に従ってください。
Switch_A:admin> userconfig --show root
Account name: root*
Description: root
Enabled: No
Password Last Change Date: Unknown (UTC)
Password Expiration Date: Not Applicable (UTC)
Locked: No
Role: root
AD membership: 0-255
Home AD: 0
Day Time Access: N/A
Switch_A:admin> userconfig --change root -e yes
sqlite3_exec error: 10 disk I/O error
Failed to change user account attributes
  • 修正2:
  1. 構成のバックアップを取り、 Hareboot メンテナンス ウィンドウでフラッシュ メモリーの問題をクリアします。
  2. 演奏後 Hareboot収集 supportsave ログを出力し、次を使用してライセンスをインストールしてみます。 licenseadd <key> コマンドを使用できます。
  • 修正3:
修正2でフラッシュ メモリーのクリアやrootアカウントの有効化に失敗した場合は、スイッチを交換する前に、スイッチのベンダーにサポートを依頼してください。

Additional Information

Affected Products

Dell EMC Networking MX-G610s
Article Properties
Article Number: 000223916
Article Type: Solution
Last Modified: 10 May 2024
Version:  2
Find answers to your questions from other Dell users
Support Services
Check if your device is covered by Support Services.