cloud-barista / cb-dragonfly

Cloud-Barista Integrated Monitoring Framework
Apache License 2.0
8 stars 11 forks source link

AWS, Ubuntu 18.04 VM에 대해 "failed to change telegraf permission" 에러 발생 #138

Closed jihoon-seo closed 1 year ago

jihoon-seo commented 1 year ago

What happened :

[AWS VM 정보]

[Agent install request body] POST http://localhost:9090/dragonfly/agent

{
  "ns_id": "ns01",
  "mcis_id": "jhseo",
  "vm_id": "aws-us-east-2-1",
  "public_ip": "18.219.61.250",
  "port": "22",
  "user_name": "cb-user",
  "ssh_key": "-----BEGIN RSA PRIVATE KEY-----\n...\n-----END RSA PRIVATE KEY-----",
  "cspType": "aws",
  "service_type": "vm"
}

[Agent install response body]

{
  "message": "failed to change telegraf permission, err=Process exited with status 1"
}

What you expected to happen :

How to reproduce it (as minimally and precisely as possible) :

Anything else we need to know? :

Environment

Proposed solution :

Any other context : (CC @powerkimhub : "GusetOS 확장 지원 검증 시험" 중 발생한 이슈입니다.)

Jin-Whee-Park commented 1 year ago

안녕하세요. @jihoon-seo @powerkimhub 문의 주신 환경 기준으로 테스트 결과 공유드립니다.

[AWS VM 정보]

[CB-DF 정보]

[테스트 결과]

[관련 이미지]

  1. Spider Admin 웹 기반 VM 생성 스크린샷, 2022-11-08 09-56-21

  2. Postman 기반 Agent 설치 스크린샷, 2022-11-08 09-56-02

  3. DF 모니터링 메트릭 수집 로그 스크린샷, 2022-11-08 09-56-13

  4. AWS VM 배포 현황 스크린샷, 2022-11-08 09-56-36

  5. Chronograf 기반 수집 결과 스크린샷, 2022-11-08 10-02-35

jihoon-seo commented 1 year ago

@Jin-Whee-Park 님 및 @seokho-son 님 환경에서는 재현이 안 되는 것으로 보아, 아무래도 제 환경 (DF 실행 방법 등) 이슈일 가능성이 있을 것 같습니다. 😥 이 이슈는 제가 close 처리 하도록 하겠습니다.. ㅎㅎ

Edit: @seokho-son 께서 동일 에러를 겪으셨군요.. (#149)