DPC: Docker 포트 구성 문제로 인한 DPC IAM 서비스 실패 해결

Summary: 이 기술 자료 문서에서는 DPC dp-iam 서비스가 시작되지 않는 문제에 대한 솔루션을 제공합니다. docker-compose.yml 파일의 포트 구성 문제 때문인 경우 근본 원인은 콜론이 너무 많은 잘못된 IPv6 주소로 컨테이너 빌드 중에 잘못된 해석을 일으키는 것입니다. 해결 방법은 docker-compose.yml 파일을 편집하여 IPv6 주소를 대괄호로 묶고 docker compose 서비스를 다시 시작하는 것입니다. ...

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

  • DPC의 dp-iam 서비스가 중단되었습니다.
  • 서비스를 시작하려고 하면 실패합니다.
  • /var/log/dpc/iam/dp_iam.log에 다음 오류가 표시됩니다.
error decoding 'ports': Invalid ip address ::1: address ::1:: too many colons in address
  • 위의 오류는 /var/log/dpc/install/intstall.log에서도 나타날 수 있습니다. 
이 문제는 버전 19.10 이상에서 확인할 수 있습니다.

Cause

이 문제는 docker-compose.yml 파일의 구성 문제로 인해 발생합니다. IPv6 주소에 "::"가 있으며, 이로 인해 시스템이 컨테이너 빌드에 대한 포트를 잘못 해석합니다.

/var/log/dpc/iam/dp_iam.log 파일의 오류 메시지는 시스템이 IPv6 주소를 올바르게 구문 분석할 수 없음을 나타냅니다.

Resolution

참고: 이 문제에 대한 수정 사항이 goidpa 툴에 추가되었습니다. 아래 KB에 따라 goidpa를 설치합니다.
그런 다음 ACM에서 다음 명령을 실행합니다.
./goidpa dpc yml-port-fix

 

참고: 문제가 지속되면 Dell 지원에 문의하여 추가 지원을 받으십시오.


 

Additional Information

goidpa 자동화 프로세스가 실패하는 경우 이 문제에 대한 수동 단계는 다음과 같습니다.

  • PUTTY/SSH를 사용하여 admin 및 su -를 루트 사용자로 사용하여 DPC UI에 로그인합니다.
  • 다음을 사용하여 docker compose 파일이 있는 디렉토리로 이동합니다.
cd /usr/local/dpc/lib/iam/bin
  • 다음 명령을 사용하여 "docker-compose.yml" 파일을 편집합니다.
vi docker-compose.yml
  • services 섹션의 iam-provider 섹션에서 포트를 다음과 같이 편집합니다.
ports:
            - "127.0.0.1:8143:8443"
            - "::1:8143:8443"

Change this by putting square brackets around the IPv6 address, "::1" as follows:

ports:
            - "127.0.0.1:8143:8443"
            - "[::1]:8143:8443"
  • services 섹션의 iam-service 섹션에서 포트를 다음과 같이 편집합니다.
ports:
            - "127.0.0.1:8870:8870"
            - "::1:8870:8870"

Change this by putting square brackets around the IPv6 address, "::1" as follows:

ports:
            - "127.0.0.1:8870:8870"
            - "[::1]:8870:8870"
  • "ESC" 키를 클릭한 후 다음을 입력하여 vi 편집기를 종료합니다.
:x
  • 다음 명령을 사용하여 docker compose 서비스를 재시작합니다.
docker-compose down
docker-compose up -d
  •  다음 명령을 사용하여 msm-elg 서비스를 재시작합니다.
service msm-elg restart

 

Affected Products

Data Protection Central
Article Properties
Article Number: 000228776
Article Type: Solution
Last Modified: 24 Apr 2025
Version:  4
Find answers to your questions from other Dell users
Support Services
Check if your device is covered by Support Services.