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

[Tencent:Disk] Search Failed error during CreateDisk() #1385

Open
powerkimhub opened this issue Nov 15, 2024 · 2 comments
Open

[Tencent:Disk] Search Failed error during CreateDisk() #1385

powerkimhub opened this issue Nov 15, 2024 · 2 comments
Assignees
Labels
bug Something isn't working CloudDriver

Comments

@powerkimhub
Copy link
Member

  • DiskHandler:CreateDisk() 수행 중에 다음 오류가 발생합니다.

    [CB-SPIDER].[ERROR]: 2024-11-14 21:31:58 DiskHandler.go:135, github.com/cloud-barista/cb-spider/cloud-control-manager/cloud-driver/drivers/tencent/resources.(*TencentDiskHandler).GetDisk() - search failed
    [HISCALL].[129.254.175.98] 2024-11-14 21:31:58 (Thursday) github.com/cloud-barista/cb-spider/cloud-control-manager/cloud-driver/drivers/tencent/resources.LoggingError():68 - "CloudOS" : "TENCENT", "RegionZone" : "ap-beijing", "ResourceType" : "DISK", "ResourceName" : "", "CloudOSAPI" : "GetDisk()", "ElapsedTime" : "0.4616", "ErrorMSG" : "search failed"
    [CB-SPIDER].[ERROR]: 2024-11-14 21:31:58 DiskHandler.go:93, github.com/cloud-barista/cb-spider/cloud-control-manager/cloud-driver/drivers/tencent/resources.(*TencentDiskHandler).CreateDisk() - search failed
    [CB-SPIDER].[ERROR]: 2024-11-14 21:31:58 DiskManager.go:223, github.com/cloud-barista/cb-spider/api-runtime/common-runtime.CreateDisk() - search failed
    
  • Create가 비동기 호출이어서 발생하는 문제로 보입니다.

    • CSP에는 Disk가 생성되고, Spider에는 오류 처리되어 Meta 정보에 포함이 되지 않는 상황
    • 여러번 해봤는데 동일하게 에러 발생했습니다.
  • 현재는 임시 방편으로 다음 commit처럼 Sleep Patch해둔 상태입니다.

  • Sleep 외에 비동기 호출에 대한 결과를 체크할 수 있는 Tencent API 등 안정적인 방법으로 점검 및 개선 부탁 드립니다.

@powerkimhub powerkimhub added bug Something isn't working CloudDriver labels Nov 15, 2024
@MZC-CSC
Copy link
Contributor

MZC-CSC commented Nov 25, 2024

@powerkimhub
서울리전에서 SSD를 다양하게 만들었을 때 해당 현상이 발생하지 않았습니다.
우선은 비동기로 인한 문제 발생가능성은 있어서 로직을 보완하고 있습니다.

실패한 Disk spec이 어떤것일까요?

@powerkimhub
Copy link
Member Author

@MZC-CSC

  • Disk Type은 특별히 설정하지 않았으며,
  • 'default' 설정으로 생성 요청되었을 것입니다.

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

No branches or pull requests

2 participants