지식

ESXi Keyerror

깜자왕 2024. 2. 20. 16:45
반응형

참조되고 있는 tools light vib 다운그레이드 smx vib 제거 (vib 다운그레이드 해야 smx vib 제거 가능)

vib 제거 다시 원래 버전으로 원복 (업그레이드) -> history 검토 결과 보안취약점 때문에 tools 업그레이드 한것으로 확인 (2022.10.12)

 

Source => [tmp_vib]]

tools-light                    12.0.0.19345655-20036586   (호스트가 참조하고 있던 버전)

 

Target => [01_ISO]

tools-light                    12.1.0.20219665-20295239   (현재 설치되어 있는 버전)

 

 

전에 작업했던 명령어 확인 -> cat /scratch/log/shell.log | more

 

 

[에러내용]

[root@ESXi01:~] esxcli software component list

 [KeyError]

 'VMware_locker_tools-light_12.0.0.19345655-20036586'

 Please refer to the log file for more details.

 

[root@ESXi03:~] esxcli software vib remove -n smx-provider

 [AssertionError]

 VIB objects not found for VIB IDs VMware_locker_tools-light_12.0.0.19345655-20036586 listed in the profile

 Please refer to the log file for more details.

 

 

[작업내용]

1) tools 파일 데이터스토어 업로드

2) 업그레이드 진행

#esxcli software vib list | grep -i tools -> 현재 버전 확인

#esxcli software vib update -d <이미지 절대경로>

#esxcli software vib list | grep -i tools -> 버전 확인

 

 

* 상기 작업은 재부팅 필요 없음