はじめに
IOS-XR 製品のソフトウェアに含まれる Third Party 製のベースパッケージは SMU のインストールなどで置き換わり inactive 状態になったとしても install remove inactive all 等のコマンドで削除できません。
これは仕様動作であり、本記事では以下に具体的な事例を紹介します。
Third Party 製のベースパッケージを削除しようとした場合の事例
show intall log を確認すると以下のように表示されます。
2024-09-27 18:42:07 Install operation XX started by user1:
install remove inactive all
2024-09-27 18:42:08 Action 1: install remove action started
2024-09-27 18:42:08 Install operation will continue in the background
2024-09-27 18:42:08 Package list:
2024-09-27 18:42:08 libpci3-3.6.4-r0.host.x86_64
2024-09-27 18:42:08 libpci3-3.6.4-r0.admin.x86_64
2024-09-27 18:42:09 libpci3-3.6.4-r0.xr.x86_64
2024-09-27 18:42:12 Following packages are skipped:
2024-09-27 18:42:12 libpci3-3.6.4-r0.host.x86_64
2024-09-27 18:42:12 libpci3-3.6.4-r0.admin.x86_64
2024-09-27 18:42:12 libpci3-3.6.4-r0.xr.x86_64
2024-09-27 18:42:12 Warning: Found some packages which are either base image or committed packages and will be skipped
2024-09-27 18:42:12 Action 1: install remove action completed successfully
2024-09-27 18:42:13 Install operation XX finished successfully
2024-09-27 18:42:13 Ending operation XX
ここでは install remove inactive all を実行し、
libpci3-3.6.4-r0.host.x86_64
libpci3-3.6.4-r0.admin.x86_64
libpci3-3.6.4-r0.xr.x86_64
の 3 つの inactive package が検出されたにもかかわらず、赤字のログが出力され、 remove がスキップされたことを示しています。
赤字のログからベースパッケージもしくはコミットされたパッケージである場合は remove はスキップされます。
今回のケースはベースパッケージであるため、 remove がスキップされました。
このケースの 3 つのパッケージは NCS5500 シリーズ の 7.7.21 CSCwe49269 の SMU をインストールした場合などに置き換わります。
ここで NCS5500 シリーズ の 7.7.21 CSCwe49269 の SMU の readme を確認すると以下のように記載されています。
# Last Modified Date: 11/29/23-08:47:07
################################################################################
#
# Readme for SMU ncs5500-sysadmin-7.7.21.CSCwe49269
#
# Copyright (c) 2023 by Cisco Systems, Inc.
# All rights reserved.
#
################################################################################
Date Generated: Wed Nov 29 08:27:41 PST 2023
Owner: demariya
Name: ncs5500-sysadmin-7.7.21.CSCwe49269
Package Type: EXROS
DDTS: CSCwe49269
Description: SF-D RP2: FCs removed after continuous graceful FC reloads
Pre-requisites:
Supercedes:
Restart Type: reboot
MD5: 9318b5d8d2bc294d44ec2e32b042ecfe
File Size Sum: 199552
**********************************************************
CONSTITUENT SMU DETAILS:
SMU Contents:
Thirdparty OS RPMS: x86_64
VMTYPE: xr
Smu rpms:
libpci3-3.6.4.p1-r0.r7721.CSCwe49269.xr.x86_64.rpm 3314456988ac741efadafbb4acd57255
Base rpms:
libpci3-3.6.4-r0.xr.x86_64.rpm 35a2d49aa9e5a83ce78f3e96c8c14071
VMTYPE: calvados
Smu rpms:
libpci3-3.6.4.p1-r0.r7721.CSCwe49269.admin.x86_64.rpm c2750fbff73300dd1ce8d3b6b7751126
Base rpms:
libpci3-3.6.4-r0.admin.x86_64.rpm fc11ae521826906c701f34f188e15fdc
VMTYPE: host
Smu rpms:
libpci3-3.6.4.p1-r0.r7721.CSCwe49269.host.x86_64.rpm 7b935291c89ab96a4d542f982cad8a77
Base rpms:
libpci3-3.6.4-r0.host.x86_64.rpm 2230ed09b95e5af6c6310ae63626b503
SMU Install Questions:
----------------------
1- Console/error messages during SMU activation/deactivation? Please specify the safe messages to ignore
NA
2- Are there any side effects to this SMU that require workaround? (for example AAA SMU requiring exit out of current session and reconnecting after install). If so what?
NA
SMU Caveats:
NA
赤字の部分から、
libpci3-3.6.4-r0.host.x86_64
libpci3-3.6.4-r0.admin.x86_64
libpci3-3.6.4-r0.xr.x86_64
上記の 3 つのパッケージが Third Party 製のベースパッケージであることが確認できるため、 install remove inactive all で削除できない場合でも問題が無いことが確認できます。