Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Closed
jihoon-seo opened this issue Oct 24, 2022 · 2 comments
Labels
bug Something isn't working

Comments

@jihoon-seo
Copy link
Member

jihoon-seo commented Oct 24, 2022

What happened
:

[AWS VM 정보]

  • Region: Ohio (us-east-2)
  • Image: ami-01e7ca2ef94a0ae86 (amazon/ubuntu/images/hvm-ssd/ubuntu-bionic-18.04-amd64-server-20210224)
  • Spec: t2.micro

[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
Copy link
Member

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

[AWS VM 정보]

  • Region: Ohio (us-east-2)
  • Image: ami-01e7ca2ef94a0ae86 (amazon/ubuntu/images/hvm-ssd/ubuntu-bionic-18.04-amd64-server-20210224)
  • Spec: t2.micro

[CB-DF 정보]

  • 구동 환경: docker-compose
  • 버전 정보: 0.6.9

[테스트 결과]

  • 에이전트 설치: 정상
  • PUSH 모니터링 메트릭 수집: 정상

[관련 이미지]

  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
Copy link
Member Author

jihoon-seo commented Nov 24, 2022

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

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants