VxRail: "java.lang.NullPointerException: null" 오류와 함께 업그레이드 실패

Summary: VxRail이 /etc/hosts 파일의 항목으로 인해 "java.lang.NullPointerException: null" 오류와 함께 업그레이드합니다.

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

Lcm-web.log에는 스크립트 checkCertNeedUpdate.sh 에 대한 시간 초과가 있습니다.
 

Lcm-web.log

2023-01-09 09:36:05,236 ERROR [LCM] [lcm-core-0] c.v.c.c.ScriptServiceImpl [ScriptServiceImpl.java:484] Script command error (/etc/vmware-marvin/scripts/lcm/s
cripts/checkCertNeedUpdate.sh): [/bin/sh, /usr/lib/vmware-marvin/marvind/temp/12593456204235591740.tmp, ]
2023-01-09 09:36:05,237 WARN [LCM] [lcm-core-0] c.v.c.c.ScriptServiceImpl [ScriptServiceImpl.java:485] [/etc/vmware-marvin/scripts/lcm/scripts/checkCertNeedUpdate.sh]: Timed out, null return code.
2023-01-09 09:36:05,237 INFO [LCM] [lcm-core-0] c.v.c.c.ScriptServiceImpl [ScriptServiceImpl.java:486] [/etc/vmware-marvin/scripts/lcm/scripts/checkCertNeedUpdate.sh@localhost]: <stdout>


2023-09-14 09:56:12,247 WARN [SURROGATE] [lcm-core-0] c.v.c.c.ScriptServiceImpl [ScriptServiceImpl.java:485] [/etc/vmware-marvin/scripts/lcm/scripts/checkVxmCertExpiredAndDNS.sh]: Timed out
, null return code.
2023-09-14 09:56:12,247 INFO [SURROGATE] [lcm-core-0] c.v.c.c.ScriptServiceImpl [ScriptServiceImpl.java:486] [/etc/vmware-marvin/scripts/lcm/scripts/checkVxmCertExpiredAndDNS.sh@localhost]:
 <stdout>
2023-09-14 09:56:12,248 ERROR [SURROGATE] [lcm-core-0] c.v.l.c.c.p.VxRailManagerCertVerifyPrechecker [VxRailManagerCertVerifyPrechecker.java:112] Failed to verify if the certificate expired
 or expired soon.
2023-09-14 09:56:12,249 INFO [SURROGATE] [lcm-core-0] c.e.m.m.e.DynamicReloadableResourceBundleMessageSource [DynamicReloadableResourceBundleMessageSource.java:17] Try to translate message:
 Pre-checking failure: Failed to verify the VxRail Manager certificate. Contact Support to fix it.
2023-09-14 09:56:12,249 INFO [SURROGATE] [lcm-core-0] c.e.m.m.e.DynamicReloadableResourceBundleMessageSource [DynamicReloadableResourceBundleMessageSource.java:19] Succeeded to translate me
ssage: Pre-checking failure: Failed to verify the VxRail Manager certificate. Contact Support to fix it. -> Pre-checking failure: Failed to verify the VxRail Manager certificate. Contact Su
pport to fix it.
2023-09-14 09:56:12,249 ERROR [SURROGATE] [lcm-core-0] c.v.l.s.LcmCheckHelperService [LcmCheckHelperService.java:91] Pre-checking failure: Failed to verify the VxRail Manager certificate. C
ontact Support to fix it.
com.vce.lcm.exception.LCMException: Pre-checking failure: Failed to verify the VxRail Manager certificate. Contact Support to fix it.


스크립트 checkCertNeedUpdate.sh/checkVxmCertExpiredAndDNS.sh 수동으로 실행하면 5분 이상 걸립니다.
 

Cause

/etc/hosts 파일에는 VxRail Manager의 FQDN이 있고 ::1 스크립트에서 이러한 지연을 유발하는 항목입니다.

Resolution

이 문제를 해결하려면 다음 단계를 수행하십시오. 

  • 호스트 파일 백업 수행 cp /etc/hosts /etc/hosts.bak.
  • VI를 사용하여 VxRail Manager의 FQDN을 제거하고 ::1 에서 /etc/hosts 파일에 정의된 대로 사용하는 것이 중요합니다.
  • 스크립트를 다시 실행하면 즉시 출력됩니다.
  • 업그레이드를 다시 시도합니다.

수정하기 전의 호스트 파일:

vxrail:/var/log/mystic # cat /etc/hosts
# VAMI_EDIT_BEGIN
# Generated by Studio VAMI service. Do not modify manually.
127.0.0.1  vxrail.examplevxrail.com vxrail localhost
::1  vxrail.examplevxrail.com vxrail localhost ipv6-localhost ipv6-loopback
# VAMI_EDIT_END


수정 후 호스트 파일:

vxrail:/var/log/mystic # cat /etc/hosts
# VAMI_EDIT_BEGIN
# Generated by Studio VAMI service. Do not modify manually.
127.0.0.1 vxrail localhost
vxrail.examplevxrail.com vxrail localhost ipv6-localhost ipv6-loopback
# VAMI_EDIT_END

Affected Products

VMWare Cloud on Dell EMC VxRail E560F, VMWare Cloud on Dell EMC VxRail E560N, VxRail Appliance Family, VxRail Appliance Series, VxRail E560 VCF, VxRail E560F VCF, VxRail E560N VCF, VxRail G560 VCF, VxRail G560F VCF, VxRail P570 VCF, VxRail P570F VCF , VxRail P580N VCF, VxRail S570 VCF, VxRail Software, VxRail V570 VCF, VxRail V570F VCF ...
Article Properties
Article Number: 000207426
Article Type: Solution
Last Modified: 15 Sept 2025
Version:  3
Find answers to your questions from other Dell users
Support Services
Check if your device is covered by Support Services.